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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43ca20
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebp
push esi
push edi
mov edi, dword [esp + 0x88]
xor esi, esi
cmp edi, esi
je 0x4131e4
cmp dword [edi + 4], esi
je 0x4131e4
mov ecx, edi
call fcn.004359d6
mov ebp, dword [esp + 0x8c]
cmp ebp, esi
jne 0x413221
push esi
push esi
push esi
push esi
call dword [0x43e040]
push eax
mov ecx, edi
call fcn.0043597f
mov eax, dword [esp + 0x84]
pop edi
mov dword [eax], esi
mov dword [eax + 4], esi
pop esi
pop ebp
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 0x10
push ebx
push esi
lea ecx, [esp + 0x50]
call fcn.004356d7
lea ecx, [esp + 0x3c]
mov dword [esp + 0x80], esi
call fcn.00434fc1
mov edi, dword [esp + 0x50]
lea eax, [esp + 0x4c]
neg eax
sbb eax, eax
mov byte [esp + 0x80], 1
and eax, edi
push eax
call dword [0x43e0f8]
push eax
lea ecx, [esp + 0x40]
call fcn.00435078
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], 0x43e740
mov eax, dword [esp + 0x50]
push 1
push 1
push eax
mov byte [esp + 0x8c], 2
call dword [0x43e104]
push eax
lea ecx, [esp + 0x30]
call fcn.0043597f
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ebx
push eax
push ecx
call fcn.004351b9
mov edx, dword [esp + 0x94]
lea ecx, [esp + 0x3c]
push edx
push 1
push 1
push esi
push esi
call fcn.004376f7
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x60]
push eax
push 0x18
push ecx
call dword [0x43e030]
mov ebx, dword [esp + 0x72]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
and ebx, 0xffff
shr ebx, 3
push ebx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], ebx
call fcn.0042e68a
mov ecx, dword [esp + 0x34]
add esp, 4
mov edi, eax
push edi
push ebx
push ecx
mov dword [esp + 0x1c], edi
call dword [0x43e064]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x24], eax
imul eax, dword [esp + 0x68]
mov esi, eax
push esi
call fcn.0042e68a
add esp, 4
mov dword [esp + 0x20], eax
xor edx, edx
cmp word [esp + 0x72], 0x20
push eax
mov eax, dword [ebp + 4]
sete dl
push esi
push eax
mov dword [esp + 0x9c], edx
call dword [0x43e064]
mov ecx, dword [esp + 0x68]
imul ecx, dword [esp + 0x64]
add ecx, 2
shl ecx, 4
push ecx
call fcn.0042e68a
mov ebp, eax
xor ecx, ecx
add esp, 4
mov dword [esp + 0x94], ecx
mov dword [ebp], 0x20
mov dword [ebp + 4], 1
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0x14], ecx
mov edx, dword [esp + 0x64]
lea eax, [ebp + 0x20]
mov dword [ebp + 0x18], edx
mov edx, dword [esp + 0x68]
mov dword [ebp + 0x1c], edx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 8], ecx
mov edx, dword [esp + 0x68]
cmp edx, ecx
jle 0x4134f5
mov edx, dword [esp + 0x90]
mov ecx, ebx
sub ecx, edx
mov dword [esp + 0x14], ecx
jmp 0x4133bb
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x94]
mov esi, dword [esp + 0x20]
imul edx, dword [esp + 0x24]
add esi, edx
xor edx, edx
mov dword [esp + 0x1c], esi
repe cmpsb byte [esi], byte es:[edi]
je 0x4133dc
sbb edx, edx
sbb edx, 0xffffffff
xor ecx, ecx
test edx, edx
setne cl
mov edi, ecx
mov ecx, dword [esp + 0x64]
mov edx, 1
mov dword [esp + 0x18], edi
cmp ecx, edx
mov dword [esp + 0x90], edx
jle 0x41349a
mov ecx, dword [esp + 0x1c]
lea esi, [ecx + ebx]
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
mov edi, dword [esp + 0x18]
setne bl
cmp edi, ebx
jne 0x41342c
inc dword [esp + 0x90]
jmp 0x41347f
cmp edi, 1
jne 0x413462
mov esi, dword [esp + 0x90]
mov ecx, edx
sub ecx, esi
mov dword [eax + 8], edx
mov dword [eax], ecx
mov ecx, dword [esp + 0x94]
mov dword [eax + 4], ecx
inc ecx
mov dword [eax + 0xc], ecx
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add eax, 0x10
inc esi
add ecx, 0x10
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], ecx
inc edi
and edi, 0x80000001
jns 0x413470
dec edi
or edi, 0xfffffffe
inc edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x90], 1
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
inc edx
add esi, ebx
cmp edx, ecx
mov dword [esp + 0x1c], esi
jl 0x41340c
cmp edi, 1
jne 0x4134d4
mov esi, dword [esp + 0x90]
mov ecx, edx
sub ecx, esi
mov dword [eax + 8], edx
mov dword [eax], ecx
mov ecx, dword [esp + 0x94]
mov dword [eax + 4], ecx
add eax, 0x10
lea edx, [ecx + 1]
mov dword [eax - 4], edx
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
inc esi
add edx, 0x10
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], edx
jmp 0x4134db
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x68]
inc ecx
cmp ecx, edx
mov dword [esp + 0x94], ecx
jl 0x4133b3
mov edi, dword [esp + 0x10]
xor ecx, ecx
mov eax, dword [ebp + 0xc]
push ebp
add eax, 0x20
push eax
push ecx
call dword [0x43e060]
mov ecx, dword [esp + 0x8c]
push eax
call fcn.0043597f
push ebp
call fcn.0042e6b3
mov eax, dword [esp + 0x24]
push eax
call fcn.0042e6b3
push edi
call fcn.0042e6b3
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.004359d6
lea ecx, [esp + 0x3c]
call fcn.004350e0
mov esi, dword [esp + 0x88]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x2c], 0x440c80
mov dword [esi], ecx
mov dword [esi + 4], edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 3
call fcn.004359d6
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 0
call fcn.004350f6
lea ecx, [esp + 0x4c]
mov dword [esp + 0x80], 0xffffffff
call fcn.00435749
mov ecx, dword [esp + 0x78]
pop ebx
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x74
ret 0x10