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

Disassembly:
push ebp
mov ecx, 0xa
push edi
push esi
push ebx
sub esp, 0xfc
mov eax, dword [esp + 0x128]
lea edi, [esp + 0xa0]
mov ebx, dword [esp + 0x114]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x12c]
mov dword [ebx + 0x115358], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x4c], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x124]
cmp dword [esp + 0x120], 2
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [eax + 0x1b0], 0
mov eax, dword [ebx + 0x6134]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x90], 0
mov edi, dword [eax]
mov dword [esp + 0x34], edi
mov dword [edi + 8], 0
jbe 0x70107857
lea edi, [ebx + 0x106244]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x110]
mov edi, dword [edi + 0x1f5ea4]
test edi, edi
je 0x70107e40
mov edi, dword [esp + 0x120]
xor ebp, ebp
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov edx, dword [edi*4 + 0x7079f040]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x28], esi
mov dword [esp + 0x54], 0
mov dword [esp + 0x40], edi
lea edi, [edx + 0x7d7bc]
mov dword [esp + 0x30], edi
mov esi, dword [ebx + 0x6130]
mov edi, eax
lea edx, [esi*4]
mov esi, dword [ebx + 0x6144]
sub edi, edx
xor edx, edx
mov ecx, dword [edi]
test esi, esi
je 0x7010754a
mov edx, dword [eax - 4]
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x110]
mov eax, dword [edi + eax*4 + 4]
bt eax, ebp
jae 0x70107840
mov eax, dword [edi + 0x15613c]
test eax, eax
je 0x70107f60
mov eax, dword [esp + 0x34]
lea edi, [esp + 0xc8]
mov edx, ebx
lea ecx, [esp + 0x80]
mov dword [eax], ebp
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x120]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x84]
mov dword [esp + 4], eax
lea eax, [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x110]
call fcn.701027b0
mov esi, dword [esp + 0x80]
cmp esi, 0x7fffffff
je 0x70107840
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov ecx, dword [edi + ebp*4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
add ecx, esi
mov eax, ecx
imul dword [ebx + 0x61e4]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
add dword [esp + 0x20], 0x80
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x20]
adc dword [esp + 0x24], 0
xor edi, edi
mov ecx, dword [esp + 0x24]
shrd edx, ecx, 8
sar ecx, 8
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx + 0x61e0]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x3c]
shld edx, eax, cl
shl eax, cl
test cl, 0x20
cmovne edx, eax
cmovne eax, edi
add dword [esp + 0x20], eax
adc dword [esp + 0x24], edx
mov edi, dword [esp + 0x24]
cmp edi, dword [esp + 0x28]
jg 0x701076ba
jge 0x70107d86
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x74], esi
mov dword [esp + 0x54], ebp
mov eax, dword [eax + 0x10]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], edx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x110]
mov eax, dword [eax + 0x1f5ea4]
test eax, eax
jne 0x70107840
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov eax, esi
mov edx, edi
not eax
xor edx, 0x7fffffff
or edx, eax
je 0x70107840
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0xcc]
mov ecx, eax
mov esi, edx
not ecx
xor esi, 0x7fffffff
or esi, ecx
je 0x70107840
mov ecx, dword [esp + 0x110]
add eax, dword [esp + 0x20]
adc edx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x156170]
mov esi, dword [esp + ecx*8 + 0xc8]
mov edi, dword [esp + ecx*8 + 0xcc]
sub eax, esi
sbb edx, edi
cmp edx, dword [esp + 0xa4]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
jle 0x70107da0
mov eax, dword [esp + 0xd0]
mov edx, dword [esp + 0xd4]
mov ecx, eax
mov esi, edx
not ecx
xor esi, 0x7fffffff
or esi, ecx
je 0x70107840
add eax, dword [esp + 0x20]
adc edx, dword [esp + 0x24]
sub eax, dword [esp + 0x38]
sbb edx, dword [esp + 0x3c]
cmp edx, dword [esp + 0xac]
jle 0x70107dc0
mov eax, dword [esp + 0xd8]
mov edx, dword [esp + 0xdc]
mov ecx, eax
mov esi, edx
not ecx
xor esi, 0x7fffffff
or esi, ecx
je 0x70107840
add eax, dword [esp + 0x20]
adc edx, dword [esp + 0x24]
sub eax, dword [esp + 0x38]
sbb edx, dword [esp + 0x3c]
cmp edx, dword [esp + 0xb4]
jle 0x70107de0
mov eax, dword [esp + 0xe0]
mov edx, dword [esp + 0xe4]
mov ecx, eax
mov esi, edx
not ecx
xor esi, 0x7fffffff
or esi, ecx
je 0x70107840
add eax, dword [esp + 0x20]
adc edx, dword [esp + 0x24]
sub eax, dword [esp + 0x38]
sbb edx, dword [esp + 0x3c]
cmp edx, dword [esp + 0xbc]
jle 0x70107e00
mov eax, dword [esp + 0xe8]
mov edx, dword [esp + 0xec]
mov ecx, eax
mov esi, edx
not ecx
xor esi, 0x7fffffff
or esi, ecx
je 0x70107840
add eax, dword [esp + 0x20]
adc edx, dword [esp + 0x24]
sub eax, dword [esp + 0x38]
sbb edx, dword [esp + 0x3c]
cmp edx, dword [esp + 0xc4]
jle 0x70107e20
lea esi, [esi]
add ebp, 1
cmp ebp, 0xa
je 0x70107c21
mov eax, dword [ebx + 0x6134]
jmp 0x70107528
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x6c]
mov edx, ebx
mov esi, dword [esp + 0x4c]
mov dword [esp + 8], eax
lea eax, [esp + 0x88]
mov dword [esp + 4], eax
lea eax, [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], esi
call fcn.70100640
cmp esi, edx
jle 0x70107ed1
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x124]
mov edx, ebx
mov dword [esp + 0xc], eax
lea eax, [esp + 0x90]
mov dword [esp + 8], eax
lea eax, [esp + 0x78]
mov dword [esp + 4], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x10], 3
call fcn.70106fe0
mov esi, dword [ebx + 0x6140]
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0x70]
test esi, esi
mov esi, dword [ebx + 0x6134]
jne 0x70107fa2
mov dword [esp + 0x20], esi
xor ecx, ecx
mov ebx, dword [ebx + 0x6144]
xor edx, edx
test ebx, ebx
je 0x70107907
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx - 4]
test ecx, ecx
je 0x70108018
movzx ebx, byte [ecx + 0x48]
test edx, edx
je 0x70108011
movzx ecx, byte [edx + 0x48]
add ebx, dword [esp + 0x110]
movzx edx, byte [ecx + ebx + 0x157663]
mov ebx, dword [esp + 0x118]
add eax, dword [edx*4 + 0x707ae320]
mov edx, dword [esp + 0x8c]
mov dword [ebx], eax
mov ebx, dword [esp + 0x11c]
mov eax, dword [esp + 0x88]
add eax, dword [esp + 0x90]
adc edx, dword [esp + 0x94]
mov dword [ebx], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 4], edx
mov ebx, dword [esp + 0x110]
mov edx, dword [ebx + 0x1f5ea4]
test edx, edx
jne 0x70107c06
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov eax, esi
mov edx, edi
not eax
xor edx, 0x7fffffff
or edx, eax
je 0x701079df
mov eax, dword [ebx + 0x156170]
mov edx, dword [esp + eax*8 + 0xa4]
mov eax, dword [esp + eax*8 + 0xa0]
mov ebp, edx
xor ebp, 0x7fffffff
mov ecx, eax
mov ebx, ebp
not ecx
or ebx, ecx
je 0x701079df
sub esi, eax
sbb edi, edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x124]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0xac]
mov dword [esp + 0x28], 0
mov dword [eax + 0x20c], esi
mov esi, dword [esp + 0xa8]
mov dword [eax + 0x208], ebx
mov edx, edi
xor edx, 0x7fffffff
mov eax, esi
not eax
or edx, eax
mov dword [esp + 0x2c], 0
je 0x70107a61
mov eax, dword [esp + 0x110]
mov eax, dword [eax + 0x156170]
mov edx, dword [esp + eax*8 + 0xa4]
mov eax, dword [esp + eax*8 + 0xa0]
mov ebp, edx
xor ebp, 0x7fffffff
mov ecx, eax
mov ebx, ebp
not ecx
or ebx, ecx
je 0x70107a61
sub esi, eax
sbb edi, edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x124]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0xb4]
mov dword [esp + 0x28], 0
mov dword [eax + 0x214], esi
mov esi, dword [esp + 0xb0]
mov dword [eax + 0x210], ebx
mov edx, edi
xor edx, 0x7fffffff
mov eax, esi
not eax
or edx, eax
mov dword [esp + 0x2c], 0
je 0x70107ae3
mov eax, dword [esp + 0x110]
mov eax, dword [eax + 0x156170]
mov edx, dword [esp + eax*8 + 0xa4]
mov eax, dword [esp + eax*8 + 0xa0]
mov ebp, edx
xor ebp, 0x7fffffff
mov ecx, eax
mov ebx, ebp
not ecx
or ebx, ecx
je 0x70107ae3
sub esi, eax
sbb edi, edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x124]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0xbc]
mov dword [esp + 0x28], 0
mov dword [eax + 0x21c], esi
mov esi, dword [esp + 0xb8]
mov dword [eax + 0x218], ebx
mov edx, edi
xor edx, 0x7fffffff
mov eax, esi
not eax
or edx, eax
mov dword [esp + 0x2c], 0
je 0x70107b65
mov eax, dword [esp + 0x110]
mov eax, dword [eax + 0x156170]
mov edx, dword [esp + eax*8 + 0xa4]
mov eax, dword [esp + eax*8 + 0xa0]
mov ebp, edx
xor ebp, 0x7fffffff
mov ecx, eax
mov ebx, ebp
not ecx
or ebx, ecx
je 0x70107b65
sub esi, eax
sbb edi, edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x124]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x28], 0
mov dword [eax + 0x224], esi
mov dword [eax + 0x220], ebx
mov eax, dword [esp + 0xc0]
mov edi, edx
xor edi, 0x7fffffff
mov dword [esp + 0x2c], 0
mov esi, eax
not esi
or edi, esi
je 0x70107be7
mov ebx, dword [esp + 0x110]
mov esi, dword [ebx + 0x156170]
mov edi, dword [esp + esi*8 + 0xa4]
mov esi, dword [esp + esi*8 + 0xa0]
mov ebp, edi
xor ebp, 0x7fffffff
mov ecx, esi
mov ebx, ebp
not ecx
or ebx, ecx
je 0x70107be7
sub eax, esi
sbb edx, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x124]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov dword [eax + 0x228], ebx
mov dword [eax + 0x22c], esi
mov eax, dword [esp + 0x20]
mov esi, dword [eax]
mov ecx, 0x21
mov edi, dword [esp + 0x124]
rep movsd dword es:[edi], dword [esi]
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
mov dword [eax], esi
mov dword [eax + 0x10], edi
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x4c], eax
jle 0x70107eb3
mov eax, dword [esp + 0x120]
mov edx, ebx
mov ecx, dword [esp + 0x124]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x90]
mov dword [esp + 8], eax
lea eax, [esp + 0x78]
mov dword [esp + 4], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x110]
call fcn.70106fe0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x701078d2
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x701078d2
mov ebp, dword [ebx + 0x6140]
xor ecx, ecx
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0x70]
sub eax, dword [esp + 0x74]
sub eax, dword [esp + 0x78]
test ebp, ebp
mov esi, dword [ebx + 0x6134]
jne 0x70107ff2
mov edi, dword [ebx + 0x6144]
xor edx, edx
test edi, edi
jne 0x70107fea
test ecx, ecx
je 0x70108026
movzx esi, byte [ecx + 0x48]
test edx, edx
je 0x7010801f
movzx ecx, byte [edx + 0x48]
add esi, dword [esp + 0x110]
mov edx, 0xff
movzx ecx, byte [ecx + esi + 0x157663]
mov esi, dword [esp + 0x118]
sub edx, ecx
add eax, dword [edx*4 + 0x707ae320]
mov edx, dword [esp + 0x8c]
mov dword [esi], eax
mov esi, dword [esp + 0x11c]
mov eax, dword [esp + 0x88]
add eax, dword [esp + 0x90]
adc edx, dword [esp + 0x94]
mov dword [esi], eax
mov eax, dword [esp + 0x124]
mov dword [esi + 4], edx
mov edx, 0x28
lea edi, [eax + 0x208]
test edi, 1
jne 0x7010803e
test edi, 2
jne 0x7010802d
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
jne 0x70107fdc
and edx, 1
jne 0x70107fd4
mov eax, dword [ebx + 0x6134]
jmp 0x70107c06
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x20], eax
jae 0x701076ba
jmp 0x7010766e
jge 0x70107ee2
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
jmp 0x70107749
jge 0x70107ef5
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
jmp 0x70107788
jge 0x70107f07
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
jmp 0x701077c7
jge 0x70107f20
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], edx
jmp 0x70107802
jge 0x70107f35
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], edx
jmp 0x70107840
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0xa4], 0x7fffffff
mov dword [esp + 0xa8], 0xffffffff
mov dword [esp + 0xac], 0x7fffffff
mov dword [esp + 0xb0], 0xffffffff
mov dword [esp + 0xb4], 0x7fffffff
mov dword [esp + 0xb8], 0xffffffff
mov dword [esp + 0xbc], 0x7fffffff
mov dword [esp + 0xc0], 0xffffffff
mov dword [esp + 0xc4], 0x7fffffff
jmp 0x701074e6
jge 0x70107f47
mov eax, dword [esp + 0x118]
mov dword [eax], 0x7fffffff
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
jl 0x70107eb9
cmp dword [esp + 0x50], eax
ja 0x70107893
lea esi, [esi]
jmp 0x70107eb9
cmp eax, dword [esp + 0xa0]
jae 0x70107749
nop
jmp 0x70107da6
cmp eax, dword [esp + 0xa8]
jae 0x70107788
jmp 0x70107dc6
cmp eax, dword [esp + 0xb0]
jae 0x701077c7
jmp 0x70107de6
cmp eax, dword [esp + 0xb8]
jae 0x70107802
lea esi, [esi]
jmp 0x70107e06
cmp eax, dword [esp + 0xc0]
jae 0x70107840
jmp 0x70107e26
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x50], eax
ja 0x70107c40
jmp 0x70107eb9
xor eax, eax
test ecx, ecx
je 0x70107f6d
mov edi, dword [ecx + 8]
test edi, edi
jle 0x70107fc0
xor ecx, ecx
test edx, edx
je 0x70107f7a
mov esi, dword [edx + 8]
test esi, esi
jle 0x70107f97
imul eax, eax, 0x190
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*8 + 0x106350]
lea eax, [ebx + eax + 0xc]
mov dword [esp + 0x44], eax
jmp 0x70107570
cmp dword [edx + 0x50], 2
ja 0x70107fd0
mov ecx, dword [edx + 0x60]
jmp 0x70107f7a
mov edi, dword [ebx + 0x6130]
mov dword [esp + 0x20], esi
lea edx, [edi*4]
mov edi, esi
sub edi, edx
mov ecx, dword [edi]
jmp 0x701078f4
cmp dword [ecx + 0x50], 2
ja 0x7010800a
mov eax, dword [ecx + 0x6c]
jmp 0x70107f6d
mov ecx, dword [edx]
jmp 0x70107f7a
mov byte [edi], 0
jmp 0x70107d7b
xor ebp, ebp
add edi, 2
mov word [edi - 2], bp
jmp 0x70107d72
mov edx, dword [esi - 4]
jmp 0x70107cd0
mov edi, dword [ebx + 0x6130]
lea edx, [edi*4]
mov edi, esi
sub edi, edx
mov ecx, dword [edi]
jmp 0x70107cc0
mov eax, dword [ecx]
jmp 0x70107f6d
xor ecx, ecx
jmp 0x7010791f
xor ebx, ebx
jmp 0x70107913
xor ecx, ecx
jmp 0x70107ce8
xor esi, esi
jmp 0x70107cdc
xor eax, eax
add edi, 2
mov word [edi - 2], ax
sub edx, 2
jmp 0x70107d60
mov byte [eax + 0x208], 0
mov eax, dword [esp + 0x124]
mov dl, 0x27
lea edi, [eax + 0x209]
jmp 0x70107d54