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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
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 + 0x5c], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x14]
push ecx
lea esi, [edi + 0x5c]
push esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0xc]
add eax, dword [edi + 0x1c4]
add ebx, dword [edi + 0x1c8]
sub edx, dword [edi + 0x1cc]
sub ecx, dword [edi + 0x1d0]
mov esi, dword [edi + 0x1bc]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x14], ecx
test esi, esi
je 0x42f6b1
cmp dword [esi + 0x80], 0
je 0x42f6b1
cmp dword [esi + 0x218], 2
je 0x42f6b1
sub edx, dword [esi + 0xcc]
mov dword [ebp + 0x10], edx
mov esi, dword [edi + 0x1c0]
test esi, esi
je 0x42f6cd
cmp dword [esi + 0x80], 0
je 0x42f6cd
sub ecx, dword [esi + 0xd0]
mov dword [ebp + 0x14], ecx
cmp dword [edi + 0x1ac], 0
jne 0x42f6f9
mov esi, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
xor ecx, ecx
call fcn.0042f9e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
sub edx, eax
mov eax, dword [edi + 0x1c0]
mov esi, ecx
sub esi, ebx
xor ecx, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], esi
cmp eax, ecx
je 0x42f725
cmp dword [eax + 0x80], ecx
je 0x42f725
add edx, dword [eax + 0x1a8]
mov dword [esp + 0x38], edx
xor edx, edx
cmp dword [edi + 0x1ac], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
jle 0x42f7c6
nop
test edx, edx
jl 0x42f9cf
cmp edx, dword [edi + 0x1ac]
jge 0x42f9cf
mov eax, dword [edi + 0x1a8]
mov eax, dword [eax + edx*4]
cmp dword [eax + 0x80], 0
je 0x42f7b9
mov esi, dword [eax + 0x6c]
mov dword [esp + 0x48], esi
mov esi, dword [eax + 0x70]
mov dword [esp + 0x4c], esi
mov esi, dword [eax + 0x74]
mov dword [esp + 0x50], esi
mov esi, dword [eax + 0x78]
mov dword [esp + 0x54], esi
mov esi, dword [eax + 0xcc]
mov eax, dword [eax + 0xd0]
test eax, eax
jne 0x42f796
inc dword [esp + 0x10]
cmp dword [esp + 0x18], esi
jg 0x42f7a0
mov dword [esp + 0x18], esi
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x54]
add esi, ebx
mov ebx, dword [ebp + 0xc]
add esi, eax
add ecx, esi
inc dword [esp + 0x14]
mov esi, dword [esp + 0x3c]
inc edx
cmp edx, dword [edi + 0x1ac]
jl 0x42f740
mov eax, dword [esp + 0x14]
mov edx, dword [edi + 0x1b8]
dec eax
imul edx, eax
add ecx, edx
xor edx, edx
cmp dword [esp + 0x10], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], edx
jle 0x42f803
mov eax, esi
sub eax, ecx
cdq
idiv dword [esp + 0x10]
xor edx, edx
test eax, eax
setl dl
dec edx
and edx, eax
mov dword [esp + 0x20], edx
xor edx, edx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x48], eax
mov edx, ecx
mov ecx, dword [edi + 0x1bc]
mov eax, esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], esi
test ecx, ecx
je 0x42f834
mov esi, ebx
sub esi, dword [ecx + 0x1ac]
mov dword [esp + 0x14], esi
mov esi, dword [edi + 0x1c0]
test esi, esi
je 0x42f84b
mov ecx, dword [ebp + 8]
sub ecx, dword [esi + 0x1ac]
mov dword [esp + 0x24], ecx
xor esi, esi
cmp dword [edi + 0x1ac], esi
mov dword [esp + 0x28], esi
jle 0x42f999
lea ecx, [ecx]
test esi, esi
jl 0x42f9cf
cmp esi, dword [edi + 0x1ac]
jge 0x42f9cf
mov ecx, dword [edi + 0x1a8]
mov ecx, dword [ecx + esi*4]
cmp dword [ecx + 0x80], 0
je 0x42f985
mov esi, dword [ecx + 0x78]
mov ebx, dword [ecx + 0x70]
mov edi, dword [ecx + 0x6c]
mov dword [esp + 0x74], esi
add esi, ebx
sub eax, esi
mov esi, dword [ecx + 0xd0]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 0xcc]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x74]
add eax, esi
add eax, ebx
sub edx, eax
mov dword [esp + 0x30], edx
test esi, esi
jne 0x42f8e5
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x10]
jne 0x42f8e5
mov esi, dword [esp + 0x4c]
sub esi, edx
mov edx, 0
sets dl
dec edx
and esi, edx
cmp dword [esp + 0x40], 0
jne 0x42f904
mov eax, dword [esp + 0x38]
sub eax, dword [ecx + 0x74]
mov edx, 0
sub eax, edi
sets dl
dec edx
and edx, eax
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x24]
lea eax, [edi + edx]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x40]
add eax, edi
mov edi, dword [ecx]
add eax, edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x60], eax
lea eax, [esi + ebx]
add eax, dword [esp + 0x14]
sub esp, 0x10
mov dword [esp + 0x74], eax
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x24]
add edx, ebx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 0xc], edx
mov eax, dword [edi + 0x2c]
call eax
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 0x1b8]
mov edx, dword [esp + 0x30]
lea ecx, [eax + esi]
add ecx, dword [esp + 0x74]
sub edx, eax
add ecx, ebx
add dword [esp + 0x14], ecx
lea ecx, [eax + esi]
mov eax, dword [esp + 0x4c]
sub eax, ecx
mov ecx, dword [esp + 0x74]
add esi, ecx
add esi, ebx
add dword [esp + 0x18], esi
mov esi, dword [esp + 0x28]
inc esi
cmp esi, dword [edi + 0x1ac]
mov dword [esp + 0x28], esi
jl 0x42f860
mov ebx, dword [ebp + 0xc]
mov ecx, dword [edi + 0x1b8]
imul ecx, dword [esp + 0x34]
mov edx, dword [ebp + 8]
add ecx, dword [esp + 0x18]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 0xc], edx
call fcn.0042f9e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.00436686
int3