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

Disassembly:
push 0xffffffffffffffff
push 0x43b7c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov eax, dword [esp + 0x68]
push ebp
push eax
lea ecx, [esp + 8]
call fcn.00406d20
mov edx, dword [esp + 4]
mov ecx, dword [edx - 0xc]
xor ebp, ebp
cmp ecx, ebp
mov dword [esp + 0x64], ebp
je 0x41064d
lea eax, [ecx - 1]
cmp eax, ebp
jl 0x410981
cmp eax, ecx
jg 0x410981
mov al, byte [eax + edx]
cmp al, 0x5c
je 0x41064d
push 0x5c
lea ecx, [esp + 8]
call fcn.00410590
push ebx
push esi
call fcn.00431cfd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 1
call fcn.0042fb60
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 2
call fcn.0042fd81
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.004030d0
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
cmp dword [esp + 0x7c], ebp
mov byte [esp + 0x6c], 3
je 0x4107a6
push 3
push 0x43d940
lea ecx, [esp + 0x18]
call fcn.00404f70
lea ecx, [esp + 0x4c]
call fcn.004213e2
mov edx, dword [esp + 0x10]
push ebp
push edx
lea ecx, [esp + 0x54]
mov byte [esp + 0x74], 4
call fcn.00421475
cmp eax, ebp
je 0x410798
mov bl, 5
lea ecx, [esp + 0x4c]
call fcn.004212d9
mov esi, eax
mov eax, dword [esp + 0x4c]
push 0x10
lea ecx, [esp + 0x50]
call dword [eax + 0x38]
test eax, eax
je 0x410790
lea ecx, [esp + 0x4c]
call fcn.004213a9
test eax, eax
jne 0x410790
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x50]
call fcn.004215fe
push 0x43d874
push eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x78], bl
call fcn.00405580
add esp, 0xc
push eax
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 6
call fcn.0042fd81
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x6c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41076d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x6c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410790
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp esi, ebp
jne 0x4106e5
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 3
call fcn.00421406
push edi
lea ecx, [esp + 0x3c]
call fcn.0042fb60
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x3c]
push eax
push 0x3b
push ecx
mov byte [esp + 0x7c], 7
call fcn.00410390
mov ebx, dword [esp + 0x3c]
add esp, 0xc
cmp eax, ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ebx
jbe 0x4108e6
mov esi, dword [esp + 0x84]
xor edi, edi
test ebx, ebx
jbe 0x4108dd
mov edi, edi
lea ecx, [esp + 0x50]
call fcn.004213e2
test ebp, ebp
mov byte [esp + 0x70], 8
jl 0x41098b
cmp ebp, dword [esp + 0x44]
jge 0x41098b
test edi, edi
jl 0x41098b
cmp edi, dword [esp + 0x30]
jge 0x41098b
mov edx, dword [esp + 0x40]
mov eax, dword [edx + ebp*4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + edi*4]
push eax
push edx
lea eax, [esp + 0x20]
push str._s_s
push eax
call fcn.004053d0
mov ecx, dword [esp + 0x28]
add esp, 0x10
push 0
push ecx
lea ecx, [esp + 0x58]
call fcn.00421475
test eax, eax
je 0x4108c2
jmp 0x410860
lea ecx, [esp + 0x50]
call fcn.004212d9
lea ecx, [esp + 0x50]
mov ebx, eax
call fcn.004213a9
test eax, eax
jne 0x4108ba
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x54]
call fcn.004215fe
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x78], 9
call fcn.0042fd81
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x70], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4108ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test ebx, ebx
jne 0x410860
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x50]
mov byte [esp + 0x70], 7
call fcn.00421406
inc edi
cmp edi, ebx
jb 0x4107f0
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
jb 0x4107e4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 3
call fcn.0042fbb2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x70], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410917
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 1
call fcn.0042fbb2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x70], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410948
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x70], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41096e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebx
pop ebp
mov dword fs:[0], ecx
add esp, 0x64
ret
push 0x80070057
call fcn.00401120
jmp fcn.0042fb3b