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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x180]
mov eax, dword [eax + 0x190]
mov dword [esp + 0x44], ecx
mov ebx, dword [eax + edx*4]
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x84]
test eax, eax
jne 0x7002fad8
cmp dword [esp + 0x2c], 8
jg 0x7002ffd0
mov eax, dword [ebx + 0x158]
cmp dword [esp + 0x2c], eax
jle 0x7002fca0
mov edi, dword [esp + 0x2c]
mov edx, dword [ebx + 0x150]
sub edi, eax
test dword [esp + 0x10], 0x40000004
mov dword [esp + 0x40], edx
lea edx, [edx + eax*2]
mov dword [esp + 0x20], edx
jne 0x7002fee7
mov edx, dword [esp + 0x18]
test edi, edi
lea edx, [edx + eax*8]
je 0x700300fa
mov esi, dword [ebx + 0x768]
mov eax, dword [ebx + 0x770]
mov ecx, dword [ebx + 0x774]
mov ebp, dword [ebx + 0x790]
mov dword [esp + 0x10], esi
mov esi, dword [ebx + 0x794]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], esi
mov esi, dword [ebx + 0x76c]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x20]
lea edi, [esi + edi*2]
mov dword [esp + 0x3c], edi
jmp 0x7002fc75
mov ecx, eax
movzx esi, ax
xor cx, cx
imul esi, dword [esp + 0x10]
sar ecx, 9
imul ecx, dword [esp + 0x10]
sar esi, 9
lea ecx, [esi + ecx + 1]
sar ecx, 1
sub edi, ecx
je 0x7002fba4
test eax, eax
je 0x7002fba4
xor eax, edi
mov edi, dword [esp + 0x10]
sar eax, 0x1f
mov ecx, eax
xor ecx, 2
sub edi, eax
mov eax, edi
add eax, ecx
mov dword [esp + 0x10], eax
mov dword [ebx + 0x768], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x774], eax
mov dword [esp + 0x34], eax
mov eax, dword [edx]
mov dword [ebx + 0x770], eax
mov edi, dword [edx + 4]
mov dword [esp + 0x28], eax
lea eax, [ebp + ebp*2]
sub eax, dword [esp + 0x30]
sar eax, 1
movsx ecx, ax
cmp ecx, eax
je 0x700300e1
mov ecx, eax
movzx esi, ax
xor cx, cx
imul esi, dword [esp + 0x18]
sar ecx, 9
imul ecx, dword [esp + 0x18]
sar esi, 9
lea ecx, [esi + ecx + 1]
sar ecx, 1
sub edi, ecx
je 0x7002fc1a
test eax, eax
je 0x7002fc1a
xor eax, edi
mov edi, dword [esp + 0x18]
sar eax, 0x1f
mov ecx, eax
xor ecx, 2
sub edi, eax
mov eax, edi
add eax, ecx
mov dword [esp + 0x18], eax
mov dword [ebx + 0x76c], eax
add edx, 8
mov esi, dword [esp + 0x10]
mov eax, 0x400
mov dword [ebx + 0x794], ebp
mov ecx, dword [edx - 4]
add esi, dword [esp + 0x18]
add dword [esp + 0x20], 2
cmp esi, 0x1ff
mov dword [ebx + 0x790], ecx
jle 0x7002fc55
mov eax, 0x600
sub ax, word [esp + 0x10]
sub ax, word [esp + 0x18]
mov edi, dword [esp + 0x20]
cmp edi, dword [esp + 0x3c]
mov word [edi - 2], ax
je 0x700300fa
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x28]
mov ebp, ecx
mov ecx, dword [esp + 0x34]
lea eax, [eax + eax*2]
mov edi, dword [edx]
sub eax, ecx
sar eax, 1
movsx ecx, ax
cmp ecx, eax
jne 0x7002fb60
mov ecx, dword [esp + 0x10]
imul ecx, eax
add ecx, 0x200
sar ecx, 0xa
jmp 0x7002fb7e
mov eax, dword [ebx + 0x150]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
mov ebp, dword [eax + 0x98]
test ebp, ebp
je 0x7002fe42
mov esi, dword [esp + 0x38]
xor edx, edx
mov eax, 0xf4240
lea ecx, [esp + 0x60]
div dword [esi + 0xb4]
mov edx, pe_nt_image_headers32
cmp eax, 0x7f
cmovle eax, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x5c]
mov dword [esp + 4], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
call fcn.7002f960
mov edi, dword [esp + 0x44]
test edi, edi
jne 0x7002fe57
fld qword [esp + 0x60]
fld qword [esp + 0x68]
fld dword [0x70794b28]
fld st(0)
fucompi st(3)
ja 0x700300d0
fstp st(0)
fld dword [0x70794b2c]
fld st(0)
fxch st(3)
fucompi st(3)
fstp st(2)
ja 0x700300d6
fstp st(1)
fld dword [0x70794b28]
fld st(0)
fucompi st(2)
ja 0x700300c1
fstp st(0)
fld dword [0x70794b2c]
fld st(0)
fxch st(2)
fucompi st(2)
fstp st(1)
ja 0x700300c3
fstp st(0)
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebx + 0x14]
je 0x7002fd6c
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 0x98]
test esi, esi
je 0x70030110
fld qword [esp + 0x60]
fld dword [0x70794b30]
fld st(1)
fstp qword [esp + 0x20]
fmul st(1), st(0)
fstp qword [esp + 0x18]
fld dword [0x70794b20]
fadd st(1), st(0)
fstp qword [esp + 0x10]
fstp qword [esp]
call fcn.6feeeb40
fnstcw word [esp + 0x4e]
movzx eax, word [esp + 0x4e]
mov ah, 0xc
mov word [esp + 0x4c], ax
fldcw word [esp + 0x4c]
fistp dword [esp + 0x48]
fldcw word [esp + 0x4e]
mov eax, dword [esp + 0x48]
fld qword [esp + 0x20]
mov dword [ebx + 0x124], eax
mov dword [ebx + 0x120], eax
mov eax, dword [esp + 0x2c]
fsubr qword [esp + 0x68]
sub eax, 1
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
fdivp st(1)
fld qword [esp + 0x18]
fmulp st(1)
fld qword [esp + 0x10]
faddp st(1)
fstp qword [esp]
call fcn.6feeeb40
fnstcw word [esp + 0x4e]
movzx eax, word [esp + 0x4e]
mov ah, 0xc
mov word [esp + 0x4c], ax
fldcw word [esp + 0x4c]
fistp dword [esp + 0x48]
fldcw word [esp + 0x4e]
mov eax, dword [esp + 0x48]
mov dword [ebx + 0x154], 0
mov dword [ebx + 0x12c], eax
mov dword [ebx + 0x128], eax
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x154], eax
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
movsx eax, word [esp + 0x5c]
cmp dword [esp + 0x10], eax
jge 0x7002fd08
mov edi, dword [esp + 0x2c]
xor ebp, ebp
jmp 0x7002fea4
fld qword [esp + 0x70]
cmp esi, 0x2710
fst qword [esp + 0x60]
fld qword [esp + 0x78]
mov word [esp + 0x5c], ax
fst qword [esp + 0x68]
jg 0x7002fd10
fstp st(0)
fstp st(0)
mov ebp, esi
mov eax, edi
sub eax, ebp
cmp eax, 1
jle 0x700301e7
lea eax, [ebp + edi]
mov esi, eax
shr esi, 0x1f
add esi, eax
mov eax, dword [ebx + 0x150]
lea edx, [esp + 0x5e]
sar esi, 1
mov dword [esp + 4], edx
lea edx, [esp + 0x78]
mov dword [esp], edx
lea ecx, [esp + 0x70]
mov edx, esi
mov dword [esp + 0x2c], esi
call fcn.7002f960
movzx eax, word [esp + 0x5e]
movsx edx, ax
cmp dword [esp + 0x10], edx
jg 0x7002fe70
mov edi, esi
jmp 0x7002fe97
mov edx, dword [esp + 0x18]
test edi, edi
lea eax, [edx + eax*4]
mov dword [esp + 0x10], eax
je 0x700300fa
mov eax, dword [ebx + 0x770]
lea edx, [edi + edi]
mov dword [esp + 0x28], edx
mov esi, dword [ebx + 0x774]
xor edx, edx
mov ecx, dword [ebx + 0x768]
mov dword [esp + 0x18], ebx
mov edi, eax
jmp 0x7002ffa0
mov ebx, eax
movzx esi, ax
xor bx, bx
imul esi, ecx
sar ebx, 9
imul ebx, ecx
sar esi, 9
lea ebx, [esi + ebx + 1]
sar ebx, 1
sub ebp, ebx
je 0x7002ff5a
test eax, eax
je 0x7002ff5a
xor eax, ebp
sar eax, 0x1f
mov ebx, eax
sub ecx, eax
mov eax, dword [esp + 0x18]
xor ebx, 2
add ecx, ebx
mov dword [eax + 0x768], ecx
mov eax, dword [esp + 0x18]
mov esi, edi
cmp ecx, 0xff
mov dword [eax + 0x774], edi
mov edi, dword [esp + 0x10]
mov edi, dword [edi + edx*2]
mov dword [eax + 0x770], edi
mov eax, 0x400
jle 0x7002ff89
mov eax, 0x300
sub eax, ecx
add eax, eax
mov ebx, dword [esp + 0x20]
mov word [ebx + edx], ax
add edx, 2
cmp edx, dword [esp + 0x28]
je 0x700300f6
mov eax, edi
mov ebx, dword [esp + 0x10]
lea eax, [eax + eax*2]
sub eax, esi
sar eax, 1
mov ebp, dword [ebx + edx*2]
movsx ebx, ax
cmp ebx, eax
jne 0x7002ff20
mov ebx, eax
imul ebx, ecx
add ebx, 0x200
sar ebx, 0xa
jmp 0x7002ff3a
test dword [esp + 0x10], 0x40000004
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
jne 0x70030127
lea edx, [edx + eax*8 - 0x14]
lea ebp, [eax - 2]
lea esi, [esi]
sub ebp, 1
cmp ebp, 0xffffffff
je 0x7002fad8
mov eax, dword [edx + 8]
mov esi, dword [edx]
lea eax, [eax + eax*2]
sub eax, dword [edx + 0x10]
sar eax, 1
movsx ecx, ax
cmp ecx, eax
je 0x700301d0
mov edi, eax
movzx ecx, ax
xor di, di
imul ecx, dword [ebx + 0x76c]
sar edi, 9
imul edi, dword [ebx + 0x76c]
sar ecx, 9
lea ecx, [ecx + edi + 1]
sar ecx, 1
sub esi, ecx
je 0x70030050
test eax, eax
je 0x70030050
xor esi, eax
sar esi, 0x1f
mov ecx, esi
xor ecx, 2
sub ecx, esi
add dword [ebx + 0x76c], ecx
mov eax, dword [edx + 4]
sub edx, 8
lea eax, [eax + eax*2]
sub eax, dword [edx + 0x14]
mov esi, dword [edx + 4]
sar eax, 1
movsx ecx, ax
cmp ecx, eax
je 0x700301a0
mov edi, eax
movzx ecx, ax
xor di, di
imul ecx, dword [ebx + 0x768]
sar edi, 9
imul edi, dword [ebx + 0x768]
sar ecx, 9
lea ecx, [ecx + edi + 1]
sar ecx, 1
sub esi, ecx
je 0x7002fff0
test eax, eax
je 0x7002fff0
xor esi, eax
sub ebp, 1
sar esi, 0x1f
mov ecx, esi
xor ecx, 2
sub ecx, esi
add dword [ebx + 0x768], ecx
cmp ebp, 0xffffffff
jne 0x7002fffc
jmp 0x7002fad8
fstp st(1)
fstp qword [esp + 0x68]
jmp 0x7002fd60
fstp st(2)
fxch st(1)
jmp 0x700300d8
fxch st(1)
fstp qword [esp + 0x60]
jmp 0x7002fd38
mov ecx, dword [esp + 0x18]
imul ecx, eax
add ecx, 0x200
sar ecx, 0xa
jmp 0x7002fbf4
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x158], eax
jmp 0x7002fcaa
mov eax, dword [ebx + 0x150]
mov dword [ebx + 0x154], eax
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [edx + eax*4 - 0xc]
lea ebp, [eax - 2]
nop
sub ebp, 1
cmp ebp, 0xffffffff
je 0x7002fad8
mov eax, dword [edx + 4]
sub edx, 4
lea eax, [eax + eax*2]
sub eax, dword [edx + 0xc]
mov esi, dword [edx + 4]
sar eax, 1
movsx ecx, ax
cmp ecx, eax
je 0x700301b7
mov edi, eax
movzx ecx, ax
xor di, di
imul ecx, dword [ebx + 0x768]
sar edi, 9
imul edi, dword [ebx + 0x768]
sar ecx, 9
lea ecx, [ecx + edi + 1]
sar ecx, 1
sub esi, ecx
je 0x70030130
test eax, eax
je 0x70030130
xor esi, eax
sub ebp, 1
sar esi, 0x1f
mov ecx, esi
xor ecx, 2
sub ecx, esi
add dword [ebx + 0x768], ecx
cmp ebp, 0xffffffff
jne 0x7003013c
jmp 0x7002fad8
mov ecx, dword [ebx + 0x768]
imul ecx, eax
add ecx, 0x200
sar ecx, 0xa
jmp 0x7003008e
mov ecx, dword [ebx + 0x768]
imul ecx, eax
add ecx, 0x200
sar ecx, 0xa
jmp 0x70030176
mov ecx, dword [ebx + 0x76c]
imul ecx, eax
add ecx, 0x200
sar ecx, 0xa
jmp 0x70030036
fld qword [esp + 0x60]
fld qword [esp + 0x68]
mov dword [esp + 0x2c], ebp
jmp 0x7002fd10