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

Disassembly:
push 0xffffffffffffffff
push 0x6c0478
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x7c]
push edi
call fcn.0040d350
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
xor ebx, ebx
cmp eax, ecx
mov dword [esp + 0x10], eax
je 0x40ecb7
jmp 0x40eca0
lea ecx, [esp + 0x10]
mov byte [eax + 0x28], bl
call fcn.00440a80
mov ecx, dword [esi + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jne 0x40eca0
lea ebp, [esi + 0x18]
mov ecx, ebp
call fcn.0040e4a0
lea ecx, [esp + 0x1c]
call fcn.0040c810
mov edi, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x78]
push eax
mov ecx, esi
mov dword [esp + 0x74], ebx
call fcn.0040cce0
mov ecx, dword [esp + 0x78]
push ecx
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.0062f7d0
mov edx, dword [esp + 0x7c]
add esp, 4
push eax
push edx
lea ecx, [esp + 0x54]
call fcn.00404c50
mov edx, dword [edi + 4]
lea eax, [edi + 4]
lea ecx, [esp + 0x4c]
push ecx
push edx
push edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 1
mov dword [esp + 0x20], eax
call fcn.0040d3d0
push 1
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.0040ced0
mov eax, dword [esp + 0x14]
mov dword [eax], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
cmp dword [esp + 0x64], 0x10
mov byte [esp + 0x70], bl
jb 0x40ed5f
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00630114
add esp, 4
mov edi, dword [ebp + 4]
mov eax, dword [edi + 4]
lea edx, [esp + 0x1c]
push edx
push eax
push edi
mov ecx, ebp
call fcn.0040e4e0
push 1
mov ecx, ebp
mov dword [esp + 0x18], eax
call fcn.0040ce30
mov eax, dword [esp + 0x14]
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
lea esp, [esp]
mov ecx, dword [esp + 0x78]
push ecx
mov ecx, esi
call fcn.0040e6e0
test al, al
jne 0x40ed90
lea ecx, [esp + 0x34]
call fcn.0040c810
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x70], 2
call fcn.0040c810
mov edi, eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 3
call fcn.0040c810
mov ebp, eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebx
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
cmp ecx, eax
mov byte [esp + 0x70], 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0x3e7
mov dword [esp + 0x78], ecx
je 0x40ee76
jmp 0x40ee05
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
lea edx, [esp + 0x10]
lea edi, [ecx + 8]
push edx
push edi
push eax
mov ecx, esi
call fcn.0040c830
test al, al
je 0x40ee63
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], eax
jle 0x40ee63
mov ebp, dword [esp + 0x80]
cmp ebp, edi
mov dword [esp + 0x14], eax
je 0x40ee5f
mov edi, dword [edi + 4]
mov ecx, dword [edi]
mov dword [esp + 0x18], ecx
mov ecx, ebp
call fcn.0040d350
mov edx, dword [ebp + 4]
mov ecx, dword [esp + 0x78]
mov eax, dword [edx]
mov edx, dword [esp + 0x18]
push ecx
push edi
push edx
push eax
mov ecx, ebp
call fcn.0040d6d0
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x78]
mov eax, dword [eax]
cmp eax, dword [esi + 0x1c]
mov dword [esp + 0x78], eax
jne 0x40ee01
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x80]
cmp dword [eax + 8], ebx
jle 0x40f008
add esi, 0x24
cmp esi, eax
je 0x40eec3
mov eax, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x80], ecx
mov ecx, esi
mov dword [esp + 0x78], eax
call fcn.0040d350
mov edx, dword [esi + 4]
mov eax, dword [edx]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x84]
push edx
push ecx
push eax
mov ecx, esi
call fcn.0040d6d0
mov esi, dword [ebp]
cmp esi, ebp
mov dword [ebp], ebp
mov dword [ebp + 4], ebp
je 0x40ef06
cmp dword [esi + 0x20], 0x10
mov edx, dword [esi]
mov dword [esp + 0x78], edx
jb 0x40eee8
mov eax, dword [esi + 0xc]
push eax
call fcn.00630114
add esp, 4
mov dword [esi + 0x20], 0xf
mov dword [esi + 0x1c], ebx
push esi
mov byte [esi + 0xc], bl
call fcn.00630114
mov esi, dword [esp + 0x7c]
add esp, 4
cmp esi, ebp
jne 0x40eed0
push ebp
call fcn.00630114
mov esi, dword [edi]
add esp, 4
cmp esi, edi
mov dword [edi], edi
mov dword [edi + 4], edi
je 0x40ef50
lea ebx, [ebx]
cmp dword [esi + 0x20], 0x10
mov ebp, dword [esi]
jb 0x40ef34
mov ecx, dword [esi + 0xc]
push ecx
call fcn.00630114
add esp, 4
mov dword [esi + 0x20], 0xf
mov dword [esi + 0x1c], ebx
push esi
mov byte [esi + 0xc], bl
call fcn.00630114
add esp, 4
cmp ebp, edi
mov esi, ebp
jne 0x40ef20
push edi
call fcn.00630114
mov ebp, dword [esp + 0x3c]
mov esi, dword [ebp]
add esp, 4
cmp esi, ebp
mov dword [ebp], ebp
mov dword [ebp + 4], ebp
je 0x40efa0
lea ebx, [ebx]
cmp dword [esi + 0x20], 0x10
mov edi, dword [esi]
jb 0x40ef84
mov edx, dword [esi + 0xc]
push edx
call fcn.00630114
add esp, 4
mov dword [esi + 0x20], 0xf
mov dword [esi + 0x1c], ebx
push esi
mov byte [esi + 0xc], bl
call fcn.00630114
add esp, 4
cmp edi, ebp
mov esi, edi
jne 0x40ef70
push ebp
call fcn.00630114
mov edi, dword [esp + 0x24]
mov esi, dword [edi]
add esp, 4
cmp esi, edi
mov dword [edi], edi
mov dword [edi + 4], edi
je 0x40efe8
cmp dword [esi + 0x20], 0x10
mov ebp, dword [esi]
jb 0x40efcc
mov eax, dword [esi + 0xc]
push eax
call fcn.00630114
add esp, 4
mov dword [esi + 0x20], 0xf
mov dword [esi + 0x1c], ebx
push esi
mov byte [esi + 0xc], bl
call fcn.00630114
add esp, 4
cmp ebp, edi
mov esi, ebp
jne 0x40efb8
push edi
call fcn.00630114
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 0xc
mov esi, dword [ebp]
cmp esi, ebp
mov dword [ebp], ebp
mov dword [ebp + 4], ebp
je 0x40f04b
cmp dword [esi + 0x20], 0x10
mov ecx, dword [esi]
mov dword [esp + 0x78], ecx
jb 0x40f02d
mov edx, dword [esi + 0xc]
push edx
call fcn.00630114
add esp, 4
mov dword [esi + 0x20], 0xf
mov dword [esi + 0x1c], ebx
push esi
mov byte [esi + 0xc], bl
call fcn.00630114
mov esi, dword [esp + 0x7c]
add esp, 4
cmp esi, ebp
jne 0x40f015
push ebp
call fcn.00630114
mov esi, dword [edi]
add esp, 4
cmp esi, edi
mov dword [edi], edi
mov dword [edi + 4], edi
je 0x40f090
nop
cmp dword [esi + 0x20], 0x10
mov ebp, dword [esi]
jb 0x40f074
mov eax, dword [esi + 0xc]
push eax
call fcn.00630114
add esp, 4
mov dword [esi + 0x20], 0xf
mov dword [esi + 0x1c], ebx
push esi
mov byte [esi + 0xc], bl
call fcn.00630114
add esp, 4
cmp ebp, edi
mov esi, ebp
jne 0x40f060
push edi
call fcn.00630114
mov ebp, dword [esp + 0x3c]
mov esi, dword [ebp]
add esp, 4
cmp esi, ebp
mov dword [ebp], ebp
mov dword [ebp + 4], ebp
je 0x40f0e0
lea ebx, [ebx]
cmp dword [esi + 0x20], 0x10
mov edi, dword [esi]
jb 0x40f0c4
mov ecx, dword [esi + 0xc]
push ecx
call fcn.00630114
add esp, 4
mov dword [esi + 0x20], 0xf
mov dword [esi + 0x1c], ebx
push esi
mov byte [esi + 0xc], bl
call fcn.00630114
add esp, 4
cmp edi, ebp
mov esi, edi
jne 0x40f0b0
push ebp
call fcn.00630114
mov ebp, dword [esp + 0x24]
mov esi, dword [ebp]
add esp, 4
cmp esi, ebp
mov dword [ebp], ebp
mov dword [ebp + 4], ebp
je 0x40f130
lea ebx, [ebx]
cmp dword [esi + 0x20], 0x10
mov edi, dword [esi]
jb 0x40f114
mov edx, dword [esi + 0xc]
push edx
call fcn.00630114
add esp, 4
mov dword [esi + 0x20], 0xf
mov dword [esi + 0x1c], ebx
push esi
mov byte [esi + 0xc], bl
call fcn.00630114
add esp, 4
cmp edi, ebp
mov esi, edi
jne 0x40f100
push ebp
call fcn.00630114
mov ecx, dword [esp + 0x6c]
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 0xc