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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43ce50
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 0x4134a4
cmp dword [edi + 4], esi
je 0x4134a4
mov ecx, edi
call fcn.00435dd7
mov ebp, dword [esp + 0x8c]
cmp ebp, esi
jne 0x4134e1
push esi
push esi
push esi
push esi
call dword [0x43e040]
push eax
mov ecx, edi
call fcn.00435d80
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.00435ad8
lea ecx, [esp + 0x3c]
mov dword [esp + 0x80], esi
call fcn.004353c2
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.00435479
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], 0x43e748
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.00435d80
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.004355ba
mov edx, dword [esp + 0x94]
lea ecx, [esp + 0x3c]
push edx
push 1
push 1
push esi
push esi
call fcn.00437af8
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.0042eabd
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.0042eabd
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.0042eabd
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 0x4137b5
mov edx, dword [esp + 0x90]
mov ecx, ebx
sub ecx, edx
mov dword [esp + 0x14], ecx
jmp 0x41367b
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 0x41369c
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 0x41375a
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 0x4136ec
inc dword [esp + 0x90]
jmp 0x41373f
cmp edi, 1
jne 0x413722
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 0x413730
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 0x4136cc
cmp edi, 1
jne 0x413794
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 0x41379b
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x68]
inc ecx
cmp ecx, edx
mov dword [esp + 0x94], ecx
jl 0x413673
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.00435d80
push ebp
call fcn.0042eae6
mov eax, dword [esp + 0x24]
push eax
call fcn.0042eae6
push edi
call fcn.0042eae6
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.00435dd7
lea ecx, [esp + 0x3c]
call fcn.004354e1
mov esi, dword [esp + 0x88]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x2c], vtable.UA_aXJf__n87rDraN_JT_Z_QXSGndvgY_D0I:.0
mov dword [esi], ecx
mov dword [esi + 4], edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 3
call fcn.00435dd7
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 0
call fcn.004354f7
lea ecx, [esp + 0x4c]
mov dword [esp + 0x80], 0xffffffff
call fcn.00435b4a
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