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

Disassembly:
test eax, 0x700000
jne 0x70d45658
lea eax, [edi + 1]
cdq
sub eax, edx
sar eax, 1
jmp 0x70d435d5
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], eax
jmp 0x70d434ab
mov eax, dword [esi + 4]
movsx eax, word [eax + 0x116]
push eax
push dword [ebp - 0xc]
call fcn.70d475eb
test eax, eax
mov dword [esi + 0x64], eax
jl 0x70d79de6
jmp 0x70d434c9
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x9c]
mov edx, dword [eax + 0x1c]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x40]
add eax, edx
test ecx, ecx
push edi
je 0x70d45629
lea edi, [edx + ecx]
test edi, edi
je 0x70d79d48
test byte [esi + 0x60], 3
je 0x70d79d48
movzx edx, byte [edi + 0x4b]
xor ecx, ecx
mov ch, byte [edi + 0x4a]
movsx ecx, cx
or ecx, edx
xor edx, edx
mov dh, byte [edi + 0x4c]
movzx edi, byte [edi + 0x4d]
neg ecx
mov dword [ebp + 8], ecx
movsx edx, dx
or edx, edi
mov dword [ebp - 4], edx
xor ebx, ebx
mov bh, byte [eax + 0x24]
movsx edi, bx
movzx ebx, byte [eax + 0x25]
or edi, ebx
xor ebx, ebx
mov bh, byte [eax + 0x28]
movzx eax, byte [eax + 0x29]
movsx ebx, bx
or ebx, eax
mov eax, dword [esi + 0x14]
test ah, 0x40
jne 0x70d79d78
test eax, 0x4000000
jne 0x70d79d96
xor eax, eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x60]
test al, 1
je 0x70d79dfb
test al, 8
jne 0x70d79dfb
mov eax, dword [esi + 0x3c]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x4c]
push ecx
push eax
mov dword [ebp - 0xc], eax
call fcn.70d475eb
push dword [ebp - 4]
mov dword [ebp + 8], eax
push dword [ebp - 0xc]
call fcn.70d475eb
cmp dword [ebp - 0xc], 0
mov dword [ebp - 4], eax
jle 0x70d79dc8
test byte [esi + 0x16], 0x34
jne 0x70d43486
push esi
call fcn.70d43d4a
mov eax, dword [ebp - 4]
test byte [esi + 0x60], 4
mov ecx, dword [ebp + 8]
je 0x70d20441
cmp ecx, dword [esi + 0x80]
jl 0x70d79dbd
cmp eax, dword [esi + 0x84]
jg 0x70d20447
mov eax, dword [esi + 0x80]
neg eax
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x84]
mov dword [esi + 0x74], eax
cmp dword [esi + 0x64], 0
je 0x70d20452
push dword [esi + 0x1c]
mov eax, dword [esi + 0x64]
push 0x48
shl eax, 0x10
push eax
call fcn.70d46ed4
push dword [ebp - 8]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x84]
sub eax, dword [esi + 0x80]
shl edi, 4
push edi
mov dword [ebp - 0x10], eax
call fcn.70d475eb
push dword [ebp - 8]
shl ebx, 4
push ebx
mov edi, eax
call fcn.70d475eb
cmp dword [ebp - 8], 0
jl 0x70d79df0
sar edi, 4
dec edi
add eax, 0xf
dec edi
sar eax, 4
inc eax
mov dword [esi + 0x7c], eax
sub eax, edi
mov dword [esi + 0x78], edi
mov edi, eax
test byte [esi + 0x60], 3
je 0x70d4354e
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x4c]
cmp ecx, eax
jne 0x70d45630
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x48]
cmp ecx, eax
jne 0x70d4563f
push esi
call fcn.70d43316
test byte [esi + 0x15], 0x20
jne 0x70d4561e
and word [esi + 0xac], 0
test edi, edi
je 0x70d4565f
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x70d4565f
test byte [esi + 0x15], 0x20
jne 0x70d454dd
add edi, 7
and edi, 0xfffffff8
lea eax, [edi + 0x1f]
and eax, 0xffffffe0
cdq
push 8
pop ecx
idiv ecx
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], ebx
mul ebx
test edx, edx
ja 0x70d4565f
cmp eax, 0xffffffff
ja 0x70d4565f
test byte [esi + 0x16], 0x60
push esi
jne 0x70d4564e
call fcn.70d435f1
mov eax, dword [esi + 0x14]
test eax, 0x10000
jne 0x70d01ee8
lea eax, [edi + 7]
push 8
cdq
pop ecx
idiv ecx
imul eax, ebx
add eax, 3
and eax, 0xfffffffc
add eax, 0x18
mov dword [esi + 0x90], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4
movzx eax, word [esi + 0xac]
add edi, eax
add ebx, eax
jmp 0x70d4357d
push esi
call fcn.70d45666
jmp 0x70d43560
xor edi, edi
jmp 0x70d433c2
neg eax
cmp ecx, eax
jne 0x70d4354e
jmp 0x70d4353a
neg eax
cmp ecx, eax
jne 0x70d4354e
jmp 0x70d43548
call fcn.70dc38d8
jmp 0x70d435be
mov eax, edi
jmp 0x70d435d5
xor eax, eax
jmp 0x70d435ea
movzx edx, byte [eax + 0x2b]
xor ecx, ecx
mov ch, byte [eax + 0x2a]
movsx ecx, cx
or ecx, edx
movzx edx, byte [eax + 0x27]
neg ecx
mov dword [ebp + 8], ecx
xor ecx, ecx
mov ch, byte [eax + 0x26]
movsx ecx, cx
or ecx, edx
neg ecx
mov dword [ebp - 4], ecx
mov edx, ecx
mov ecx, dword [ebp + 8]
jmp 0x70d433f8
push 0x5700
push edx
call fcn.70d475eb
push 0x5700
push dword [ebp + 8]
sub edi, eax
call fcn.70d475eb
sub ebx, eax
jmp 0x70d79db2
push 0x5700
push edi
call fcn.70d475eb
add dword [ebp + 8], eax
push 0x5700
push ebx
call fcn.70d475eb
add dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
jmp 0x70d4342b
mov dword [esi + 0x80], ecx
jmp 0x70d4349f
mov ecx, dword [ebp + 8]
mov edx, eax
neg edx
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], edx
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], ecx
jmp 0x70d434bf
neg eax
mov dword [esi + 0x64], eax
jmp 0x70d434c9
mov ecx, edi
mov edi, eax
mov eax, ecx
jmp 0x70d43510
mov eax, dword [esi + 4]
movzx eax, word [eax + 0xe4]
shr eax, 6
sub ecx, eax
mov dword [ebp + 8], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], ecx
push 4
lea ecx, [ebp - 0x38]
push ecx
add edx, eax
lea ecx, [ebp - 0x58]
lea eax, [esi + 0x24]
push ecx
push eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edx
call fcn.70dc3429
test eax, eax
je 0x70d4565f
mov ebx, dword [ebp - 0x58]
mov edi, dword [ebp - 0x54]
xor ecx, ecx
inc ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], edi
mov edx, ecx
mov eax, dword [ebp + edx*8 - 0x58]
cmp eax, dword [ebp - 8]
jge 0x70d79e62
mov dword [ebp - 8], eax
cmp eax, ebx
jle 0x70d79e68
mov ebx, eax
mov eax, dword [ebp + edx*8 - 0x54]
cmp eax, dword [ebp - 0xc]
jge 0x70d79e74
mov dword [ebp - 0xc], eax
cmp eax, edi
jle 0x70d79e7a
mov edi, eax
inc edx
cmp edx, 4
jl 0x70d79e56
sar dword [ebp - 8], 4
sar dword [ebp - 0xc], 4
and dword [ebp - 0x34], 0
and dword [ebp - 0x30], 0
or dword [ebp - 0x2c], 0xffffffff
add ebx, 0xf
sar ebx, 4
mov eax, ebx
sub eax, dword [ebp - 8]
add edi, 0xf
mov dword [ebp - 0x18], eax
sar edi, 4
mov eax, edi
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x10], eax
lea eax, [esi + 0xa0]
push eax
lea eax, [esi + 0x24]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.70dc34fa
mov dword [ebp - 0x14], eax
lea eax, [esi + 0xa4]
push eax
lea eax, [esi + 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.70dc34fa
mov ecx, dword [ebp - 0x14]
test ecx, eax
je 0x70d4565f
push dword [ebp + 8]
lea eax, [esi + 0xa4]
push eax
call fcn.70dc3625
push dword [ebp - 4]
neg eax
mov dword [esi + 0x70], eax
lea eax, [esi + 0xa4]
push eax
call fcn.70dc3625
mov ecx, dword [esi + 0x70]
add eax, 0xf
sar eax, 4
mov dword [esi + 0x74], eax
mov eax, dword [ebp - 8]
add ecx, 0xf
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 0xc]
sar ecx, 4
push esi
mov dword [esi + 0x70], ecx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], edi
call fcn.70dc37c1
push 0x48
push dword [esi + 0x1c]
mov dword [esi + 0x68], eax
push eax
call fcn.70d46ed4
mov edi, dword [ebp - 0x18]
add eax, 0x8000
sar eax, 0x10
movzx eax, ax
mov dword [esi + 0x64], eax
jmp 0x70d43526