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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ecx + 0x34]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x4ecc59
lea eax, [ecx + 4]
mov dword [esp + 0x38], eax
xor esi, esi
mov ebp, esp
xor edx, edx
mov dword [esp + 0x18], ecx
jmp 0x4ec655
mov edx, dword [esp + 0x30]
add edx, 1
cmp edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
je 0x4ecc5b
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov ecx, dword [eax + edx*4]
mov dword [esp + 4], ecx
test ecx, ecx
je 0x4ec644
mov dword [esp + 0x30], edx
lea eax, [esp + 4]
push eax
call fcn.0041bfa0
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x4ec640
cmp dword [ecx + 0x18], 0
je 0x4ecc46
mov eax, dword [esp + 0x18]
cmp dword [eax + 8], 1
jne 0x4ec69e
call 0x4ecc80
mov ecx, dword [esp + 4]
call fcn.004ecfd0
test esi, esi
mov ecx, esi
cmove ecx, eax
test eax, eax
cmove ecx, esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x4ec830
xor ecx, ecx
nop dword [eax + eax]
mov dword [esp + 0x1c], 0
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x4ec80e
lea eax, [esp + 0x1c]
push eax
call fcn.0041bfa0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4ec80e
mov edi, dword [ecx + 0x54]
test edi, edi
je 0x4ec804
xor ebx, ebx
mov dword [esp + 0x2c], edi
jmp 0x4ec745
test ecx, ecx
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
je 0x4ec736
lea eax, [esp + 0x10]
push eax
call fcn.0041c020
add ebx, 1
mov ecx, dword [esp + 0x1c]
cmp ebx, edi
je 0x4ec800
mov dword [esp + 0x10], 0
mov eax, dword [ecx + 0x50]
mov ecx, dword [eax + ebx*4]
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x4ec736
lea eax, [esp + 0x10]
push eax
call fcn.0041bfa0
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4ec736
mov esi, dword [ecx + 0x34]
test esi, esi
je 0x4ec72c
mov dword [esp + 0x14], ebx
mov ebx, 0x40
jmp 0x4ec78e
mov ebp, esp
mov ecx, dword [esp + 0x10]
add ebx, 0x44
add esi, 0xffffffff
je 0x4ec720
mov dword [esp], 0
mov eax, dword [ecx + 0x30]
mov ecx, dword [eax + ebx]
mov dword [esp], ecx
test ecx, ecx
je 0x4ec782
push ebp
call fcn.0041bfa0
mov ebp, dword [esp]
test ebp, ebp
je 0x4ec780
mov eax, dword [esp + 4]
add eax, 8
lea edi, [esp + 0xc]
mov ecx, edi
push eax
call fcn.0041dba0
mov ecx, ebp
push edi
mov ebp, edi
push dword [esp + 0x1c]
call fcn.004ed250
mov edi, eax
mov ecx, ebp
call fcn.0041da60
mov ecx, dword [esp + 8]
test ecx, ecx
mov eax, ecx
cmove eax, edi
test edi, edi
cmovne ecx, eax
mov dword [esp + 8], ecx
mov ecx, dword [esp]
mov ebp, esp
test ecx, ecx
je 0x4ec782
push ebp
call fcn.0041c020
jmp 0x4ec782
test ecx, ecx
je 0x4ec80e
lea eax, [esp + 0x1c]
push eax
call fcn.0041c020
mov ecx, dword [esp + 0x24]
add ecx, 1
cmp ecx, dword [esp + 0x34]
je 0x4ec830
mov eax, dword [esp + 4]
jmp 0x4ec6d0
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x14], 0
cmp dword [ebx + 8], 3
jne 0x4ec89e
mov eax, dword [esp + 4]
add eax, 8
lea ebp, [esp + 0x1c]
mov ecx, ebp
push eax
call fcn.0041dba0
mov esi, dword [esp + 0x1c]
mov ecx, ebp
call fcn.0041e000
mov edi, eax
mov ebx, dword [ebx + 4]
mov ecx, dword [esp + 0x38]
call fcn.0041e000
push eax
push ebx
push edi
push esi
call fcn.0041ed00
add esp, 0x10
mov edi, eax
mov ecx, ebp
call fcn.0041da60
mov dword [esp + 0x14], 0
test edi, edi
jne 0x4ec89a
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
lea ebp, [esp + 0x10]
mov ecx, ebp
push 0x567824
call fcn.0041c4c0
lea ecx, [esp + 0x1c]
push 0
push ebp
call fcn.004b67b0
mov ecx, ebp
call fcn.0041c850
mov dword [esp + 0x10], 0
mov esi, dword [esp + 4]
mov edi, esp
mov ecx, edi
push str.attr
call fcn.0041dee0
mov ecx, ebp
mov ebp, edi
push 0
lea eax, [esp + 0x20]
push eax
push edi
push esi
call fcn.004ed3a0
mov ecx, edi
call fcn.0041da60
cmp dword [ebx + 8], 3
jne 0x4ec990
mov eax, dword [esp + 4]
add eax, 8
mov ecx, ebp
push eax
call fcn.0041dba0
mov esi, dword [esp]
mov ecx, ebp
call fcn.0041e000
mov edi, eax
mov ecx, dword [esp + 0x38]
mov ebx, dword [ecx]
call fcn.0041e000
push eax
push ebx
push edi
push esi
call fcn.0041ed00
add esp, 0x10
mov edi, eax
mov ecx, ebp
call fcn.0041da60
test edi, edi
jne 0x4ec990
mov dword [esp], 0
mov esi, dword [esp + 4]
lea edi, [esp + 0xc]
mov ecx, edi
push 0x566fdf
call fcn.0041dee0
mov ecx, ebp
push 0
lea eax, [esp + 0x20]
push eax
push edi
push esi
call fcn.004ed3a0
mov ecx, edi
call fcn.0041da60
mov ecx, dword [esp]
test ecx, ecx
je 0x4ec990
push ebp
call fcn.0041c020
nop dword [eax]
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x4ecc17
xor edi, edi
nop word cs:[eax + eax]
nop
mov dword [esp], 0
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax + edi*4]
mov dword [esp], ecx
test ecx, ecx
je 0x4eca70
push ebp
call fcn.0041bfa0
mov ecx, dword [esp]
test ecx, ecx
je 0x4eca70
call fcn.004ed4d0
mov ecx, dword [esp + 8]
test ecx, ecx
mov edx, ecx
cmove edx, eax
test eax, eax
cmove edx, ecx
mov dword [esp + 8], edx
mov ecx, dword [esp]
mov esi, dword [ecx + 0x54]
mov eax, dword [esp + 0x14]
add eax, edi
add eax, 1
mov dword [ecx + 0x78], eax
test edi, edi
jne 0x4eca12
cmp dword [esp + 0x10], ecx
jne 0x4ecc65
test esi, esi
je 0x4eca8a
xor ebx, ebx
jmp 0x4eca2a
add ebx, 1
mov ecx, dword [esp]
cmp esi, ebx
je 0x4eca80
mov dword [esp + 0xc], 0
mov eax, dword [ecx + 0x50]
mov ecx, dword [eax + ebx*4]
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x4eca20
lea eax, [esp + 0xc]
push eax
call fcn.0041bfa0
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4eca20
mov dword [ecx + 0x28], ebx
lea eax, [esp + 0xc]
push eax
call fcn.0041c020
jmp 0x4eca20
mov esi, dword [esp + 8]
jmp 0x4eca94
test ecx, ecx
mov esi, dword [esp + 8]
jne 0x4eca8e
jmp 0x4eca94
mov esi, dword [esp + 8]
push ebp
call fcn.0041c020
add edi, 1
cmp edi, dword [esp + 0x24]
je 0x4ecaaa
mov eax, dword [esp + 4]
mov dword [esp + 8], esi
jmp 0x4ec9b0
cmp dword [esp + 0x24], 0
je 0x4ecc1b
xor ecx, ecx
jmp 0x4ecadb
test ecx, ecx
je 0x4ecaca
push ebp
call fcn.0041c020
mov ecx, dword [esp + 0x34]
add ecx, 1
cmp ecx, dword [esp + 0x24]
je 0x4ecc1b
mov dword [esp], 0
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + ecx*4]
mov dword [esp], ecx
test ecx, ecx
je 0x4ecaca
push ebp
call fcn.0041bfa0
mov ecx, dword [esp]
test ecx, ecx
je 0x4ecaca
mov edi, dword [ecx + 0x54]
test edi, edi
je 0x4ecac4
xor ebx, ebx
mov dword [esp + 0x2c], edi
jmp 0x4ecb2f
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
call fcn.0041c020
add ebx, 1
mov ecx, dword [esp]
cmp ebx, edi
je 0x4ecac0
mov dword [esp + 0xc], 0
mov eax, dword [ecx + 0x50]
mov ecx, dword [eax + ebx*4]
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x4ecb25
lea eax, [esp + 0xc]
push eax
call fcn.0041bfa0
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4ecb25
mov dword [esp + 0x14], ebx
mov ebx, dword [ecx + 0x34]
test ebx, ebx
je 0x4ecb13
mov ebp, 0x40
jmp 0x4ecb80
mov ecx, dword [esp + 0xc]
add ebp, 0x44
add ebx, 0xffffffff
je 0x4ecc00
mov dword [esp + 0x28], 0
mov eax, dword [ecx + 0x30]
mov ecx, dword [eax + ebp]
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x4ecb70
lea eax, [esp + 0x28]
push eax
call fcn.0041bfa0
mov edi, dword [esp + 0x28]
test edi, edi
je 0x4ecb70
mov eax, dword [esp + 4]
add eax, 8
mov dword [esp + 8], esi
lea esi, [esp + 0x40]
mov ecx, esi
push eax
call fcn.0041dba0
sub esp, 4
mov ecx, edi
push dword [esp + 0x1c]
call fcn.004ed8c0
mov edi, eax
mov ecx, esi
mov esi, dword [esp + 8]
call fcn.0041da60
test esi, esi
mov eax, esi
cmove eax, edi
test edi, edi
cmovne esi, eax
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4ecb70
lea eax, [esp + 0x28]
push eax
call fcn.0041c020
jmp 0x4ecb70
test ecx, ecx
mov ebp, esp
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
jne 0x4ecb1b
jmp 0x4ecb25
mov esi, dword [esp + 8]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4ecc2d
lea eax, [esp + 0x10]
push eax
call fcn.0041c020
lea ecx, [esp + 0x1c]
call fcn.004b6810
mov ecx, dword [esp + 4]
test ecx, ecx
mov edx, dword [esp + 0x30]
je 0x4ec644
lea eax, [esp + 4]
push eax
call fcn.0041c020
mov edx, dword [esp + 0x30]
jmp 0x4ec644
xor esi, esi
mov eax, esi
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
push str.First_type_is_not_attr_
push 0
push str.ti__0__attr___t
call fcn.004210a0
nop word cs:[eax + eax]
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov ebx, ecx
lea esi, [esp + 0x40]
mov ecx, esi
push str.attr
call fcn.0041dee0
lea edi, [esp + 0x20]
mov ecx, edi
push esi
call fcn.0041dba0
mov dword [esp + 0x24], 0
lea ecx, [ebx + 0x10]
push edi
call fcn.00420200
mov edi, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4ecccf
lea eax, [esp + 0x24]
push eax
call fcn.0041c020
lea ecx, [esp + 0x20]
call fcn.0041da60
lea eax, [ebx + 0x24]
test edi, edi
mov ecx, dword [ebx + 0x14]
lea ecx, [ecx + edi*8 + 4]
cmovs ecx, eax
mov ecx, dword [ecx]
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x4eccfb
lea eax, [esp + 0x10]
push eax
call fcn.0041bfa0
lea ecx, [esp + 0x40]
call fcn.0041da60
cmp dword [esp + 0x10], 0
je 0x4ecfc2
mov dword [esp + 0x14], ebx
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x40]
push 0
push 4
call fcn.0041f240
mov dword [esp + 0x40], 0x569ae0
mov edi, dword [esp + 0x10]
mov ebx, dword [edi + 0x54]
test ebx, ebx
je 0x4ecf96
xor esi, esi
xor eax, eax
mov dword [esp + 0x18], edi
jmp 0x4ecd6e
mov eax, ecx
add esi, 4
add ebx, 0xffffffff
je 0x4ece13
mov ecx, eax
mov eax, dword [edi + 0x50]
mov eax, dword [eax + esi]
test eax, eax
je 0x4ecd60
mov byte [esp + 0x1c], cl
mov edi, dword [esp + 0x10]
add eax, 8
lea ecx, [esp + 0xc]
push eax
call fcn.0041dba0
lea ecx, [esp + 0x20]
lea eax, [esp + 0xc]
push eax
call fcn.0041dba0
lea ecx, [esp + 0x24]
call fcn.004b67f0
lea ecx, [esp + 0x2c]
call fcn.0041db90
mov dword [esp + 0x30], 0
add edi, 0x10
mov ecx, edi
lea eax, [esp + 0x20]
push eax
call fcn.00420200
mov edi, eax
lea ecx, [esp + 0x2c]
call fcn.0041da60
lea ecx, [esp + 0x24]
call fcn.004b6810
lea ecx, [esp + 0x20]
call fcn.0041da60
lea ecx, [esp + 0xc]
call fcn.0041da60
mov al, 1
test edi, edi
mov edi, dword [esp + 0x18]
jns 0x4ecd62
mov eax, dword [edi + 0x50]
add eax, esi
lea ecx, [esp + 0x40]
push eax
call fcn.0041fc10
movzx eax, byte [esp + 0x1c]
jmp 0x4ecd62
test al, 1
je 0x4ecf96
mov dword [esp + 0xc], 0
lea esi, [esp + 0x3c]
mov ecx, esi
push 0x5692ea
call fcn.0041dee0
lea edi, [esp + 0x20]
mov ecx, edi
call fcn.004b67f0
lea ecx, [esp + 0xc]
push 0
push edi
push esi
push dword [esp + 0x20]
call fcn.004ed3a0
mov ecx, edi
call fcn.004b6810
mov ecx, esi
call fcn.0041da60
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], eax
test eax, eax
je 0x4ecf84
xor eax, eax
lea ebx, [esp + 0x38]
jmp 0x4ece95
add eax, 1
cmp eax, dword [esp + 0x54]
lea edi, [esp + 0x20]
lea ebx, [esp + 0x38]
je 0x4ecf84
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], ecx
mov eax, dword [ecx + eax*4]
add eax, 8
mov ecx, edi
push eax
call fcn.0041dba0
mov ecx, ebx
push edi
push esi
call fcn.004ef730
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4ececa
push ebx
call fcn.0041c020
mov ecx, edi
call fcn.0041da60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x58], ecx
mov ecx, dword [ecx + 0x34]
test ecx, ecx
je 0x4ece80
xor edi, edi
jmp 0x4ecf00
add edi, 0x44
mov ecx, dword [esp + 0x1c]
add ecx, 0xffffffff
mov eax, dword [esp + 0x14]
je 0x4ece80
mov dword [esp + 0x1c], ecx
mov esi, dword [esp + 0x58]
mov ebx, dword [esi + 0x30]
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + eax*4]
add eax, 8
lea ecx, [esp + 0x3c]
push eax
call fcn.0041dba0
mov eax, dword [ebx + edi + 0x40]
add eax, 0x6c
mov edx, dword [esi + 0x30]
add edx, edi
lea ecx, [esp + 0x20]
push 0
push 0
push 0
push edx
push eax
lea esi, [esp + 0x50]
push esi
push dword [esp + 0x30]
call fcn.004ef2e0
mov ecx, esi
call fcn.0041da60
mov ecx, dword [esp + 0x20]
push dword [ebx + edi + 0x40]
call fcn.004ef160
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4ecef0
lea eax, [esp + 0x20]
push eax
call fcn.0041c020
jmp 0x4ecef0
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4ecf96
lea eax, [esp + 0xc]
push eax
call fcn.0041c020
mov dword [esp + 0x40], 0x569ae0
lea esi, [esp + 0x40]
mov ecx, esi
call fcn.0041ff60
mov ecx, esi
call fcn.0041f2b0
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4ecfc2
lea eax, [esp + 0x10]
push eax
call fcn.0041c020
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret