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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528620
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x56617c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x4cd399
call fcn.004e5410
mov esi, dword [0x57e838]
test esi, esi
je 0x4cd3d5
mov ecx, esi
call fcn.0045d290
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.0045d330
push 0x30
push dword [esi]
call fcn.004fe28b
push 8
push esi
call fcn.004fe28b
add esp, 0x10
mov dword [0x57e838], 0
mov esi, dword [0x57e944]
test esi, esi
je 0x4cd411
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004c9e00
lea ecx, [esi + 4]
call fcn.00424070
push 0x68
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.004fe28b
add esp, 8
mov dword [0x57e944], 0
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x4cd4a7
mov ecx, esi
call fcn.0044a3f0
lea ecx, [esi + 0x3c]
call fcn.0041f520
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4cd47e
mov eax, dword [esi + 0x28]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
cmp edx, 0x1000
jb 0x4cd45f
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x4cda92
mov ecx, edi
push edx
push ecx
call fcn.004fe28b
mov dword [esi + 0x20], 0
add esp, 8
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x18]
call fcn.0044ce20
lea ecx, [esi + 0xc]
call fcn.0044cf20
mov ecx, esi
call fcn.00435580
push 0x50
push esi
call fcn.004fe28b
add esp, 8
mov dword [ebx + 0x60], 0
mov esi, dword [ebx + 4]
test esi, esi
je 0x4cd4d7
mov eax, dword [esi]
test eax, eax
je 0x4cd4c5
push 4
push eax
call fcn.004fe28b
add esp, 8
mov dword [esi], 0
push 4
push esi
call fcn.004fe28b
add esp, 8
mov dword [ebx + 4], 0
mov eax, dword [ebx + 0xa4]
xor esi, esi
mov ecx, dword [ebx + 0xa0]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x4cd513
nop
mov ecx, dword [ecx + esi*4]
test ecx, ecx
je 0x4cd4fd
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebx + 0xa4]
inc esi
mov ecx, dword [ebx + 0xa0]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4cd4f0
mov dword [ebx + 0xa4], ecx
xor esi, esi
mov eax, dword [ebx + 0xb0]
mov ecx, dword [ebx + 0xac]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x4cd553
mov ecx, dword [ecx + esi*4]
test ecx, ecx
je 0x4cd53d
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebx + 0xb0]
inc esi
mov ecx, dword [ebx + 0xac]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4cd530
mov dword [ebx + 0xb0], ecx
xor esi, esi
mov eax, dword [ebx + 0xbc]
mov ecx, dword [ebx + 0xb8]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x4cd593
mov ecx, dword [ecx + esi*4]
test ecx, ecx
je 0x4cd57d
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebx + 0xbc]
inc esi
mov ecx, dword [ebx + 0xb8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4cd570
mov dword [ebx + 0xbc], ecx
xor esi, esi
mov eax, dword [ebx + 0xc8]
mov ecx, dword [ebx + 0xc4]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x4cd5d3
mov ecx, dword [ecx + esi*4]
test ecx, ecx
je 0x4cd5bd
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebx + 0xc8]
inc esi
mov ecx, dword [ebx + 0xc4]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4cd5b0
mov dword [ebx + 0xc8], ecx
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x4cd5ed
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0x5c], 0
mov esi, dword [ebx + 0x3c]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x4cd648
mov eax, dword [esi + 4]
test eax, eax
je 0x4cd604
push eax
call edi
mov eax, dword [esi + 8]
test eax, eax
je 0x4cd60e
push eax
call edi
mov ecx, dword [esi]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
test ecx, ecx
je 0x4cd62e
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi], 0
lea ecx, [esi + 0x14]
call fcn.0041c2a0
push 0x58
push esi
call fcn.004fe28b
add esp, 8
mov dword [ebx + 0x3c], 0
mov esi, dword [ebx + 0x40]
test esi, esi
je 0x4cd681
mov dword [ebp - 4], 1
mov ecx, dword [esi]
test ecx, ecx
je 0x4cd668
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi], 0
push 4
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.004fe28b
add esp, 8
mov dword [ebx + 0x40], 0
mov esi, dword [ebx + 0x44]
test esi, esi
je 0x4cd6d6
mov eax, dword [esi + 4]
test eax, eax
je 0x4cd692
push eax
call edi
mov eax, dword [esi + 8]
test eax, eax
je 0x4cd69c
push eax
call edi
mov ecx, dword [esi]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
test ecx, ecx
je 0x4cd6bc
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi], 0
lea ecx, [esi + 0x14]
call fcn.0041c2a0
push 0x58
push esi
call fcn.004fe28b
add esp, 8
mov dword [ebx + 0x44], 0
mov edi, dword [ebx + 0x50]
lea edx, [ebx + 0x50]
mov esi, dword [edi]
cmp esi, edi
je 0x4cd734
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4cd6f2
mov eax, dword [ecx]
push 1
call dword [eax]
lea edx, [ebx + 0x50]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4cd718
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4cd714
cmp esi, dword [eax + 8]
jne 0x4cd714
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4cd704
mov esi, eax
jmp 0x4cd72e
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4cd72e
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4cd722
mov edi, dword [edx]
cmp esi, edi
jne 0x4cd6e2
mov esi, dword [edi + 4]
cmp byte [esi + 0xd], 0
jne 0x4cd766
nop dword [eax]
push dword [esi + 8]
mov ecx, edx
push edx
call fcn.0041a7d0
mov eax, esi
mov esi, dword [esi]
push 0x18
push eax
call fcn.004fe28b
add esp, 8
lea edx, [ebx + 0x50]
cmp byte [esi + 0xd], 0
je 0x4cd740
lea edx, [ebx + 0x50]
mov dword [edi + 4], edi
mov dword [edi], edi
mov dword [edi + 8], edi
mov dword [edx + 4], 0
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x4cd793
mov eax, dword [ecx + 0x130]
add ecx, 0x130
push 1
call dword [eax]
mov dword [ebx + 0x30], 0
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x4cd7b1
mov eax, dword [ecx + 0x130]
add ecx, 0x130
push 1
call dword [eax]
mov dword [ebx + 0x34], 0
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x4cd7cf
mov eax, dword [ecx + 0x130]
add ecx, 0x130
push 1
call dword [eax]
mov dword [ebx + 0x38], 0
mov edi, dword [ebx + 0x48]
lea edx, [ebx + 0x48]
mov esi, dword [edi]
cmp esi, edi
je 0x4cd842
nop dword [eax + eax]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4cd7fa
mov eax, dword [ecx + 0x130]
add ecx, 0x130
push 1
call dword [eax]
lea edx, [ebx + 0x48]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4cd824
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4cd820
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x4cd820
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4cd810
mov esi, eax
jmp 0x4cd83c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4cd83c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4cd830
mov edi, dword [edx]
cmp esi, edi
jne 0x4cd7e0
mov esi, dword [edi + 4]
cmp byte [esi + 0xd], 0
jne 0x4cd876
nop dword [eax + eax]
push dword [esi + 8]
mov ecx, edx
push edx
call fcn.0041a7d0
mov eax, esi
mov esi, dword [esi]
push 0x18
push eax
call fcn.004fe28b
add esp, 8
lea edx, [ebx + 0x48]
cmp byte [esi + 0xd], 0
je 0x4cd850
lea edx, [ebx + 0x48]
mov dword [edi + 4], edi
mov dword [edi], edi
mov dword [edi + 8], edi
mov dword [edx + 4], 0
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x4cd899
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0x28], 0
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x4cd8ad
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0x24], 0
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x4cd8c2
mov eax, dword [ecx]
push 1
call dword [eax + 0x2c]
mov dword [ebx + 0x2c], 0
mov esi, dword [ebx + 8]
test esi, esi
je 0x4cd8e2
mov ecx, esi
call fcn.0043e2f0
push 0x54
push esi
call fcn.004fe28b
add esp, 8
mov dword [ebx + 8], 0
mov eax, dword [ebx + 0x1c]
xor edx, edx
mov ecx, dword [ebx + 0x18]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x10], edx
test eax, eax
je 0x4cd94f
mov edi, dword [ecx + edx*4]
test edi, edi
je 0x4cd93c
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [ebp - 0x14], eax
cmp esi, eax
je 0x4cd924
mov ebx, eax
nop dword [eax + eax]
lea ecx, [esi + 8]
call fcn.0041c2a0
add esi, 0x4c
cmp esi, ebx
jne 0x4cd910
mov esi, dword [edi]
mov ebx, dword [ebp - 0x18]
mov ecx, edi
mov dword [edi + 4], esi
call fcn.00435580
push 0xc
push edi
call fcn.004fe28b
mov edx, dword [ebp - 0x10]
add esp, 8
mov eax, dword [ebx + 0x1c]
inc edx
mov ecx, dword [ebx + 0x18]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x10], edx
cmp edx, eax
jb 0x4cd8f6
mov dword [ebx + 0x1c], ecx
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x4cd979
mov ecx, esi
call fcn.0043c8a0
mov ecx, esi
call fcn.00424070
push 0x10
push esi
call fcn.004fe28b
add esp, 8
mov dword [ebx + 0x14], 0
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x4cd999
mov ecx, esi
call fcn.00439c50
push 0xc
push esi
call fcn.004fe28b
add esp, 8
mov dword [ebx + 0xc], 0
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x4cd9b9
mov ecx, esi
call fcn.00439c50
push 0xc
push esi
call fcn.004fe28b
add esp, 8
mov dword [ebx + 0x10], 0
mov eax, dword [ebx + 0x6c]
xor esi, esi
mov ecx, dword [ebx + 0x68]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x4cd9ed
nop word [eax + eax]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
je 0x4cd9dd
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebx + 0x6c]
inc esi
mov ecx, dword [ebx + 0x68]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4cd9d0
mov dword [ebx + 0x6c], ecx
xor esi, esi
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x74]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x4cda1e
mov ecx, dword [ecx + esi*4]
test ecx, ecx
je 0x4cda0e
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebx + 0x78]
inc esi
mov ecx, dword [ebx + 0x74]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4cda01
mov eax, dword [0x57e7a4]
mov dword [ebx + 0x78], ecx
test eax, eax
je 0x4cda4c
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [0x57e7a4], 0
mov dword [0x57e7a0], 0
mov ecx, dword [0x57e7a8]
test ecx, ecx
je 0x4cda66
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x57e7a8], 0
mov ecx, dword [0x57e7ac]
test ecx, ecx
je 0x4cda80
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x57e7ac], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00501acf
int3