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

Disassembly:
push 0xffffffffffffffff
push 0x563d78
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x5df890]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x8c]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ecx + 4]
mov eax, dword [0x5e676c]
mov esi, dword [0x5e6768]
push edx
mov ecx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], esi
call fcn.00402a20
mov eax, dword [ebx + 0x18]
mov dword [eax + 4], eax
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x1c], 0
mov dword [eax], eax
mov eax, dword [ebx + 0x18]
mov dword [eax + 8], eax
call fcn.0041d557
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401f60
push 0x80004005
call fcn.00403c80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov edi, 1
cmp esi, edi
mov dword [esp + 0x84], 0
mov dword [esp + 0x1c], edi
jle 0x40234b
mov dword [esp + 0x20], 2
jmp 0x401fa4
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + edi*4]
test edx, edx
je 0x402292
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401fb8
sub eax, esi
cmp eax, 1
jle 0x402292
mov al, byte [edx]
cmp al, 0x2d
je 0x401fd8
cmp al, 0x2f
jne 0x402292
movsx edx, byte [edx + 1]
push edx
call fcn.0043a733
add esp, 4
test eax, eax
sete al
test al, al
je 0x402292
mov eax, dword [esp + 0x18]
mov edx, dword [eax + edi*4]
test edx, edx
jne 0x402001
xor eax, eax
jmp 0x40200f
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402006
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.00403b50
call fcn.0041d557
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x401f56
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x20], ecx
mov byte [esp + 0x84], 1
jge 0x4020d7
mov edx, dword [esp + 0x18]
mov edx, dword [edx + edi*4 + 4]
test edx, edx
je 0x402093
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402065
sub eax, esi
cmp eax, 1
jle 0x402093
mov al, byte [edx]
cmp al, 0x2d
je 0x40207d
cmp al, 0x2f
jne 0x402093
movsx eax, byte [edx + 1]
push eax
call fcn.0043a733
add esp, 4
test eax, eax
sete al
test al, al
jne 0x4020c7
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + edi*4 + 4]
test edx, edx
jne 0x4020a3
xor eax, eax
jmp 0x4020b1
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4020a8
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00403b50
inc edi
inc dword [esp + 0x20]
mov dword [esp + 0x1c], edi
jmp 0x4020d7
push 0
push 0x5cf898
lea ecx, [esp + 0x1c]
call fcn.00403b50
push 4
call fcn.0041d512
add esp, 4
test eax, eax
je 0x4020ed
lea edx, [esp + 0x44]
mov dword [eax], edx
jmp 0x4020ef
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov byte [esp + 0x84], 3
mov eax, dword [esp + 0x14]
push 0x5cf898
push eax
call fcn.0043a98d
add esp, 8
test eax, eax
setne al
test al, al
je 0x402142
lea ebx, [esp + 0x14]
lea edi, [esp + 0x44]
call fcn.004025d0
mov ebx, dword [esp + 0x8c]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
push eax
call fcn.00403570
add eax, 0x10
add esp, 4
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x88], 4
call fcn.00402840
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x8c], 5
call fcn.00402640
mov byte [esp + 0x84], 3
mov edi, dword [esp + 0x6c]
xor ebx, ebx
cmp edi, ebx
je 0x4021d4
mov eax, dword [esp + 0x70]
mov esi, eax
cmp edi, eax
je 0x4021cb
mov eax, dword [edi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4021c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 4
cmp edi, esi
jne 0x4021a2
mov edi, dword [esp + 0x6c]
push edi
call fcn.0041d541
add esp, 4
mov ecx, dword [esp + 0x60]
push ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call fcn.0041d541
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40220d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x84], 1
mov edi, dword [esp + 0x50]
cmp edi, ebx
je 0x402259
mov eax, dword [esp + 0x54]
mov esi, eax
cmp edi, eax
je 0x402250
mov eax, dword [edi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402245
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 4
cmp edi, esi
jne 0x402227
mov edi, dword [esp + 0x50]
push edi
call fcn.0041d541
add esp, 4
mov ecx, dword [esp + 0x44]
push ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
call fcn.0041d541
mov byte [esp + 0x88], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x402321
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x34]
push edx
mov esi, ebx
call fcn.00402780
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [esp + 0x8c]
mov ebx, dword [ebx + 0x18]
mov eax, dword [eax]
test edi, edi
je 0x4022bc
cmp edi, eax
je 0x4022c1
call fcn.0043a4a0
cmp esi, ebx
je 0x40232d
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx + edx*4]
push eax
lea ecx, [esp + 0x2c]
call fcn.00403890
mov byte [esp + 0x84], 6
test edi, edi
jne 0x402390
call fcn.0043a4a0
cmp esi, dword [edi + 0x18]
jne 0x4022f9
call fcn.0043a4a0
lea edi, [esi + 0x10]
lea ebx, [esp + 0x28]
call fcn.004025d0
mov byte [esp + 0x84], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40232d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
inc dword [esp + 0x20]
mov ebx, dword [esp + 0x8c]
inc eax
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
jl 0x401fa0
mov esi, dword [ebx + 0x1c]
mov dword [esp + 0x84], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402379
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x78
ret 4
mov edi, dword [edi]
jmp 0x4022ef