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

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [edi + 0x1c]
call fcn.0047ee20
mov ecx, dword [edi + 0x1c]
mov edx, dword [eax]
push ebx
push ebx
push ecx
mov ecx, dword [esp + 0x4c]
push ecx
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call dword [edx + 0x84]
mov edx, dword [eax]
mov esi, dword [edi + 0x28]
dec esi
mov dword [esp + 0x20], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
js 0x4c34ab
cmp esi, ebx
jl 0x4c3499
cmp esi, dword [edi + 0x28]
jge 0x4c3499
mov ecx, dword [edi + 0x24]
mov ecx, dword [ecx + esi*4]
jmp 0x4c349b
xor ecx, ecx
mov eax, dword [esp + 0x48]
mov edx, dword [ecx]
push eax
call dword [edx + 0xa0]
dec esi
jns 0x4c3488
push ebx
mov ecx, edi
call fcn.004c2af0
test eax, eax
jle 0x4c38b8
mov esi, dword [edi + 0x28]
lea ecx, [esi + esi*4]
shl ecx, 4
push ecx
call fcn.0057284c
add esp, 4
cmp eax, ebx
je 0x4c34da
dec esi
mov ebp, eax
mov dword [esp + 0x10], esi
jmp 0x4c34dc
xor ebp, ebp
mov eax, dword [edi + 0x28]
mov dword [esp + 0x10], ebp
cmp eax, ebx
jle 0x4c357e
lea esi, [ebp + 0x3c]
xor ecx, ecx
cmp ebx, ecx
jl 0x4c3500
cmp ebx, eax
jge 0x4c3500
mov edx, dword [edi + 0x24]
mov eax, dword [edx + ebx*4]
jmp 0x4c3502
xor eax, eax
mov dword [esi], eax
lea eax, [esi - 0x2c]
push eax
mov dword [esi - 0x10], ecx
mov dword [esi - 0xc], ecx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov eax, dword [esp + 0x40]
mov ecx, dword [esi]
push eax
lea eax, [esp + 0x2c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x98]
mov ecx, dword [eax]
push 2
mov dword [esi - 0x1c], ecx
mov ecx, dword [esi]
mov edx, dword [eax + 4]
lea eax, [ecx + 0x7c]
mov dword [esi - 0x18], edx
lea edx, [esi - 0x3c]
mov ebp, dword [eax]
mov dword [edx], ebp
mov ebp, dword [eax + 4]
mov dword [edx + 4], ebp
mov ebp, dword [eax + 8]
mov dword [edx + 8], ebp
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov edx, dword [ecx + 0x54]
mov dword [esi - 8], edx
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov ecx, dword [esi]
mov dword [esi - 0x14], eax
call fcn.004be240
mov dword [esi - 4], eax
mov eax, dword [edi + 0x28]
inc ebx
add esi, 0x50
cmp ebx, eax
jl 0x4c34ee
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [ebp + 0x40], ecx
mov dword [ebp + 0x44], edx
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax + 0x128]
mov dword [ebp + 0x48], ecx
mov edx, dword [eax + 0x12c]
mov dword [ebp + 0x4c], edx
mov ecx, dword [esp + 0x48]
test cl, 4
je 0x4c35b2
mov eax, dword [edi + 0x1c]
mov ebx, dword [eax + 0x70]
jmp 0x4c35b6
mov ebx, dword [esp + 0x44]
mov eax, dword [edi + 0x1c]
test dword [eax + 0x94], 0x200000
je 0x4c3623
test cl, 0x10
je 0x4c35f7
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x48]
mov edx, ebx
push ecx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
sub edx, eax
mov eax, dword [esp + 0x44]
sub edx, ecx
lea ecx, [esp + 0x2c]
push edx
push ebp
push eax
push ecx
mov ecx, edi
call fcn.004c3290
jmp 0x4c36fb
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0x48]
mov ecx, ebx
push eax
mov edx, dword [esi + 8]
mov eax, dword [esi]
sub ecx, edx
mov edx, dword [esp + 0x44]
sub ecx, eax
lea eax, [esp + 0x2c]
push ecx
push ebp
push edx
push eax
mov ecx, edi
call fcn.004c3290
jmp 0x4c36fb
mov esi, dword [esp + 0x4c]
test ch, 1
je 0x4c3683
mov edx, dword [eax + 0x70]
lea ecx, [esp + 0x48]
push ecx
push edx
push ebp
mov ecx, edi
call fcn.004c20a0
push 0
lea eax, [esp + 0x2c]
push ebp
push eax
mov ecx, edi
call fcn.004c1ef0
mov ecx, eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
lea edx, [eax + eax*2]
cmp ecx, edx
jle 0x4c3673
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx + 0x70]
test edx, edx
jg 0x4c3673
mov edx, dword [esp + 0x48]
mov ecx, edi
push edx
push ebp
call fcn.004c22b0
jmp 0x4c36e6
lea ecx, [esp + 0x48]
push ecx
push eax
push ebp
mov ecx, edi
call fcn.004c20a0
jmp 0x4c36e6
test cl, 8
je 0x4c36a3
mov ecx, dword [esi + 8]
lea edx, [esp + 0x48]
mov eax, ebx
push edx
mov edx, dword [esi]
sub eax, ecx
sub eax, edx
mov ecx, edi
push eax
push ebp
call fcn.004c20a0
jmp 0x4c36e6
test cl, 0x10
je 0x4c36c4
mov eax, dword [esi + 4]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esi + 0xc]
mov edx, ebx
sub edx, ecx
mov ecx, edi
sub edx, eax
push edx
push ebp
call fcn.004c20a0
jmp 0x4c36e6
test cl, 0x20
je 0x4c36d1
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
jmp 0x4c36d6
mov eax, dword [esi + 8]
mov edx, dword [esi]
push ecx
add eax, edx
mov ecx, ebx
sub ecx, eax
push ecx
push ebp
mov ecx, edi
call fcn.004c2370
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x28]
and edx, 0x10
mov ecx, edi
push edx
push ebp
push eax
call fcn.004c1ef0
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x48]
test eax, eax
jle 0x4c3733
test dl, 8
je 0x4c3755
mov edx, dword [esi + 0xc]
sub eax, edx
mov edx, dword [esi + 4]
sub eax, edx
mov edx, dword [esp + 0x1c]
cmp eax, edx
jle 0x4c372f
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x48]
test dl, 1
je 0x4c3777
test dl, 0x10
je 0x4c3766
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
sub ebx, eax
mov eax, dword [esp + 0x1c]
sub ebx, ecx
cmp ebx, eax
jle 0x4c3777
mov dword [esp + 0x1c], ebx
jmp 0x4c3777
sub eax, dword [esi + 8]
sub eax, dword [esi]
cmp eax, ecx
jle 0x4c3733
mov ecx, eax
mov dword [esp + 0x18], ecx
jmp 0x4c3733
mov eax, dword [esi + 8]
sub ebx, eax
mov eax, dword [esi]
sub ebx, eax
cmp ebx, ecx
jle 0x4c3777
mov dword [esp + 0x18], ebx
sub esp, 0x10
mov eax, esi
mov ecx, esp
mov ebx, dword [eax]
push edx
mov dword [ecx], ebx
mov ebx, dword [eax + 4]
mov dword [ecx + 4], ebx
mov ebx, dword [eax + 8]
mov dword [ecx + 8], ebx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x2c]
push ecx
push ebp
mov ecx, edi
call fcn.004c2610
mov eax, dword [esp + 0x48]
test al, 0x40
je 0x4c3894
mov edx, dword [edi + 0x1c]
test dword [edx + 0x94], 0x200000
jne 0x4c37eb
mov ecx, dword [esi]
push eax
mov edx, dword [esi + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x30]
push eax
push ecx
push ebp
mov ecx, edi
call fcn.004c27a0
mov eax, dword [edi + 0x28]
mov dword [esp + 0x40], 0
test eax, eax
jle 0x4c3894
lea esi, [ebp + 0x3c]
mov ecx, dword [esi]
mov eax, dword [esi - 0xc]
test eax, eax
mov edx, dword [ecx]
mov eax, dword [ecx + 0x8c]
je 0x4c3816
or al, 2
jmp 0x4c3818
and al, 0xfd
push eax
call dword [edx + 0x90]
lea ecx, [esi - 0x2c]
mov ebx, ecx
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0x34], ebx
mov ebx, dword [esi]
add ebx, 0x6c
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov edx, dword [esp + 0x34]
mov dword [ebx + 0xc], edx
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x4c3875
lea ecx, [esi - 0x3c]
sub esp, 0x10
mov edx, esp
mov eax, dword [esi]
mov ebx, dword [ecx]
mov dword [edx], ebx
mov eax, dword [eax]
mov ebx, dword [ecx + 4]
mov dword [edx + 4], ebx
mov ebx, dword [ecx + 8]
mov dword [edx + 8], ebx
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [esi]
call dword [eax + 0x78]
mov edx, dword [esi]
mov eax, dword [esi - 0x10]
add esi, 0x50
mov dword [edx + 0x50], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [edi + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x40], eax
jl 0x4c3801
push ebp
call fcn.00572875
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add esp, 4
mov dword [eax], edx
mov dword [eax + 4], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x18
mov eax, dword [esp + 0x4c]
mov bl, byte [esp + 0x48]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov ebp, dword [eax + 4]
add ecx, edx
mov edx, dword [eax + 0xc]
add edx, ebp
lea eax, [ecx + 0x17]
test bl, 8
lea ecx, [edx + 0x16]
mov edx, eax
je 0x4c38f9
mov eax, dword [esp + 0x50]
cmp eax, ecx
jle 0x4c3903
mov ecx, eax
mov eax, dword [esp + 0x3c]
mov dword [eax], edx
mov dword [eax + 4], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x18
mov esi, dword [esp + 0x50]
cmp esi, eax
jle 0x4c3903
mov edx, esi
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword [eax], edx
mov dword [eax + 4], ecx
pop ebx
add esp, 0x28
ret 0x18