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

Disassembly:
push 0xffffffffffffffff
push 0x563713
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x5df890]
xor eax, esp
mov dword [esp + 0xbc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5df890]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xe4]
xor ebx, ebx
push ebx
push ebx
mov dword [esp + 0xe4], ebx
mov eax, dword [ebp + 0x104]
push 0x1009
push eax
call dword [0x566558]
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0xf4]
sub eax, ecx
sar eax, 2
cmp eax, ebx
jne 0x4133e0
cmp ecx, ebx
je 0x4133d3
push ecx
call fcn.0041d541
add esp, 4
mov ecx, dword [esp + 0xe8]
push ecx
jmp 0x413716
xor esi, esi
mov dword [esp + 0x1c], esi
cmp eax, ebx
jbe 0x413701
lea edi, [esi + 0xf]
jmp 0x4133f7
mov esi, dword [esp + 0x1c]
cmp esi, eax
jb 0x413407
call fcn.0043a4a0
mov ecx, dword [esp + 0xf4]
mov esi, dword [ecx + esi*4]
lea edx, [esp + 0xb4]
push esi
push edx
call fcn.0055cd30
lea eax, [esp + 0x84]
push esi
push eax
mov byte [esp + 0xec], 1
call fcn.0055cc00
add esp, 0x10
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x9c]
push edx
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x100], 4
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xe0]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401d50
call fcn.0055de50
add esp, 0x24
mov dword [esp + 0x3c], 0xff
mov dword [esp + 0x24], 3
call fcn.0041d557
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x41375d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0xdc], 5
cmp dword [esp + 0x78], 0x10
jb 0x4134e0
mov edx, dword [esp + 0x64]
cmp edx, ebx
jne 0x4134e4
xor eax, eax
jmp 0x4134f9
lea edx, [esp + 0x64]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4134f0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.00403b50
mov edx, dword [esp + 0x18]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x413525
push ebx
lea ecx, [esp + 0x1c]
call fcn.00403a90
mov edx, dword [esp + 0x18]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
mov dword [esp + 0x54], edx
push 0xffffffffffffffff
mov dword [esp + 0x4c], ebx
push ebx
lea edx, [esp + 0xd8]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401d50
push ebp
call fcn.00413770
mov dword [esp + 0x40], eax
cmp dword [esp + 0x90], ebx
jne 0x41357c
mov eax, dword [ebp + 0x104]
push ebx
push ebx
push 0x1004
push eax
call dword [0x566558]
mov dword [esp + 0x28], eax
jmp 0x413580
mov dword [esp + 0x28], ebx
mov edx, dword [ebp + 0x104]
lea ecx, [esp + 0x24]
push ecx
push ebx
push 0x1007
push edx
call dword [0x566558]
cmp dword [esp + 0x94], 0x10
jb 0x4135b1
mov edx, dword [esp + 0x80]
cmp edx, ebx
jne 0x4135b8
xor eax, eax
jmp 0x4135c9
lea edx, [esp + 0x80]
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4135c0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.00403b50
mov esi, dword [esp + 0x18]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x4135f5
push ebx
lea ecx, [esp + 0x1c]
call fcn.00403a90
mov esi, dword [esp + 0x18]
mov ecx, dword [ebp + 0x104]
lea eax, [esp + 0x24]
push eax
push ebx
push 0x1006
push ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x3c], 1
call dword [0x566558]
lea eax, [esi - 0x10]
mov byte [esp + 0xdc], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41363d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, 0x10
cmp dword [esp + 0x78], esi
jb 0x413655
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0041d541
add esp, 4
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
cmp dword [esp + 0xb0], esi
jb 0x41367a
mov edx, dword [esp + 0x9c]
push edx
call fcn.0041d541
add esp, 4
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
cmp dword [esp + 0x94], esi
jb 0x4136a8
mov eax, dword [esp + 0x80]
push eax
call fcn.0041d541
add esp, 4
mov byte [esp + 0xdc], bl
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
cmp dword [esp + 0xcc], esi
jb 0x4136dd
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.0041d541
add esp, 4
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0x1c]
sub eax, ecx
inc edx
sar eax, 2
mov dword [esp + 0x1c], edx
cmp edx, eax
jb 0x4133f3
cmp ecx, ebx
je 0x41370e
push ecx
call fcn.0041d541
add esp, 4
mov edx, dword [esp + 0xe8]
push edx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
call fcn.0041d541
add esp, 4
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.0043a097
add esp, 0xcc
ret 0x1c
push 0x80004005
call fcn.00403c80
int3