Function at 0x420f1f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
test edi, edi
je 0x420f3e
push 0
mov ecx, edi
mov byte [edi + 8], 1
call fcn.004212b9
lea ecx, [ebx + 0x64]
lea edx, [ebx + 0x54]
cmp edx, ecx
je 0x420f52
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
cmp ebx, ecx
je 0x420f60
mov eax, dword [ecx]
mov dword [ebx], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 4], eax
push ecx
lea esi, [ebx + 0x7c]
push dword [esi]
lea ecx, [ebx + 8]
mov dword [ebp - 8], esi
call fcn.00421395
mov ecx, dword [esi]
lea eax, [ebx + 0x18]
mov edx, dword [eax + 4]
mov edi, dword [eax]
mov dword [ebp - 4], edx
sub dword [ebp - 4], edi
sar dword [ebp - 4], 4
cmp ecx, dword [ebp - 4]
jae 0x420f94
shl ecx, 4
add ecx, edi
mov dword [eax + 4], ecx
jmp 0x420fd3
jbe 0x420fd6
mov eax, dword [eax + 8]
sub eax, edi
sar eax, 4
cmp ecx, eax
jbe 0x420fb0
push ecx
lea eax, [ebx + 0x18]
push ecx
mov ecx, eax
call fcn.00424c36
jmp 0x420fd3
sub ecx, dword [ebp - 4]
je 0x420fca
xor eax, eax
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
add edx, 0x10
sub ecx, 1
jne 0x420fb7
lea eax, [ebx + 0x18]
mov dword [eax + 4], edx
lea esi, [ebx + 0x7c]
mov dword [ebp - 8], esi
mov edi, dword [ebp + 8]
mov ecx, ebx
push dword [ebx + 0x6c]
test edi, edi
mov byte [ebx + 0x88], 0
mov dword [ebx + 0x8c], 0x989680
setne al
mov dword [ebx + 0x90], 0x3e8
mov byte [ebx + 0x79], al
mov byte [ebx + 0x78], 0
call fcn.00422323
test al, al
je 0x421168
test edi, edi
je 0x421166
push dword [esi]
mov ecx, edi
call fcn.004212b9
xor eax, eax
mov edx, eax
mov dword [ebp - 4], edx
cmp dword [esi], eax
jbe 0x4210cc
mov dword [ebp - 0xc], eax
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
xor eax, eax
mov esi, edx
and ecx, 0x1f
mov edx, dword [ebx + 0x2c]
inc eax
shr esi, 5
shl eax, cl
mov ecx, dword [ebp - 0xc]
test dword [edx + esi*4], eax
mov eax, dword [edi + 0xc]
je 0x42107f
mov byte [eax + ecx + 0x10], 1
mov edx, dword [ebx + 0x3c]
mov esi, dword [edi + 0xc]
add edx, dword [ebp + 8]
add esi, ecx
cmp esi, edx
je 0x421074
mov eax, dword [edx]
mov dword [esi], eax
mov eax, dword [edx + 4]
mov dword [esi + 4], eax
mov edx, dword [ebp + 8]
add edx, 8
add edx, dword [ebx + 0x3c]
jmp 0x42109a
mov byte [eax + ecx + 0x10], 0
lea edx, [ebx + 0x5c]
mov esi, dword [edi + 0xc]
add esi, ecx
cmp esi, edx
je 0x42109a
mov eax, dword [edx]
mov dword [esi], eax
mov eax, dword [edx + 4]
mov dword [esi + 4], eax
mov esi, dword [edi + 0xc]
add esi, 8
add esi, ecx
cmp esi, edx
je 0x4210b0
mov eax, dword [edx]
mov dword [esi], eax
mov eax, dword [edx + 4]
mov dword [esi + 4], eax
mov edx, dword [ebp - 4]
add ecx, 0x14
mov eax, dword [ebp - 8]
inc edx
add dword [ebp + 8], 0x10
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], ecx
cmp edx, dword [eax]
jb 0x421038
lea ecx, [ebx + 0x54]
cmp edi, ecx
je 0x4210dd
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
lea edx, [ebx + 0x54]
lea ecx, [edi + 0x18]
cmp ecx, edx
je 0x4210f1
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov esi, dword [edi + 0xc]
lea edx, [edi + 0x20]
cmp edx, esi
je 0x421105
mov eax, dword [esi]
mov dword [edx], eax
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
push edx
call fcn.0041d606
mov byte [edi + 0x28], al
lea esi, [edi + 0x2c]
mov ecx, dword [edi + 0xc]
add ecx, 8
cmp esi, ecx
je 0x421125
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
add ebx, 0x5c
lea edx, [edi + 0x34]
cmp edx, ebx
je 0x421139
mov eax, dword [ebx]
mov dword [edx], eax
mov eax, dword [ebx + 4]
mov dword [edx + 4], eax
push edx
mov ecx, esi
call fcn.0041d606
lea ecx, [edi + 0x40]
mov byte [edi + 0x3c], al
cmp ecx, ebx
je 0x421155
mov eax, dword [ebx]
mov dword [ecx], eax
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
add edi, 0x48
cmp edi, ebx
je 0x421166
mov ecx, dword [ebx]
mov dword [edi], ecx
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 8