Function at 0x70b586
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
sub esp, 0x80
test dword [0x100b1eec], 0x100
push ebx
mov ebx, dword [esp + 0x88]
push esi
push edi
je 0x70a508
mov eax, dword [esp + 0x94]
push ebx
push eax
push 0x10080dac
call fcn.0071def6
add esp, 0xc
push 0x7c
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.00751ed6
add esp, 0xc
call fcn.006fe5a6
mov edi, dword [esp + 0x94]
push 0
push 0x21
lea edx, [esp + 0x18]
push edx
push 0
push ebx
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0x808
call fcn.006fe1a6
add esp, 4
call eax
mov esi, eax
test esi, esi
je 0x70a573
push 0x7e
push esi
call fcn.0071caf6
add esp, 4
push eax
push esi
push edi
push 0x10080d7c
call fcn.0071def6
add esp, 0x14
pop edi
pop esi
pop ebx
add esp, 0x80
ret
test dword [esp + 0x78], 0x1000
je 0x70a721
push ebx
mov ecx, 0x100b1c18
call fcn.00725cd6
test eax, eax
jne 0x70a721
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x64]
push ebp
push eax
push ecx
push edx
push ebx
push edi
push 0x10080d48
call fcn.0071def6
mov eax, dword [esp + 0x80]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
add esp, 0x18
mov dword [esp + 0x10], ebp
cmp eax, 8
je 0x70a764
cmp eax, 0x10
je 0x70a678
cmp eax, 0x20
jne 0x70a720
call fcn.00752598
xor edx, edx
test ebp, ebp
jle 0x70a614
jmp 0x70a5f6
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
imul ecx, edx
sar ecx, 2
lea edi, [edi + ecx*4]
test esi, esi
jle 0x70a60f
mov ecx, esi
rep stosd dword es:[edi], eax
inc edx
cmp edx, ebp
jl 0x70a5f6
xor edx, edx
test ebp, ebp
jle 0x70a720
jmp 0x70a626
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
imul eax, edx
sar eax, 2
lea edi, [ecx + eax*4]
xor eax, eax
test esi, esi
jle 0x70a654
jmp 0x70a646
mov dword [edi + eax*4], 0
add eax, 0x10
cmp eax, esi
jl 0x70a646
mov eax, edx
and eax, 0x8000000f
jns 0x70a662
dec eax
or eax, 0xfffffff0
inc eax
jne 0x70a66e
test esi, esi
jle 0x70a66e
mov ecx, esi
xor eax, eax
rep stosd dword es:[edi], eax
inc edx
cmp edx, ebp
jl 0x70a626
jmp 0x70a720
call fcn.00752598
mov ebx, eax
and ebx, 0x7fff
xor edx, edx
test ebp, ebp
jle 0x70a6bf
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
imul ecx, edx
sar ecx, 1
lea edi, [eax + ecx*2]
test esi, esi
jle 0x70a6ba
mov eax, ebx
movzx ebp, ax
mov eax, ebp
shl ebp, 0x10
or eax, ebp
mov ebp, dword [esp + 0x10]
mov ecx, esi
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
inc edx
cmp edx, ebp
jl 0x70a68b
xor edx, edx
test ebp, ebp
jle 0x70a719
nop
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
imul ecx, edx
sar ecx, 1
lea edi, [eax + ecx*2]
xor eax, eax
test esi, esi
jle 0x70a6e9
xor ecx, ecx
mov word [edi + eax*2], cx
add eax, 0x10
cmp eax, esi
jl 0x70a6dc
mov eax, edx
and eax, 0x8000000f
jns 0x70a6f7
dec eax
or eax, 0xfffffff0
inc eax
jne 0x70a714
test esi, esi
jle 0x70a714
xor eax, eax
movzx ebx, ax
mov eax, ebx
shl ebx, 0x10
or eax, ebx
mov ecx, esi
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
inc edx
cmp edx, ebp
jl 0x70a6c6
mov ebx, dword [esp + 0x94]
pop ebp
mov edx, dword [esp + 0x94]
push 0
push ebx
push edx
call fcn.006fe156
add esp, 4
call eax
mov esi, eax
test esi, esi
je 0x70a75a
push 0xba
push esi
call fcn.0071caf6
add esp, 4
push eax
push esi
push ebx
push 0x10080d10
call fcn.0071def6
add esp, 0x14
pop edi
pop esi
pop ebx
add esp, 0x80
ret
call fcn.00752598
xor edi, edi
mov byte [esp + 0x10], al
test ebp, ebp
jle 0x70a79d
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
imul eax, edi
add eax, dword [esp + 0x38]
test esi, esi
jle 0x70a791
push esi
push ebx
push eax
call fcn.00751ed6
add esp, 0xc
inc edi
cmp edi, ebp
jl 0x70a777
mov ebx, dword [esp + 0x94]
xor edi, edi
test ebp, ebp
jle 0x70a720
mov eax, dword [esp + 0x24]
imul eax, edi
add eax, dword [esp + 0x38]
xor ecx, ecx
test esi, esi
jle 0x70a7c3
mov byte [ecx + eax], 0
add ecx, 0x10
cmp ecx, esi
jl 0x70a7b8
mov ecx, edi
and ecx, 0x8000000f
jns 0x70a7d2
dec ecx
or ecx, 0xfffffff0
inc ecx
jne 0x70a7e4
test esi, esi
jle 0x70a7e4
push esi
push 0
push eax
call fcn.00751ed6
add esp, 0xc
inc edi
cmp edi, ebp
jl 0x70a7a7
jmp 0x70a720
sub esp, 0x384
mov eax, dword [0x100abd0c]
xor eax, esp
mov dword [esp + 0x380], eax
test dword [0x100b1eec], 0x100
push ebx
push ebp
mov ebp, dword [esp + 0x390]
push esi
push edi
mov dword [esp + 0x10], ebp
je 0x70a83b
mov eax, dword [esp + 0x39c]
push ebp
push eax
push 0x10080ec4
call fcn.0071def6
add esp, 0xc
cmp dword [0x100a8414], 0
je 0x70a969
call fcn.0071dbf6
push eax
lea ecx, [esp + 0x18c]
push 0x1007a6f0
push ecx
call fcn.007514e7
mov esi, dword [0x1007941c]
add esp, 0xc
lea edx, [esp + 0x188]
push edx
push 0
push 0x1007a6e8
push 0x1007a6e0
call esi
mov dword [0x100aeac4], eax
lea eax, [esp + 0x188]
push eax
push 0
push 0x1007a6d8
push 0x1007a6e0
call esi
lea ecx, [esp + 0x188]
push ecx
push 0
push 0x1007a6d0
push 0x1007a6e0
mov dword [0x100aeac0], eax
call esi
lea edx, [esp + 0x188]
push edx
push 0
push 0x1007a6c8
push 0x1007a6e0
mov dword [0x100aeabc], eax
call esi
mov dword [0x100aeab8], eax
call fcn.0071dbf6
push eax
push 0x1007a6b8
lea eax, [esp + 0x294]
push 0x104
push eax
call fcn.00751564
add esp, 0x10
push 0
lea ecx, [esp + 0x290]
push ecx
call dword [0x10079420]
mov ecx, dword [0x100b1ee0]
xor eax, eax
mov dword [0x100aeab4], eax
test ecx, 0x200
je 0x70a924
mov eax, 1
mov dword [0x100aeab4], eax
test ecx, 0x1000
je 0x70a936
mov eax, 2
mov dword [0x100aeab4], eax
mov edx, dword [0x100aeab8]
mov ecx, dword [0x100aeabc]
push eax
mov eax, dword [0x100aeac0]
push edx
mov edx, dword [0x100aeac4]
push eax
push ecx
push edx
push 0x1007a680
call fcn.0071def6
add esp, 0x18
mov dword [0x100a8414], 0
push 0x7c
lea eax, [esp + 0x28]
push 0
push eax
call fcn.00751ed6
add esp, 0xc
call fcn.006fe5a6
mov edi, dword [esp + 0x39c]
push 0
push 0x21
lea ecx, [esp + 0x2c]
push ecx
push 0
push ebp
push edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0x808
call fcn.006fe1a6
add esp, 4
call eax
mov esi, eax
test esi, esi
je 0x70a9d1
push 0xde
push esi
call fcn.0071caf6
add esp, 4
push eax
push esi
push 0x10080e98
call fcn.0071def6
add esp, 0x10
jmp 0x70abf5
test dword [esp + 0x8c], 0x1000
je 0x70abbc
push ebp
mov ecx, 0x100b1c18
call fcn.00725cd6
test eax, eax
jne 0x70abbc
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x78]
push edx
push eax
push ecx
push ebp
push edi
push 0x10080e64
call fcn.0071def6
mov eax, dword [0x100aeac4]
mov ebx, dword [esp + 0x48]
add esp, 0x18
test eax, eax
je 0x70aa24
cmp ebx, eax
jl 0x70aa35
mov eax, dword [0x100aeabc]
mov edi, dword [esp + 0x2c]
test eax, eax
je 0x70aa47
cmp edi, eax
jge 0x70aa47
push 0x1007a65c
call fcn.0071def6
add esp, 4
jmp 0x70abbc
mov eax, dword [0x100aeac0]
test eax, eax
je 0x70aa54
cmp ebx, eax
jg 0x70aa61
mov eax, dword [0x100aeab8]
test eax, eax
je 0x70aa73
cmp edi, eax
jle 0x70aa73
push 0x1007a63c
call fcn.0071def6
add esp, 4
jmp 0x70abbc
mov esi, dword [esp + 0x78]
test esi, esi
jne 0x70aa8d
push 0x10080e44
call fcn.0071def6
add esp, 4
jmp 0x70abbc
cmp dword [esp + 0x34], 0
je 0x70aef8
test edi, edi
je 0x70aef8
push 0x6c
lea edx, [esp + 0xa4]
push 0
push edx
call fcn.00751ed6
movzx eax, si
imul eax, ebx
add eax, 0x1f
and eax, 0xffffffe0
cdq
and edx, 7
add eax, edx
mov ebp, eax
sar ebp, 3
mov eax, ebp
imul eax, edi
mov ecx, edi
neg ecx
mov dword [esp + 0xb4], ecx
mov ecx, 1
mov dword [esp + 0xc0], eax
add esp, 0xc
mov edx, ecx
xor eax, eax
mov dword [esp + 0xa0], 0x6c
mov dword [esp + 0xa4], ebx
mov word [esp + 0xae], si
mov word [esp + 0xac], dx
mov dword [esp + 0xb0], 3
cmp si, 8
jne 0x70ab25
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
cmp si, 8
jne 0x70ab4b
mov dword [esp + 0xc0], 0x100
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x84]
push edi
mov dword [esp + 0xc8], eax
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x38]
push ebx
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xd4], edx
mov edx, dword [esp + 0x90]
push eax
push ecx
mov dword [esp + 0xe4], edx
call fcn.0070a286
add esp, 0x10
test eax, eax
jne 0x70ac0e
mov edx, dword [esp + 0x10]
push edx
push 0x10080e20
call fcn.0071def6
add esp, 8
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x39c]
push 0
push ebp
push edx
call fcn.006fe156
add esp, 4
call eax
mov esi, eax
test esi, esi
je 0x70abf5
push 0x16b
push esi
call fcn.0071caf6
add esp, 4
push eax
push esi
push ebp
push 0x10080de8
call fcn.0071def6
add esp, 0x14
mov ecx, dword [esp + 0x390]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00750c33
add esp, 0x384
ret
mov ecx, dword [0x100aeab4]
sub ecx, 0
je 0x70ac31
sub ecx, 1
je 0x70ac2a
sub ecx, 1
jne 0x70ac38
mov ecx, 0x1007a604
jmp 0x70ac3c
mov ecx, 0x1007a600
jmp 0x70ac3c
mov ecx, 0x1007a5fc
jmp 0x70ac3c
mov ecx, dword [esp + 0x10]
push ecx
push eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x94]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0070a316
mov ecx, dword [esp + 0x58]
add esp, 0x20
push eax
mov eax, dword [esp + 0x38]
push eax
push ecx
call fcn.0071dbf6
push eax
push 0x1007a5d0
lea edx, [esp + 0x2a8]
push 0x104
push edx
call fcn.00751564
lea eax, [esp + 0x2b0]
push 0x1007a5cc
push eax
call fcn.00750d06
mov esi, eax
add esp, 0x2c
test esi, esi
je 0x70abb8
mov eax, dword [0x100aeab4]
sub eax, 0
je 0x70ae41
sub eax, 1
je 0x70adfc
sub eax, 1
jne 0x70aeea
push esi
push 1
push 4
push 0x1007a5c4
call fcn.00752259
mov edi, dword [0x10079450]
add esp, 0x10
cmp eax, 1
je 0x70aced
call edi
push eax
push 0x1007a5a0
call fcn.0071def6
add esp, 8
push 0x7c
lea ecx, [esp + 0x110]
push 0
push ecx
call fcn.00751ed6
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x128], ecx
mov ecx, dword [esp + 0x8c]
push esi
mov dword [esp + 0x124], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x8c]
push 1
mov dword [esp + 0x17c], ecx
mov dword [esp + 0x184], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0x120]
push 0x7c
push ecx
mov dword [esp + 0x128], 0x7c
mov dword [esp + 0x12c], 0x100f
mov dword [esp + 0x170], 0x20
mov dword [esp + 0x174], 0x40
mov dword [esp + 0x188], edx
mov dword [esp + 0x17c], eax
call fcn.00752259
add esp, 0x1c
cmp eax, 1
je 0x70adbb
call edi
push eax
push 0x1007a5a0
call fcn.0071def6
add esp, 8
mov edx, dword [esp + 0x34]
imul edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
push esi
push 1
push edx
push eax
call fcn.00752259
add esp, 0x10
cmp eax, 1
je 0x70aeea
call edi
push eax
push 0x1007a5a0
call fcn.0071def6
add esp, 8
push esi
call fcn.007515f9
add esp, 4
jmp 0x70abb8
mov ecx, dword [esp + 0x34]
imul ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x48]
push esi
push 1
push ecx
push edx
call fcn.00752259
add esp, 0x10
cmp eax, 1
je 0x70aeea
call dword [0x10079450]
push eax
push 0x1007a5a0
call fcn.0071def6
add esp, 8
push esi
call fcn.007515f9
add esp, 4
jmp 0x70abb8
mov ecx, dword [esp + 0xb4]
mov eax, 0x4d42
mov word [esp + 0x14], ax
mov eax, dword [esp + 0xc0]
lea edx, [ecx + eax*4]
mov ecx, dword [esp + 0xa0]
push esi
lea edx, [edx + ecx + 0xe]
lea eax, [ecx + eax*4 + 0xe]
push 1
mov dword [esp + 0x1e], edx
xor edx, edx
lea ecx, [esp + 0x1c]
push 0xe
push ecx
mov word [esp + 0x2a], dx
mov word [esp + 0x2c], dx
mov dword [esp + 0x2e], eax
call fcn.00752259
push esi
push 1
lea edx, [esp + 0xb8]
push 0x6c
push edx
call fcn.00752259
mov eax, dword [esp + 0xe0]
add esp, 0x20
test eax, eax
je 0x70aec3
push esi
add eax, eax
push 1
add eax, eax
push eax
push 0x100ae0e0
call fcn.00752259
add esp, 0x10
xor edi, edi
cmp dword [esp + 0x2c], edi
jle 0x70aeea
mov ecx, edi
imul ecx, dword [esp + 0x34]
add ecx, dword [esp + 0x48]
push esi
push 1
push ebp
push ecx
call fcn.00752259
inc edi
add esp, 0x10
cmp edi, dword [esp + 0x2c]
jl 0x70aecb
push esi
call fcn.007515f9
add esp, 4
jmp 0x70abb8
push 0x10080dc8
call fcn.0071def6
add esp, 4
jmp 0x70abbc
sub esp, 0x7c
test dword [0x100b1eec], 0x100
push ebx
mov ebx, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x8c]
push esi
je 0x70b415
push ebx
push ebp
push 0x10081058
call fcn.0071def6
add esp, 0xc
push 0x7c
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00751ed6
add esp, 0xc
call fcn.006fe5a6
push 0
push 0x21
lea ecx, [esp + 0x14]
push ecx
push 0
push ebx
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x808
call fcn.006fe1a6
add esp, 4
call eax
mov esi, eax
test esi, esi
je 0x70b479
push 0x207
push esi
call fcn.0071caf6
add esp, 4
push eax
push esi
push ebp
push 0x10081028
call fcn.0071def6
add esp, 0x14
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
test dword [esp + 0x74], 0x1000
je 0x70b547
push ebx
mov ecx, 0x100b1c18
call fcn.00725cd6
test eax, eax
jne 0x70b547
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x60]
push edi
push edx
push eax
push ecx
push ebx
push ebp
push 0x10080ff0
call fcn.0071def6
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
add esp, 0x18
mov edi, eax
cmp ecx, 0x10
je 0x70b508
cmp ecx, 0x20
jne 0x70b546
xor esi, esi
test eax, eax
jle 0x70b546
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
imul eax, esi
sar eax, 2
lea eax, [ecx + eax*4]
test edx, edx
jle 0x70b501
add eax, 3
mov ecx, edx
jmp 0x70b4f6
mov byte [eax], 0x7f
add eax, 4
sub ecx, 1
jne 0x70b4f6
inc esi
cmp esi, edi
jl 0x70b4d7
jmp 0x70b546
xor esi, esi
test eax, eax
jle 0x70b546
jmp 0x70b516
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
imul eax, esi
sar eax, 1
lea ecx, [ecx + eax*2]
xor eax, eax
test edx, edx
jle 0x70b541
mov ebp, 0x8000
or word [ecx + eax*2], bp
inc eax
cmp eax, edx
jl 0x70b52c
mov ebp, dword [esp + 0x94]
inc esi
cmp esi, edi
jl 0x70b516
pop edi
push 0
push ebx
push ebp
call fcn.006fe156
add esp, 4
call eax
mov esi, eax
test esi, esi
je 0x70b579
push 0x228
push esi
call fcn.0071caf6
add esp, 4
push eax
push esi
push ebx
push 0x10080fb8
call fcn.0071def6
add esp, 0x14
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
mov eax, dword [0x100b1ed4]
and eax, 0x1e000
cmp eax, 0x4000
je 0x70b5c1
cmp eax, 0x8000
je 0x70b5af
cmp eax, 0x10000
je 0x70b5aa
jmp 0x70a4d6
jmp 0x70b3e6
mov ecx, dword [esp + 8]
push ecx
mov ecx, dword [esp + 8]
call fcn.0070af16
add esp, 4
ret
jmp 0x70a7f6