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

Disassembly:
push ebp
mov ebp, eax
push edi
mov edi, edx
push esi
push ebx
xor ebx, ebx
sub esp, 0xac
mov esi, dword [ecx + 8]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xcc]
cmp dword [esp + 0xcc], 2
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], esi
mov eax, dword [eax*4 + 0x7079f300]
setbe bl
mov dword [esp + 0x74], ebx
mov ebx, dword [ecx]
mov dword [esp + 0x40], edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xcc]
mov eax, dword [eax*4 + 0x7079f380]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x26ec]
imul ebx, eax
imul eax, dword [esp + 0xc0]
add eax, dword [esp + 0xc4]
add esi, ebx
mov ebx, dword [ebp + 0x2718]
lea ecx, [eax*4]
mov edx, eax
sub edx, esi
mov esi, dword [esp + 0xcc]
add ebx, ecx
add ecx, dword [ebp + 0x2720]
mov dword [edi + 0xd4], ebx
mov dword [edi + 0xd8], ecx
mov ecx, edx
shl ecx, 7
lea edx, [ecx + edx*4]
add edx, dword [edi + 0xdc]
mov dword [ebx], edx
mov eax, dword [edi + 0xd4]
mov ebx, dword [ebp + 0x2710]
mov eax, dword [eax]
test ebx, ebx
mov dword [eax + 0x50], esi
je 0x700b0151
mov eax, dword [edi + 0xd8]
mov eax, dword [eax]
mov edi, dword [esp + 0x40]
mov dword [edi + 0xcc], eax
mov eax, dword [esp + 0xc4]
mov edx, edi
mov ecx, dword [edi + 0x10]
add edx, 0x118
lea ebx, [eax + eax]
mov eax, dword [esp + 0xc0]
mov ebp, ebx
sar ebp, cl
mov dword [esp + 0x48], ecx
mov ecx, dword [edi + 0x10c]
add eax, eax
and eax, 0xe
mov esi, eax
add ecx, ebp
mov ebp, dword [edi + 0x14]
mov dword [edi + 0x34], ecx
mov ecx, ebp
sar esi, cl
mov ecx, esi
mov esi, dword [edi + 0x4c]
add ecx, edx
mov dword [edi + 0x38], ecx
mov dword [esp + 0x4c], ebp
mov ebp, ebx
mov ecx, esi
sar ebp, cl
mov ecx, dword [edi + 0x110]
mov dword [esp + 0x50], esi
mov esi, dword [edi + 0x50]
add ecx, ebp
mov ebp, eax
mov dword [edi + 0x70], ecx
mov ecx, esi
sar ebp, cl
lea ecx, [edx + ebp + 0x10]
mov ebp, dword [esp + 0xc0]
mov dword [edi + 0x74], ecx
mov ecx, dword [edi + 0x88]
mov dword [esp + 0x58], esi
neg ebp
sar ebx, cl
add ebx, dword [edi + 0x114]
mov dword [esp + 0x5c], ecx
mov dword [edi + 0xac], ebx
mov ebx, dword [edi + 0x8c]
mov ecx, ebx
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x54]
sar eax, cl
lea eax, [edx + eax + 0x20]
mov ecx, ebp
mov dword [edi + 0xb0], eax
shl ecx, 6
mov edx, dword [ebx + 0x26e0]
sub edx, dword [esp + 0x38]
sub edx, dword [esp + 0xc0]
mov eax, dword [ebx + 0x26e8]
mov dword [edi + 0xf0], ecx
shl edx, 6
mov dword [edi + 0xf4], edx
mov edx, dword [esp + 0xc4]
neg edx
shl edx, 6
mov dword [edi + 0xe8], edx
mov edx, dword [esp + 0xc0]
sub eax, dword [esp + 0x3c]
sub eax, dword [esp + 0xc4]
shl eax, 6
mov dword [edi + 0xec], eax
xor eax, eax
test edx, edx
setne al
mov dword [edi + 0xe0], eax
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0xc4]
setl al
movzx eax, al
mov dword [edi + 0xe4], eax
imul eax, dword [ebx + 0x2658], 0x5c
lea eax, [ebx + eax + 0x20c8]
mov ebp, dword [eax + 0x38]
mov ecx, dword [eax + 0x10]
mov ebx, dword [eax + 0x3c]
mov esi, dword [eax + 0x34]
mov dword [esp + 0x34], ebp
mov eax, dword [eax + 0x24]
mov dword [esp + 0x84], ebp
mov ebp, dword [esp + 0xc4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x90], ecx
movzx ecx, byte [esp + 0x48]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x88], ebx
lea ebx, [ebp*8]
mov ebp, dword [esp + 0xc0]
mov edi, ebx
sar edi, cl
movzx ecx, byte [esp + 0x4c]
mov dword [esp + 0x80], esi
lea edx, [ebp*8]
mov ebp, edx
sar ebp, cl
mov ecx, ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
imul ecx, ebp
add edi, ecx
movzx ecx, byte [esp + 0x50]
add esi, edi
mov edi, dword [esp + 0x40]
mov dword [edi + 0x1c], ebp
mov ebp, ebx
sar ebp, cl
movzx ecx, byte [esp + 0x58]
mov dword [edi + 0x18], esi
mov esi, ebp
mov ebp, edx
sar ebp, cl
mov ecx, ebp
mov ebp, dword [esp + 0x34]
imul ecx, eax
add esi, ecx
add ebp, esi
mov dword [edi + 0x54], ebp
movzx ecx, byte [esp + 0x5c]
mov esi, dword [esp + 0xc8]
mov dword [edi + 0x58], eax
mov dword [edi + 0x94], eax
sar ebx, cl
movzx ecx, byte [esp + 0x60]
sar edx, cl
imul edx, eax
add edx, ebx
add edx, dword [esp + 0x38]
mov dword [edi + 0x90], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0xc4]
mov dword [esp + 4], edi
mov dword [esp], edx
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0xc0]
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x44]
mov dword [esp + 8], esi
call fcn.7013c800
mov ecx, dword [esp + 0x74]
mov eax, 3
test ecx, ecx
cmove eax, dword [esp + 0xcc]
mov dword [esp + 0xcc], eax
mov eax, dword [edi + 0xd4]
mov eax, dword [eax]
cmp byte [eax + 0x48], 0
mov dword [esp + 0x70], eax
je 0x700afd6f
mov eax, dword [esp + 0xcc]
mov ebx, 3
mov edi, dword [esp + 0x40]
lea esi, [eax + eax]
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
add edx, esi
lea eax, [eax + edx*2]
mov ebp, dword [eax*4 + 0x7079ef00]
cmp ebp, 0xc
jbe 0x700afa67
mov dword [esp + 8], 0x11d
mov dword [esp + 4], 0x7079afb0
mov dword [esp], 0x7079afdf
call fcn.6feeef40
mov eax, dword [edi + 0x34]
add edi, 0x3c
mov edx, dword [ebp*4 + 0x7079f440]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], edx
call fcn.6fef7ef0
mov eax, dword [edi - 4]
mov edx, dword [ebp*4 + 0x7079f400]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], edx
call fcn.6fef7ef0
sub ebx, 1
jne 0x700afa34
mov eax, dword [esp + 0x70]
mov ebp, dword [eax + 8]
test ebp, ebp
jle 0x700afdd8
mov eax, dword [esp + 0xc4]
xor ecx, ecx
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov edx, edi
mov dword [esp], eax
mov eax, esi
call fcn.700aed50
mov eax, dword [esp + 0x70]
mov ebx, dword [eax + 0xc]
test ebx, ebx
jle 0x700afb10
mov eax, dword [esp + 0xc4]
mov ecx, 1
mov edx, edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov eax, esi
call fcn.700aed50
mov edi, dword [esp + 0x70]
mov eax, dword [edi + 0x4c]
mov dword [esp], eax
call fcn.700cd970
mov esi, dword [esp + 0x40]
mov dword [esi + 0x104], eax
mov dword [esi + 0x100], eax
mov eax, dword [esp + 0xcc]
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
call fcn.7012f760
cmp byte [edi + 0x48], 0
jne 0x700afd43
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x78], esi
mov dword [esp + 0x5c], 0
mov dword [esp + 0x48], 0
add eax, eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov eax, dword [eax + 0xd4]
test ecx, ecx
mov eax, dword [eax]
je 0x700b019b
mov edx, dword [eax + 0x50]
mov eax, dword [eax + 0x10]
cmp dword [edx*4 + 0x7079f000], eax
cmovbe eax, dword [edx*4 + 0x7079f000]
mov ebp, eax
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
add edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
lea eax, [eax + edx*2]
mov eax, dword [eax*4 + 0x7079ef00]
cmp eax, 0xc
mov dword [esp + 0x4c], eax
jbe 0x700afbef
mov dword [esp + 8], 0x11d
mov dword [esp + 4], 0x7079afb0
mov dword [esp], 0x7079afdf
call fcn.6feeef40
mov edx, dword [esp + 0x4c]
mov eax, dword [edx*4 + 0x7079f440]
mov esi, eax
mov dword [esp + 0x38], eax
mov eax, dword [edx*4 + 0x7079f400]
mov edx, 1
mov edi, eax
mov dword [esp + 0x68], eax
lea eax, [ebp + ebp]
mov ecx, eax
shl edx, cl
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0xec]
test eax, eax
js 0x700b0158
mov eax, dword [edx + 0xf4]
test eax, eax
js 0x700affca
mov eax, esi
imul eax, edi
test eax, eax
mov dword [esp + 0x3c], eax
jle 0x700afd16
mov eax, dword [esp + 0x4c]
xor ebx, ebx
mov eax, dword [eax*4 + 0x7079f4c0]
mov dword [esp + 0x38], eax
mov eax, 1
sub dword [esp + 0x38], ebp
movzx ecx, byte [esp + 0x38]
shl eax, cl
sub eax, 1
mov dword [esp + 0x44], eax
nop
lea esi, [esi]
movzx ecx, byte [esp + 0x58]
mov edx, ebx
mov eax, dword [esp + 0xd0]
mov esi, dword [esp + 0x44]
mov dword [esp + 0xc], ebx
sar edx, cl
mov ecx, ebp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc8]
and esi, edx
shl esi, cl
movzx ecx, byte [esp + 0x38]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], esi
sar edx, cl
mov ecx, ebp
mov edi, edx
mov edx, dword [esp + 0x54]
shl edi, cl
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], edi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.7013bbd0
mov edx, dword [esp + 0x48]
mov ecx, ebx
mov dword [esp + 8], edi
mov dword [esp + 4], esi
add dword [esp + 0x5c], eax
mov eax, dword [esp + 0x40]
mov dword [esp], ebp
call fcn.700ae6f0
add ebx, dword [esp + 0x34]
cmp ebx, dword [esp + 0x3c]
jl 0x700afc80
add dword [esp + 0x48], 1
add dword [esp + 0x78], 0x3c
cmp dword [esp + 0x48], 3
jne 0x700afb83
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x700afd43
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x700afd43
mov eax, dword [esp + 0x70]
mov byte [eax + 0x48], 1
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0xc8]
mov ebx, dword [esi + 0x108]
mov dword [esp], eax
call fcn.7013c0c0
or eax, ebx
mov dword [esi + 0x108], eax
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x54]
cmp byte [eax + 0x33b0], 0
je 0x700afaab
mov esi, eax
mov eax, dword [eax + 0x26f4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
movzx eax, byte [eax + 0x49]
mov dword [esp + 4], eax
mov eax, esi
add eax, 0x33b0
mov dword [esp], eax
call fcn.700ae680
mov ecx, dword [esp + 0x40]
lea edx, [eax + 0xa]
add eax, 0x10a
shl eax, 4
add eax, esi
mov dword [ecx + 0x6c], eax
shl edx, 4
mov dword [ecx + 0xa8], eax
mov eax, dword [esp + 0x70]
add edx, esi
mov dword [ecx + 0x30], edx
mov ebp, dword [eax + 8]
test ebp, ebp
jg 0x700afaba
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0xc8]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x98], esi
mov esi, dword [esp + 0xd0]
mov dword [esp + 0x94], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x9c], esi
add eax, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov eax, dword [eax + 0xd4]
test edi, edi
mov eax, dword [eax]
je 0x700b018f
mov edx, dword [eax + 0x50]
mov eax, dword [eax + 0x10]
cmp dword [edx*4 + 0x7079f000], eax
cmovbe eax, dword [edx*4 + 0x7079f000]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
add edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
lea eax, [eax + edx*2]
mov eax, dword [eax*4 + 0x7079ef00]
cmp eax, 0xc
mov dword [esp + 0x44], eax
jbe 0x700afe95
mov dword [esp + 8], 0x11d
mov dword [esp + 4], 0x7079afb0
mov dword [esp], 0x7079afdf
call fcn.6feeef40
mov eax, dword [esp + 0x44]
mov ebp, dword [eax*4 + 0x7079f440]
mov edi, 1
mov eax, dword [eax*4 + 0x7079f400]
mov edx, dword [esp + 0x40]
mov esi, eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x4c]
lea ecx, [eax + eax]
mov eax, dword [edx + 0xec]
shl edi, cl
test eax, eax
js 0x700b011c
mov eax, dword [edx + 0xf4]
test eax, eax
js 0x700aff1d
imul esi, ebp
xor ebx, ebx
mov ebp, dword [esp + 0x4c]
test esi, esi
jle 0x700aff03
lea eax, [esp + 0x90]
mov ecx, dword [esp + 0x44]
mov edx, ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
add ebx, edi
mov dword [esp], ebp
call fcn.700ae9b0
cmp ebx, esi
jl 0x700afee0
add dword [esp + 0x3c], 1
add dword [esp + 0x5c], 0x3c
cmp dword [esp + 0x3c], 3
jne 0x700afe23
jmp 0x700afd43
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x5c]
mov esi, dword [esi + 0x14]
lea ecx, [esi + 5]
sar eax, cl
add eax, dword [esp + 0x54]
mov dword [esp + 0x34], esi
mov dword [esp + 0x58], eax
mov esi, dword [esp + 0x54]
test esi, esi
jle 0x700aff03
movzx ecx, byte [esp + 0x4c]
mov eax, 1
xor esi, esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x50], 0
shl eax, cl
mov edi, eax
lea esi, [esi]
test ebp, ebp
jle 0x700affb7
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x58], eax
setg byte [esp + 0x48]
xor ebx, ebx
jmp 0x700aff7f
add ebx, edi
add esi, dword [esp + 0x34]
cmp ebp, ebx
jle 0x700affb7
cmp ebx, dword [esp + 0x38]
jge 0x700aff75
cmp byte [esp + 0x48], 0
je 0x700aff75
lea eax, [esp + 0x90]
mov ecx, dword [esp + 0x44]
mov edx, esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
add ebx, edi
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
call fcn.700ae9b0
add esi, dword [esp + 0x34]
cmp ebp, ebx
jg 0x700aff7f
add dword [esp + 0x50], edi
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x54], eax
jg 0x700aff60
jmp 0x700aff03
mov esi, dword [esp + 0x38]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x78]
mov esi, dword [esi + 0x14]
lea ecx, [esi + 5]
sar eax, cl
add eax, dword [esp + 0x68]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x6c], eax
mov edx, dword [esp + 0x68]
test edx, edx
jle 0x700afd16
mov eax, 1
mov ecx, ebp
shl eax, cl
xor esi, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x64], 0
lea esi, [esi]
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x700b0101
mov eax, dword [esp + 0x6c]
cmp dword [esp + 0x64], eax
setl byte [esp + 0x60]
xor ebx, ebx
jmp 0x700b0042
add esi, dword [esp + 0x34]
add ebx, dword [esp + 0x3c]
cmp dword [esp + 0x38], ebx
jle 0x700b0101
cmp ebx, dword [esp + 0x44]
jge 0x700b0030
cmp byte [esp + 0x60], 0
je 0x700b0030
mov eax, dword [esp + 0x4c]
mov edx, esi
mov edi, 1
movzx ecx, byte [esp + 0x58]
mov dword [esp + 0xc], esi
mov dword [esp + 0x1c], ebp
mov eax, dword [eax*4 + 0x7079f4c0]
sar edx, cl
sub eax, ebp
mov ecx, eax
shl edi, cl
mov ecx, ebp
sub edi, 1
and edi, edx
shl edi, cl
mov ecx, eax
mov eax, dword [esp + 0x4c]
sar edx, cl
mov ecx, ebp
shl edx, cl
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x18], edx
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x14], edi
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.7013bbd0
mov edx, dword [esp + 0x50]
mov ecx, esi
mov dword [esp + 4], edi
mov dword [esp], ebp
add dword [esp + 0x5c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x48]
call fcn.700ae6f0
add esi, dword [esp + 0x34]
add ebx, dword [esp + 0x3c]
cmp dword [esp + 0x38], ebx
jg 0x700b0042
mov eax, dword [esp + 0x3c]
add dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x68], eax
jg 0x700b0010
jmp 0x700afd16
mov esi, dword [esp + 0x5c]
mov esi, dword [esi + 0x10]
lea ecx, [esi + 5]
sar eax, cl
add eax, ebp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x34], esi
mov eax, dword [eax + 0xf4]
test eax, eax
js 0x700aff21
mov eax, dword [esp + 0x54]
mov dword [esp + 0x58], eax
jmp 0x700aff39
xor eax, eax
jmp 0x700af79f
mov esi, dword [esp + 0x78]
mov esi, dword [esi + 0x10]
lea ecx, [esi + 5]
sar eax, cl
add eax, dword [esp + 0x38]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0xf4]
test eax, eax
js 0x700affd2
mov eax, dword [esp + 0x68]
mov dword [esp + 0x6c], eax
jmp 0x700affea
mov eax, dword [eax + 0x10]
mov dword [esp + 0x4c], eax
jmp 0x700afe54
mov ebp, dword [eax + 0x10]
jmp 0x700afbb2