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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd4
mov esi, edx
mov ebx, eax
cmp dword [ebx + 0x88], 0
jne 0x4ec3fb
mov eax, dword [ebx + 0x294]
mov eax, dword [eax + 0x38]
mov dword [ebx + 0x88], eax
cmp dword [ebx + 0x8c], 0
jne 0x4ec413
mov eax, dword [ebx + 0x294]
mov eax, dword [eax + 0x3c]
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x418938]
call fcn.0041a5ac
mov dword [esp + 4], eax
mov edx, esi
mov eax, dword [esp + 4]
call fcn.0041ae48
mov dl, 1
mov eax, dword [0x418dd0]
call fcn.0041ecd4
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x4ec44e
cmp byte [eax + 0x68], 0
je 0x4ec4a5
lea edx, [esp + 0xc]
mov eax, dword [ebx + 0x294]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x14]
mov edx, 0x8000000f
call fcn.0041a45c
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
xor edx, edx
call fcn.0041a178
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
call fcn.0041a9b4
mov eax, dword [esp + 4]
call fcn.00402dec
jmp 0x4ec66b
cmp byte [ebx + 0x92], 0
je 0x4ec568
mov eax, dword [ebx + 0x178]
mov eax, dword [eax + 0x78]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x4ec568
mov esi, dword [ebx + 0x178]
mov eax, dword [esi + 0x78]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edi, eax
mov eax, dword [esi + 0x78]
mov edx, dword [eax]
call dword [edx + 0x20]
mov ebp, eax
mov eax, dword [esi + 0x140]
cmp eax, dword [esi + 0x148]
jge 0x4ec531
mov eax, dword [esi + 0x78]
push eax
push ebp
lea eax, [esp + 0x24]
push eax
mov ecx, edi
xor edx, edx
xor eax, eax
call fcn.0040fa08
lea eax, [esp + 0x20]
push eax
mov eax, dword [ebx + 0x294]
mov eax, dword [eax + 0x38]
push eax
push ebp
mov edx, edi
sub edx, dword [esi + 0x148]
mov eax, dword [esi + 0x140]
mov ecx, dword [esp + 0x18]
call fcn.0046d998
jmp 0x4ec5ea
mov edx, edi
mov eax, dword [esp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, ebp
mov eax, dword [esp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx + 0x178]
mov eax, dword [eax + 0x78]
push eax
mov eax, dword [esp + 0xc]
call fcn.0041f240
xor ecx, ecx
xor edx, edx
call fcn.0041a754
jmp 0x4ec5ea
mov esi, dword [ebx + 0x178]
cmp dword [esi + 0xac], 0
jne 0x4ec5dc
cmp dword [esi + 0xb0], 0
jne 0x4ec5dc
cmp dword [esi + 0xc4], 0
jne 0x4ec5dc
cmp dword [esi + 0xc8], 0
jne 0x4ec5dc
mov eax, dword [esi + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebx + 0x178]
mov eax, dword [eax + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx + 0x178]
mov eax, dword [eax + 0x6c]
push eax
mov eax, dword [esp + 0xc]
call fcn.0041f240
xor ecx, ecx
xor edx, edx
call fcn.0041a754
jmp 0x4ec5ea
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.004eb080
mov eax, dword [ebx + 0x298]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x4ec647
inc edi
mov dword [esp], 0
mov edx, dword [esp]
mov eax, dword [ebx + 0x298]
call fcn.00410670
mov esi, eax
cmp byte [esi + 0x74], 0
jne 0x4ec61f
cmp byte [ebx + 0x92], 0
je 0x4ec62e
cmp byte [esi + 0x74], 0
je 0x4ec641
cmp byte [ebx + 0x92], 0
je 0x4ec641
mov eax, dword [esp + 8]
call fcn.0041f240
mov edx, eax
xor ecx, ecx
mov eax, esi
mov esi, dword [eax]
call dword [esi]
inc dword [esp]
dec edi
jne 0x4ec600
mov eax, dword [esp + 8]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [esp + 8]
call fcn.0041a754
mov eax, dword [esp + 8]
call fcn.00402dec
mov eax, dword [esp + 4]
call fcn.00402dec
add esp, 0x2c
pop ebp
pop edi
pop esi
pop ebx
ret