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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x68]
cmp eax, dword [ecx + 8]
jbe 0x50725a
sub esp, 0xe8
xor eax, eax
lea edi, [esp + 0xa8]
call fcn.004522a8
mov ebx, dword [esp + 0xec]
mov dword [esp], ebx
cmp dword [esp], 0
je 0x50724f
call fcn.004d61b0
mov ebx, dword [esp + 0xec]
mov dword [esp + 8], ebx
cmp dword [esp + 8], 0
je 0x507244
mov dword [esp], 4
mov eax, 0x6120d0
mov dword [esp + 4], eax
call fcn.00427ed0
cmp eax, 0
jne 0x507237
call fcn.004a6e00
mov esi, dword [esp]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0xec]
cmp ebx, 0
je 0x507230
mov ebp, dword [ebx + 0x18]
mov dword [esp + 0x78], ebp
mov ebp, dword [ebx + 0x1c]
mov dword [esp + 0x7c], ebp
mov ebp, dword [ebx + 0x20]
mov dword [esp + 0x80], ebp
mov ebp, dword [ebx + 0x24]
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], edx
mov ebp, edx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x94], eax
mov dword [esp + 0x74], eax
mov edx, 0x7b8a800
mov ecx, 0xfffffff2
xor ebx, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x68], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], edx
mov dword [esp], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x3b9aca00
mov dword [esp + 0xc], 0
call fcn.0044a7c0
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
add eax, ebx
adc edx, ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x3b9aca00
mov dword [esp + 0xc], 0
call fcn.0044a7c0
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov esi, 0x3b9aca00
xor ebx, ebx
mov ebp, edx
or ebp, ebx
jne 0x50721b
mul esi
mov ebx, eax
mov ecx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, ebx
sbb edx, ecx
mov ecx, eax
mov ebx, dword [esp + 0x70]
add ecx, ebx
cmp ecx, 0x3b9aca00
jl 0x5071f9
mov eax, dword [esp + 0x68]
add eax, 1
adc edi, 0
mov dword [esp + 0x68], eax
sub ecx, 0x3b9aca00
mov ebp, ecx
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], edi
mov ecx, edi
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0xa4], eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x28], eax
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x58], edx
mov eax, ecx
mov dword [esp + 0x5c], ecx
cmp edi, ecx
jg 0x506ecf
jl 0x506ea2
mov ebx, dword [esp + 0x28]
cmp ebx, edx
ja 0x506ecf
mov esi, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
mov eax, ecx
cmp ebp, ecx
jne 0x5071f2
cmp esi, edx
jne 0x5071f2
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x60]
cmp edx, ebx
jle 0x5071f2
mov ecx, 1
cmp cl, 0
je 0x506ee6
nop
call fcn.00428da0
add esp, 0xe8
ret
mov ebx, dword [esp + 0xec]
mov ebp, dword [esp + 0x88]
mov dword [ebx + 0x18], ebp
mov ebp, dword [esp + 0x8c]
mov dword [ebx + 0x1c], ebp
mov ebp, dword [esp + 0x90]
mov dword [ebx + 0x20], ebp
mov ebp, dword [esp + 0x94]
cmp byte [0x6cfdd8], 0
jne 0x5071de
mov dword [ebx + 0x24], ebp
mov ebx, dword [esp + 0xf4]
cmp ebx, 0
jne 0x506f87
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp], 0
call fcn.00507920
mov ebx, dword [esp + 4]
mov dword [esp + 0xf0], ebx
mov ebx, dword [esp + 8]
mov dword [esp + 0xf4], ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0xf8], ebx
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ecx
cmp ecx, 0
je 0x506f87
nop
call fcn.00428da0
add esp, 0xe8
ret
mov eax, dword [esp + 0xf4]
mov dword [esp], 0x5bee60
cdq
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00406380
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0xec]
cmp ebx, 0
je 0x5071d7
cmp byte [0x6cfdd8], 0
jne 0x5071c3
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0xf4]
mov dword [esp], 0x5be8a0
cdq
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00406380
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0xec]
cmp ebx, 0
je 0x5071bc
cmp byte [0x6cfdd8], 0
jne 0x5071a8
mov dword [ebx + 0x2c], ecx
mov ebp, dword [esp + 0xf0]
mov ecx, dword [esp + 0xf4]
mov ebx, dword [esp + 0xf8]
mov dword [esp + 0x44], ebx
xor edx, edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x3c], ebp
mov ecx, ebp
mov ebp, dword [esp + 0x18]
cmp edx, ebp
jge 0x507194
mov ebx, ecx
mov dword [esp + 0x30], ecx
cmp ecx, 0
je 0x5071a1
mov ebp, dword [ecx]
mov dword [esp + 0xc8], ebp
mov ebp, dword [ecx + 4]
mov dword [esp + 0xcc], ebp
mov ebp, dword [ecx + 8]
mov dword [esp + 0xd0], ebp
mov ebp, dword [ecx + 0xc]
mov dword [esp + 0xd4], ebp
mov edi, dword [ecx + 0x10]
mov esi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov ebp, dword [ebx + 0x1c]
mov dword [esp + 0x1c], edx
mov ebx, dword [esp + 0xc8]
mov dword [esp + 0xa8], ebx
mov ebx, dword [esp + 0xcc]
mov dword [esp + 0xac], ebx
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0xb0], ebx
mov ebx, dword [esp + 0xd4]
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xd8], edi
mov dword [esp + 0xb8], edi
mov dword [esp + 0xdc], esi
mov dword [esp + 0xbc], esi
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xc4], ebp
mov dword [esp], 0x5bee60
mov ebx, dword [esp + 0xec]
mov ebp, dword [ebx + 0x28]
mov dword [esp + 4], ebp
lea ebx, [esp + 0xa8]
mov dword [esp + 8], ebx
add dword [esp + 8], 8
lea ebx, [esp + 0xa8]
mov dword [esp + 0xc], ebx
call fcn.00406f90
mov dword [esp], 0x5be8a0
mov ebx, dword [esp + 0xec]
mov ebp, dword [ebx + 0x2c]
mov dword [esp + 4], ebp
lea ebx, [esp + 0xa8]
mov dword [esp + 8], ebx
lea ebx, [esp + 0xa8]
mov dword [esp + 0xc], ebx
add dword [esp + 0xc], 8
call fcn.00406f90
mov ecx, dword [esp + 0x30]
add ecx, 0x20
mov edx, dword [esp + 0x1c]
inc edx
mov ebp, dword [esp + 0x18]
cmp edx, ebp
jl 0x50705c
nop
call fcn.00428da0
add esp, 0xe8
ret
mov dword [ecx], eax
jmp 0x50706b
lea esi, [ebx + 0x2c]
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.0040e740
jmp 0x507027
mov dword [ebx], eax
jmp 0x507017
lea esi, [ebx + 0x28]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040e740
jmp 0x506fd7
mov dword [ebx], eax
jmp 0x506fc7
lea esi, [ebx + 0x24]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040e740
jmp 0x506f22
xor ecx, ecx
jmp 0x506ed4
cmp ecx, 0
jge 0x506e3e
mov eax, dword [esp + 0x68]
sub eax, 1
sbb edi, 0
mov dword [esp + 0x68], eax
add ecx, 0x3b9aca00
jmp 0x506e3e
imul edx, esi
mov ebp, eax
imul ebp, ebx
add ebp, edx
mov edx, esi
mul edx
add edx, ebp
jmp 0x506e06
mov dword [ebx], eax
jmp 0x506d0f
nop
call fcn.00428da0
add esp, 0xe8
ret
mov dword [0], eax
jmp 0x506ccd
mov dword [0], eax
jmp 0x506cb2
call fcn.004501c0
jmp fcn.00506c70