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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6300ca
mov eax, dword fs:[0]
push eax
sub esp, 0x678
mov eax, dword [0x652018]
xor eax, esp
mov dword [esp + 0x670], eax
push ebx
push esi
push edi
mov eax, dword [0x652018]
xor eax, esp
push eax
lea eax, [esp + 0x688]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x18], ebx
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x14], ebx
mov ebx, dword [ebp + 0x18]
mov dword [esp + 0x44], ebx
mov ebx, dword [ebp + 0x1c]
mov dword [esp + 0x3c], ebx
mov ebx, dword [eax + 0x50]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x40], edx
test ebx, ebx
je 0x4ecdad
cmp dword [ebx + 0x4c], 0
je 0x4ecdaf
xor ebx, ebx
mov eax, dword [0x65e8d4]
lea edi, [ebx + 0x68]
add eax, 4
mov dword [esp + 0x48], ebx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov word [esp + 0x8c], 0
mov byte [esp + 0x8e], 0
mov dword [esp + 0x88], 8
mov dword [esp + 0x690], 0
mov esi, dword [ecx + 4]
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov byte [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov byte [esp + 0x690], 1
lea eax, [esp + 0x13c]
push 0x400
push 0
push eax
call 0x5a49da
lea eax, [esp + 0x7c]
mov dword [esp + 0x548], esi
add esp, 0xc
mov dword [esp + 0x540], eax
mov dword [esp + 0x544], edi
mov dword [esp + 0x548], 0x765a
mov dword [esp + 0x54c], 0x7659
mov byte [esp + 0x550], 0
mov byte [esp + 0x690], 2
lea ecx, [esp + 0xc4]
call fcn.004f3e0e
mov byte [esp + 0x690], 3
mov dword [esp + 0xc4], 0x428dac
mov dword [esp + 0x128], 0
mov byte [esp + 0x690], 4
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov byte [esp + 0x690], 5
mov esi, dword [esp + 0x24]
movzx eax, byte [esi]
test byte [eax + eax*2 + 0x405210], 0x10
je 0x4ecf22
xor dl, dl
mov ecx, esi
call fcn.0041a7ce
test al, al
je 0x4ecf22
lea eax, [esp + 0xc4]
mov byte [esp + 0x13], 1
mov dword [esp + 0x2c], eax
jmp 0x4ecf27
mov byte [esp + 0x13], 0
xor eax, eax
lea ecx, [esp + 0x90]
mov dword [esp + 0x28], eax
call 0x3cc80e
mov byte [esp + 0x690], 6
mov eax, dword [0x65e8d4]
add eax, 4
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov word [esp + 0x68], 0
mov byte [esp + 0x6a], 0
mov dword [esp + 0x64], 8
mov byte [esp + 0x690], 7
lea ecx, [esp + 0x4c]
push 0
push esi
call 0x3c03be
mov byte [esp + 0x690], 8
mov edi, dword [esp + 0x6c]
jmp 0x4ecfae
test edi, edi
je 0x4ed13f
mov esi, dword [edi]
test esi, esi
je 0x4ed13f
add edi, 4
mov dword [esp + 0x6c], edi
test esi, esi
je 0x4ed13f
test byte [esi + 0x4b], 8
jne 0x4ecfae
mov cl, byte [esi]
movzx eax, cl
test byte [eax + eax*2 + 0x405210], 8
je 0x4ed00a
test byte [eax + eax*2 + 0x405211], 0x80
je 0x4ed006
mov ecx, dword [esi + 0x50]
call 0x3dc91e
mov ecx, eax
call 0x3c4d6e
mov ecx, eax
call 0x3c4d6e
jmp 0x4ed016
mov eax, esi
jmp 0x4ed016
cmp cl, 5
jne 0x4ed01f
mov ecx, esi
call 0x3e9cce
test eax, eax
je 0x4ed040
mov eax, dword [eax + 0x50]
jmp 0x4ed042
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4ed040
mov al, byte [ecx]
cmp al, 5
je 0x4ed011
movzx eax, al
test byte [eax + eax*2 + 0x405210], 8
jne 0x4ecfff
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4ed026
xor eax, eax
test eax, eax
je 0x4ed04c
cmp dword [eax + 0x4c], 0
je 0x4ed04e
xor eax, eax
cmp ebx, eax
je 0x4ed086
mov ecx, dword [esp + 0x48]
cmp eax, ecx
je 0x4ed124
lea ecx, [esp + 0x90]
mov ebx, eax
push eax
mov dword [esp + 0x24], ecx
call 0x3cc8be
test eax, eax
jns 0x4ed133
push 0
push 0
push 0
push eax
call dword [0x660144]
mov eax, dword [esp + 0x20]
push dword [esp + 0x2c]
lea ecx, [esp + 0x130]
push ecx
push dword [esp + 0x44]
push dword [esp + 0x50]
push ecx
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
push eax
push dword [esp + 0x40]
push esi
call fcn.004ed3ee
test eax, eax
je 0x4ed0f0
cmp byte [esp + 0x13], 0
je 0x4ed0f0
test byte [esi + 0x79], 4
je 0x4ed0da
test byte [esi + 1], 8
jne 0x4ed0da
cmp byte [esi], 0xa
je 0x4ed0da
push ecx
lea ecx, [esp + 0x34]
call 0x3ca1de
mov dword [eax], esi
mov eax, dword [esp + 0x1c]
mov edx, esi
mov ecx, dword [eax + 4]
call fcn.0041aade
test al, al
je 0x4ed0f0
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x24c], 0
jne 0x4ecfae
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
cmp dword [eax + 0x160c], 0
je 0x4ecfae
mov ecx, dword [esp + 0x14]
push esi
call fcn.004bab1e
jmp 0x4ecfae
mov eax, dword [esp + 0x40]
mov ebx, ecx
mov dword [esp + 0x20], eax
jmp 0x4ed08a
lea eax, [esp + 0x90]
jmp 0x4ed08a
cmp byte [esp + 0x13], 0
je 0x4ed2bb
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4ed2bb
mov ebx, dword [esp + 0x34]
xor esi, esi
test ebx, ebx
je 0x4ed2bb
jmp 0x4ed16e
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0xc4]
mov edi, dword [eax + esi*4]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x18], edi
call fcn.0042846e
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xd0]
call fcn.0042846e
add esp, 4
lea ecx, [esp + 0xc8]
push eax
call fcn.004f199e
test al, al
jne 0x4ed2b2
push ecx
lea ecx, [esp + 0x558]
call fcn.0041538e
mov byte [esp + 0x690], 9
lea eax, [esp + 0x554]
push 0
push 0
push 0
push 1
push 0
push 0
push eax
mov eax, dword [esp + 0x38]
mov ecx, edi
push dword [esp + 0x40]
push dword [eax + 4]
call 0x3dd7ae
push 0
push 0
push 0
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov dword [esp + 0x50], 0
call 0x3e19fe
mov eax, dword [esp + 0x570]
mov ecx, edi
mov dword [esp + 0x14], eax
call 0x3e0c1e
test eax, eax
je 0x4ed243
cmp dword [eax + 0x4c], 0
jne 0x4ed243
add eax, 0x1c4
jmp 0x4ed245
xor eax, eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push edi
push 0x9c76
push eax
call 0x3cd30e
add esp, 0x14
mov byte [esp + 0x690], 8
mov eax, dword [esp + 0x558]
mov dword [esp + 0x554], 0x424634
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x558], 0x42461c
mov eax, dword [esp + 0x558]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x120]
mov dword [esp + ecx + 0x554], eax
lea ecx, [esp + 0x554]
call fcn.0041555e
mov dword [esp + 0x678], 0x41b854
inc esi
cmp esi, ebx
jb 0x4ed16e
push 1
push ecx
lea ecx, [esp + 0x134]
call fcn.0048f83e
mov byte [esp + 0x690], 6
lea ecx, [esp + 0x4c]
call 0x3bd04e
mov byte [esp + 0x690], 5
mov dword [esp + 0x90], 0x404ff0
mov byte [esp + 0x690], 5
lea ecx, [esp + 0x9c]
call 0x3bd04e
mov byte [esp + 0x690], 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4ed321
push eax
push 0
push dword [0x65e8d0]
call dword [0x66016c]
mov byte [esp + 0x690], 2
lea ecx, [esp + 0xc4]
call fcn.004f3f1e
mov byte [esp + 0x690], 0
cmp byte [esp + 0x134], 0
je 0x4ed355
lea ecx, [esp + 0x12c]
call 0x3e684e
jmp 0x4ed3a4
mov ecx, dword [esp + 0x12c]
test ecx, ecx
je 0x4ed383
mov eax, dword [ecx + 8]
mov dword [esp + 0x12c], eax
mov dword [ecx + 8], 0
mov dword [ecx + 4], 0
mov ecx, dword [esp + 0x12c]
test ecx, ecx
jne 0x4ed360
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x690], 0xffffffff
lea ecx, [esp + 0x70]
call 0x3bd04e
xor al, al
mov ecx, dword [esp + 0x688]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x670]
xor ecx, esp
call 0x59f18f
mov esp, ebp
pop ebp
ret 0x18