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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x70345840
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [esp + 0x70]
mov ecx, 0x100
mov esi, dword [edi + 8]
sub ecx, esi
shl ecx, 0xa
mov dword [esp + 0x24], esi
mov esi, ecx
sar esi, 0x10
cmp esi, 3
jg 0x70345a50
mov edx, esi
shl edx, 0x10
sub ecx, edx
test ecx, ecx
jle 0x70345a90
cmp ecx, 0x7fff
lea edi, [esi + 1]
jg 0x70345936
lea edx, [edi + edi*2]
mov dword [esp + 0x2c], edi
lea edi, [edx*4]
xor edx, edx
mov dword [esp + 0x28], edi
lea ebp, [edi - 0xc]
lea edi, [esp + 0x44]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x28]
mov ebx, dword [edi + edx*4 + 0x708b37a0]
sub ebx, dword [ebp + edx*4 + 0x708b37a0]
mov edi, ebx
movzx ebx, bx
sar edi, 0x10
imul ebx, ecx
imul edi, ecx
sar ebx, 0x10
add ebx, edi
mov edi, dword [esp + 0x20]
add ebx, dword [ebp + edx*4 + 0x708b37a0]
mov dword [edi + edx*4], ebx
add edx, 1
cmp edx, 3
jne 0x703458a0
mov ebp, dword [esp + 0x2c]
mov edi, dword [esi*8 + 0x708b3760]
mov edx, dword [ebp*8 + 0x708b3760]
sub edx, edi
mov ebx, edx
movzx edx, dx
sar ebx, 0x10
imul edx, ecx
imul ebx, ecx
sar edx, 0x10
add edx, ebx
mov ebx, dword [esi*8 + 0x708b3764]
add edx, edi
mov dword [esp + 0x3c], edx
mov edx, dword [ebp*8 + 0x708b3764]
sub edx, ebx
mov esi, edx
movzx edx, dx
sar esi, 0x10
imul edx, ecx
imul esi, ecx
sar edx, 0x10
add edx, esi
add ebx, edx
mov dword [esp + 0x40], ebx
jmp 0x703459e7
mov ebx, edi
xor edx, edx
lea ebp, [ebx + ebx*2]
shl ebp, 2
mov dword [esp + 0x2c], edi
lea ebx, [esp + 0x44]
movsx edi, cx
lea ecx, [ebp - 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x28]
mov ecx, dword [ebp + edx*4 + 0x708b37a0]
sub ecx, dword [ebx + edx*4 + 0x708b37a0]
mov ebx, ecx
movzx ecx, cx
sar ebx, 0x10
imul ecx, edi
imul ebx, edi
sar ecx, 0x10
add ecx, ebx
mov ebx, dword [esp + 0x20]
add ecx, dword [ebp + edx*4 + 0x708b37a0]
mov dword [ebx + edx*4], ecx
add edx, 1
cmp edx, 3
jne 0x70345956
mov ebp, dword [esp + 0x2c]
mov ebx, dword [ebp*8 + 0x708b3760]
mov edx, ebx
sub edx, dword [esi*8 + 0x708b3760]
mov ecx, edx
movzx edx, dx
sar ecx, 0x10
imul edx, edi
imul ecx, edi
sar edx, 0x10
add edx, ecx
add edx, ebx
mov dword [esp + 0x3c], edx
mov edx, dword [ebp*8 + 0x708b3764]
mov ecx, edx
sub ecx, dword [esi*8 + 0x708b3764]
mov ebx, ecx
movzx ecx, cx
sar ebx, 0x10
imul ecx, edi
imul ebx, edi
sar ecx, 0x10
add ecx, ebx
add edx, ecx
mov dword [esp + 0x40], edx
add eax, dword [esp + 0x24]
mov edx, 0
cmovs eax, edx
mov dx, 0x100
cmp eax, 0x100
cmovle edx, eax
mov eax, dword [esp + 0x70]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.70349260
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [0x708b37d0]
lea esi, [esp + 0x44]
mov ecx, dword [0x708b3780]
mov ebx, dword [0x708b3784]
mov dword [esp + 0x20], esi
mov dword [esp + 0x44], edx
mov edx, dword [0x708b37d4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], edx
mov edx, dword [0x708b37d8]
mov dword [esp + 0x4c], edx
jmp 0x703459e7
lea ecx, [esi + esi*2]
shl ecx, 2
lea edx, [ecx + 0x708b37a0]
mov ecx, dword [ecx + 0x708b37a0]
mov dword [esp + 0x44], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov edx, dword [esi*8 + 0x708b3760]
mov dword [esp + 0x3c], edx
mov edx, dword [esi*8 + 0x708b3764]
lea esi, [esp + 0x44]
mov dword [esp + 0x20], esi
mov dword [esp + 0x40], edx
jmp 0x703459e7