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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x14]
push ecx
lea esi, [edi + 0x5c]
push esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ebx, dword [esi]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov esi, dword [esi + 0xc]
add ebx, dword [edi + 0x1c4]
add edx, dword [edi + 0x1c8]
sub ecx, dword [edi + 0x1cc]
sub esi, dword [edi + 0x1d0]
mov eax, dword [edi + 0x1bc]
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0x14], esi
test eax, eax
je 0x43102d
cmp dword [eax + 0x80], 0
je 0x43102d
cmp dword [eax + 0x218], 2
je 0x43102d
sub ecx, dword [eax + 0xcc]
mov dword [ebp + 0x10], ecx
mov eax, dword [edi + 0x1c0]
test eax, eax
je 0x431049
cmp dword [eax + 0x80], 0
je 0x431049
sub esi, dword [eax + 0xd0]
mov dword [ebp + 0x14], esi
mov eax, dword [edi + 0x1ac]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x431077
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
xor ecx, ecx
mov dword [eax + 0xc], esi
call fcn.0042f9e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor esi, esi
xor ecx, ecx
cmp eax, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], ecx
jg 0x431225
mov eax, dword [esp + 0x28]
dec eax
imul eax, dword [edi + 0x1dc]
add dword [esp + 0x14], eax
mov eax, dword [edi + 0x1bc]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
test eax, eax
je 0x4310c9
mov ecx, edx
sub ecx, dword [eax + 0x1ac]
mov dword [esp + 0x10], ecx
mov eax, dword [edi + 0x1c0]
test eax, eax
je 0x4310e0
mov ebx, dword [ebp + 8]
sub ebx, dword [eax + 0x1ac]
mov dword [esp + 0x18], ebx
xor esi, esi
cmp dword [esp + 0x1c], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
jle 0x4311f8
test esi, esi
jl 0x4312f6
cmp esi, dword [edi + 0x1ac]
jge 0x4312f6
mov ecx, dword [edi + 0x1a8]
mov ecx, dword [ecx + esi*4]
cmp dword [ecx + 0x80], 0
je 0x4311e6
mov edx, dword [ecx + 0x74]
mov esi, dword [ecx + 0x6c]
mov eax, dword [ecx + 0x70]
mov dword [esp + 0x48], edx
mov edx, dword [ecx + 0x78]
mov dword [esp + 0x4c], edx
mov edx, dword [ecx + 0xcc]
mov dword [esp + 0x20], edx
mov edx, dword [ecx + 0xd0]
mov dword [esp + 0x24], edx
lea edx, [esi + ebx]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x10]
add edx, eax
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x20]
add edx, esi
add edx, ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x44], eax
add eax, edx
add eax, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x3c], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x44]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x48]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x4c]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0x2c]
call eax
mov ecx, dword [edi + 0x1e0]
add ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x18]
add ecx, dword [esp + 0x20]
add ecx, esi
mov esi, dword [esp + 0x2c]
lea eax, [esi + 1]
cdq
idiv dword [edi + 0x1d8]
add ebx, ecx
mov dword [esp + 0x18], ebx
test edx, edx
jne 0x4311e6
mov edx, dword [edi + 0x1dc]
add edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x28]
add edx, dword [esp + 0x24]
mov dword [esp + 0x18], ebx
add edx, dword [esp + 0x44]
add dword [esp + 0x10], edx
inc esi
cmp esi, dword [esp + 0x1c]
mov dword [esp + 0x2c], esi
jl 0x4310f4
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x24]
call fcn.0042f9e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor esi, esi
cmp ecx, esi
jl 0x4312f6
cmp ecx, dword [edi + 0x1ac]
jge 0x4312f6
mov eax, dword [edi + 0x1a8]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0x80], 0
je 0x4312df
mov edx, dword [eax + 0x70]
mov ebx, dword [eax + 0x74]
mov ecx, dword [eax + 0x6c]
mov esi, dword [eax + 0xcc]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x78]
mov eax, dword [eax + 0xd0]
mov dword [esp + 0x4c], edx
mov edx, dword [edi + 0x1e0]
add ebx, edx
add ebx, ecx
mov ecx, dword [esp + 0x20]
add ebx, esi
add ecx, ebx
mov dword [esp + 0x20], ecx
sub ecx, edx
cmp dword [esp + 0x2c], ecx
jg 0x431291
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
add ecx, edx
add ecx, eax
cmp dword [esp + 0x10], ecx
jg 0x4312a7
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x18]
lea eax, [ecx + 1]
cdq
idiv dword [edi + 0x1d8]
test edx, edx
je 0x4312c2
mov eax, dword [esp + 0x1c]
dec eax
cmp ecx, eax
jne 0x4312d8
mov ecx, dword [esp + 0x10]
add dword [esp + 0x14], ecx
xor eax, eax
inc dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
inc ecx
cmp ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
jl 0x431223
mov ebx, dword [ebp + 8]
jmp 0x43109b
call fcn.00436686
int3