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

Disassembly:
push 0xffffffffffffffff
push 0x47ac67
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x49c550]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49c550]
xor eax, esp
push eax
lea eax, [esp + 0x27c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x28c]
mov eax, dword [ebx + 0x18]
add eax, 1
push eax
call fcn.00418f97
mov ecx, dword [ebx + 0x18]
add ecx, 1
push ecx
xor ebp, ebp
mov esi, eax
push ebp
push esi
call fcn.004447d0
add esp, 0x10
xor eax, eax
mov edi, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x24]
mov edx, dword [ecx]
sub edi, eax
add eax, esi
push edi
push eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, ebp
jne 0x40ee25
push fcn.00401710
push fcn.004023e0
push 0x10
push 4
lea ecx, [esp + 0x40]
push ecx
call fcn.004461cc
push 0x10
lea edx, [esp + 0x34]
push edx
push esi
mov dword [esp + 0x290], ebp
call fcn.0040e070
mov edi, eax
push esi
mov dword [esp + 0x38], edi
call fcn.00418f92
xor eax, eax
add esp, 0x10
cmp edi, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], eax
jle 0x40f0d3
lea esi, [esp + eax*4 + 0x30]
mov eax, dword [esi]
push 0x2e
push eax
call fcn.004469e0
add esp, 8
test eax, eax
je 0x40f03b
push 0x208
lea eax, [esp + 0x74]
push 0
push eax
call fcn.004447d0
mov eax, dword [esi]
push 0x208
lea ecx, [esp + 0x80]
push ecx
push eax
call fcn.00413c00
add esp, 0x18
call fcn.00428efe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x40f055
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0x28c], 1
call fcn.00414840
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x78]
add esp, 8
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40ef13
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x18]
call fcn.00403620
mov eax, dword [ebx + 0x10]
sub eax, 0x10
push eax
mov byte [esp + 0x288], 2
call fcn.00402370
add eax, 0x10
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x28c], 3
call fcn.004049a0
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jne 0x40ef95
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x284], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40efeb
mov ecx, dword [eax]
push eax
jmp 0x40efe4
mov ebp, dword [esp + 0x1c]
push 1
push 1
lea ecx, [esp + 0x1c]
push ecx
push ecx
lea esi, [ebp - 0x10]
mov dword [esp + 0x3c], esp
mov edi, esp
push esi
call fcn.00402370
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00410f30
add esp, 0x10
test eax, eax
mov byte [esp + 0x284], 2
je 0x40f05f
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40efeb
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x284], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f013
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x284], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f03b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 1
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x24], eax
jl 0x40ee89
jmp 0x40f0d3
push 0x80004005
call fcn.004014c0
lea eax, [ebp - 0x10]
mov dword [esp + 0x20], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f083
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x284], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f0ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x284], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f0d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x20]
push fcn.00401710
push 0x10
push 4
lea ecx, [esp + 0x3c]
push ecx
or esi, 2
mov dword [esp + 0x294], 0xffffffff
call fcn.00446169
mov eax, esi
mov ecx, dword [esp + 0x27c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.00443fd7
add esp, 0x274
ret