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

Disassembly:
mov eax, dword [0x870eac]
sub esp, 0x94
test eax, eax
push ebx
push ebp
push esi
mov ebx, 1
push edi
mov edi, ebx
je 0x439133
mov eax, dword [0xa77b58]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [0x870ddc]
mov esi, dword [0x870de0]
mov dword [esp + 0x44], ecx
mov edi, 2
lea edx, [ecx - 1]
mov dword [esp + 0x14], edx
lea edx, [esi - 1]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fmul qword [0x46c4f0]
fstp qword [esp + 0x24]
fild dword [esp + 0x14]
fmul qword [0x46c4f0]
fstp qword [esp + 0x2c]
fld dword [0xa66fd0]
fmul qword [0x46c4f0]
jmp 0x43917f
mov eax, dword [0xa66ecc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [0x870dd4]
mov esi, dword [0x870dd8]
mov dword [esp + 0x44], ecx
lea edx, [ecx - 1]
mov dword [esp + 0x14], edx
lea edx, [esi - 1]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fmul qword [0x46c4f0]
fstp qword [esp + 0x24]
fild dword [esp + 0x14]
fmul qword [0x46c4f0]
fstp qword [esp + 0x2c]
fld dword [0xa66fd0]
add eax, 0x428
mov dword [esp + 0x10], eax
mov eax, dword [0xa77b80]
cmp eax, 0xc8
jl 0x43919b
mov dword [esp + 0xa8], ebx
cmp dword [0x473e68], 2
je 0x43929a
cmp byte [0xba0620], 4
je 0x43929a
movsx ecx, word [0xa66fd4]
mov eax, edi
and eax, 0xffff
movsx edx, word [0xa66fd6]
imul ecx, eax
mov dword [esp + 0x14], ecx
imul edx, eax
fild dword [esp + 0x14]
fadd qword [esp + 0x24]
fstp qword [esp + 0x24]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fadd qword [esp + 0x2c]
fstp qword [esp + 0x14]
fld dword [0xa66fa0]
fmul st(1)
fstp qword [esp + 0x74]
fld dword [0xa66fa4]
fmul st(1)
fstp qword [esp + 0x7c]
fld dword [0xa66fa8]
fmul st(1)
fstp qword [esp + 0x84]
fld dword [0xa66fb8]
fmul st(1)
fstp qword [esp + 0x5c]
fld dword [0xa66fbc]
fmul st(1)
fstp qword [esp + 0x64]
fld dword [0xa66fc0]
fmul st(1)
fstp qword [esp + 0x6c]
fstp st(0)
fld dword [0xa66fc4]
fld qword [esp + 0x14]
fmul qword [esp + 0x5c]
fld qword [esp + 0x24]
fmul qword [esp + 0x74]
faddp st(1)
fsubp st(1)
fld dword [0xa66fc8]
fld qword [esp + 0x14]
fmul qword [esp + 0x64]
fld qword [esp + 0x24]
fmul qword [esp + 0x7c]
faddp st(1)
fsubp st(1)
fstp qword [esp + 0x94]
fld dword [0xa66fcc]
fld qword [esp + 0x14]
fmul qword [esp + 0x6c]
fld qword [esp + 0x24]
fmul qword [esp + 0x84]
faddp st(1)
fsubp st(1)
jmp 0x439378
fld dword [0xa66fa0]
fmul st(1)
movsx eax, word [0xa66fde]
fstp qword [esp + 0x74]
fld dword [0xa66fa4]
fmul st(1)
mov dword [esp + 0x14], eax
fstp qword [esp + 0x7c]
fld dword [0xa66fa8]
fmul st(1)
fstp qword [esp + 0x84]
fld dword [0xa66fb8]
fmul st(1)
fstp qword [esp + 0x5c]
fld dword [0xa66fbc]
fmul st(1)
fstp qword [esp + 0x64]
fld dword [0xa66fc0]
fmul st(1)
fstp qword [esp + 0x6c]
fild dword [esp + 0x14]
fmul st(1)
fstp qword [esp + 0x14]
fstp st(0)
fld dword [0xa66fc4]
fld qword [esp + 0x5c]
fmul qword [esp + 0x2c]
fld qword [esp + 0x74]
fmul qword [esp + 0x24]
faddp st(1)
fsubp st(1)
fld dword [0xa66fac]
fmul qword [esp + 0x14]
faddp st(1)
fld dword [0xa66fc8]
fld qword [esp + 0x64]
fmul qword [esp + 0x2c]
fld qword [esp + 0x7c]
fmul qword [esp + 0x24]
faddp st(1)
fsubp st(1)
fld dword [0xa66fb0]
fmul qword [esp + 0x14]
faddp st(1)
fstp qword [esp + 0x94]
fld dword [0xa66fcc]
fld qword [esp + 0x6c]
fmul qword [esp + 0x2c]
fld qword [esp + 0x84]
fmul qword [esp + 0x24]
faddp st(1)
fsubp st(1)
fld dword [0xa66fb4]
fmul qword [esp + 0x14]
faddp st(1)
mov eax, dword [esp + 0xa8]
fstp qword [esp + 0x9c]
cmp eax, ebx
jne 0x4393e7
fmul qword [0x46c518]
call fcn.00460494
fld qword [esp + 0x94]
fmul qword [0x46c518]
mov ebx, eax
call fcn.00460494
fld qword [esp + 0x9c]
fmul qword [0x46c518]
mov ebp, eax
call fcn.00460494
mov edi, eax
mov eax, dword [0xa77a68]
shl eax, 0xa
mov dword [esp + 0x58], eax
mov eax, dword [0xa77a90]
shl eax, 0xa
mov dword [esp + 0x54], eax
mov eax, dword [0xa77b50]
shl eax, 0xa
mov dword [esp + 0x50], eax
xor eax, eax
jmp 0x43945d
fmul qword [0x46c5f8]
call fcn.00460494
fld qword [esp + 0x94]
fmul qword [0x46c5f8]
mov ebx, 0x200
sub ebx, eax
call fcn.00460494
fld qword [esp + 0x9c]
fmul qword [0x46c5f8]
mov ebp, 0x200
sub ebp, eax
call fcn.00460494
mov ecx, dword [0xa77a68]
mov edx, dword [0xa77a90]
mov edi, 0x200
sub edi, eax
lea eax, [ecx + 1]
shl eax, 0xa
mov dword [esp + 0x58], eax
lea eax, [edx + 1]
shl eax, 0xa
mov dword [esp + 0x54], eax
mov eax, dword [0xa77b50]
inc eax
shl eax, 0xa
mov dword [esp + 0x50], eax
mov eax, 0x400
fld qword [esp + 0x74]
fmul qword [0x46c518]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], eax
call fcn.00460494
fld qword [esp + 0x7c]
fmul qword [0x46c518]
mov dword [esp + 0x8c], eax
call fcn.00460494
fld qword [esp + 0x84]
fmul qword [0x46c518]
mov dword [esp + 0x90], eax
call fcn.00460494
fld qword [esp + 0x5c]
fmul qword [0x46c518]
mov dword [esp + 0x94], eax
call fcn.00460494
fld qword [esp + 0x64]
fmul qword [0x46c518]
mov dword [esp + 0x74], eax
call fcn.00460494
fld qword [esp + 0x6c]
fmul qword [0x46c518]
mov dword [esp + 0x78], eax
call fcn.00460494
mov ecx, dword [0x870e2c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x10]
test ecx, ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x20], eax
je 0x4398a9
cmp ecx, 1
jne 0x43979c
test si, si
jbe 0x439c49
mov ecx, ebx
and esi, 0xffff
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0x44]
mov ebx, edi
test dx, dx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebx
jbe 0x43976a
and edx, 0xffff
mov dword [esp + 0x3c], edx
cmp ecx, dword [esp + 0x4c]
jl 0x43971b
cmp ebp, dword [esp + 0x48]
jl 0x43971b
cmp ebx, dword [esp + 0x40]
jl 0x43971b
cmp ecx, dword [esp + 0x58]
jg 0x43971b
cmp ebp, dword [esp + 0x54]
jg 0x43971b
cmp ebx, dword [esp + 0x50]
jg 0x43971b
mov edx, ecx
mov esi, ebp
sar ecx, 6
and ecx, 0xf
mov edi, ebx
sar ebp, 6
shl ecx, 4
and ebp, 0xf
or ecx, ebp
shl ecx, 4
sar ebx, 6
sar edx, 0xa
and ecx, 0xffff
and ebx, 0xf
lea eax, [edx + 1]
or ecx, ebx
mov ebx, dword [0xa77a58]
and edx, 0xffff
sar esi, 0xa
mov ebp, dword [ebx + edx*4]
mov edx, dword [0xa77a54]
mov dword [esp + 0x1c], eax
lea eax, [esi + 1]
sar edi, 0xa
and esi, 0xffff
mov dword [esp + 0x38], eax
lea eax, [edi + 1]
and edi, 0xffff
mov esi, dword [edx + esi*4]
mov edx, dword [0xa77a50]
xor ebx, ebx
and eax, 0xffff
mov edi, dword [edx + edi*4]
shl ecx, 4
lea edx, [edi + esi]
add ecx, 0xa67700
add ecx, 2
mov bl, byte [edx + ebp]
add ecx, 2
mov edx, ebx
xor ebx, ebx
mov bx, word [ecx - 4]
add ecx, 2
imul edx, ebx
mov ebx, dword [0xa77a50]
add ecx, 2
mov eax, dword [ebx + eax*4]
xor ebx, ebx
mov dword [esp + 0x14], eax
add eax, esi
mov bl, byte [eax + ebp]
xor eax, eax
mov ax, word [ecx - 6]
imul ebx, eax
mov eax, dword [esp + 0x38]
add edx, ebx
mov ebx, dword [0xa77a54]
and eax, 0xffff
mov eax, dword [ebx + eax*4]
xor ebx, ebx
mov dword [esp + 0x38], eax
add eax, ebp
xor ebp, ebp
mov bl, byte [eax + edi]
mov bp, word [ecx - 4]
imul ebx, ebp
mov ebp, dword [esp + 0x14]
add edx, ebx
xor ebx, ebx
mov bl, byte [eax + ebp]
xor eax, eax
mov ax, word [ecx - 2]
imul ebx, eax
mov eax, dword [esp + 0x1c]
add edx, ebx
mov ebx, dword [0xa77a58]
and eax, 0xffff
mov eax, dword [ebx + eax*4]
mov dword [esp + 0x1c], eax
add eax, edi
xor ebx, ebx
mov bl, byte [eax + esi]
xor eax, eax
mov ax, word [ecx]
add ecx, 2
imul ebx, eax
mov eax, dword [esp + 0x1c]
add edx, ebx
add eax, ebp
xor ebx, ebx
add ecx, 2
mov bl, byte [eax + esi]
xor eax, eax
mov ax, word [ecx - 2]
mov esi, dword [esp + 0x1c]
imul ebx, eax
mov eax, dword [esp + 0x38]
add edx, ebx
add esi, eax
xor eax, eax
xor ebx, ebx
mov al, byte [esi + ebp]
mov bx, word [ecx + 2]
imul eax, ebx
xor ebx, ebx
add edx, eax
mov bl, byte [esi + edi]
xor esi, esi
mov si, word [ecx]
mov eax, dword [esp + 0x20]
imul ebx, esi
add ebx, edx
mov ebp, dword [esp + 0x60]
shr ebx, 0xc
and ebx, 0xff
inc eax
mov dword [esp + 0x20], eax
mov cl, byte [ebx + 0xa7bbc0]
mov ebx, dword [esp + 0x64]
mov byte [eax - 1], cl
mov ecx, dword [esp + 0x5c]
jmp 0x439728
mov dl, byte [0xa7bbc0]
mov byte [eax], dl
inc eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + 0x90]
mov esi, dword [esp + 0x94]
add ecx, edx
mov edx, dword [esp + 0x3c]
add ebp, edi
add ebx, esi
dec edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebx
mov dword [esp + 0x3c], edx
jne 0x439553
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
add ecx, edx
mov edx, dword [esp + 0x10]
add ebp, ebx
add edi, esi
dec edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], edi
mov dword [esp + 0x10], edx
jne 0x43952e
jmp 0x439c49
test si, si
jbe 0x439c49
mov ecx, ebx
and esi, 0xffff
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], esi
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x20]
test dx, dx
mov esi, ebp
jbe 0x439873
and edx, 0xffff
mov dword [esp + 0x10], edx
cmp ecx, dword [esp + 0x4c]
jl 0x439838
cmp esi, dword [esp + 0x48]
jl 0x439838
cmp edi, dword [esp + 0x40]
jl 0x439838
cmp ecx, dword [esp + 0x58]
jge 0x439838
cmp esi, dword [esp + 0x54]
jge 0x439838
cmp edi, dword [esp + 0x50]
jge 0x439838
mov ebp, dword [0xa77a58]
mov edx, ecx
sar edx, 0xa
mov ebx, esi
mov edx, dword [ebp + edx*4]
mov ebp, dword [0xa77a54]
sar ebx, 0xa
add edx, dword [ebp + ebx*4]
mov ebp, dword [0xa77a50]
mov ebx, edi
sar ebx, 0xa
mov ebp, dword [ebp + ebx*4]
xor ebx, ebx
mov bl, byte [edx + ebp]
mov dl, byte [ebx + 0xa7bbc0]
jmp 0x43983e
mov dl, byte [0xa7bbc0]
mov ebp, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov byte [eax], dl
mov edx, dword [esp + 0x8c]
add ecx, edx
mov edx, dword [esp + 0x10]
inc eax
add esi, ebp
add edi, ebx
dec edx
mov dword [esp + 0x10], edx
jne 0x4397da
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
add esi, edx
mov edx, dword [esp + 0x34]
add ecx, ebx
add ebp, edi
dec edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], edx
jne 0x4397bd
jmp 0x439c49
cmp ecx, 1
jne 0x439b41
test si, si
jbe 0x439c49
mov ecx, ebx
and esi, 0xffff
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x44]
mov ebx, edi
test dx, dx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebx
jbe 0x439b0f
and edx, 0xffff
mov dword [esp + 0x2c], edx
cmp ecx, dword [esp + 0x4c]
jl 0x439ac0
cmp ebp, dword [esp + 0x48]
jl 0x439ac0
cmp ebx, dword [esp + 0x40]
jl 0x439ac0
cmp ecx, dword [esp + 0x58]
jg 0x439ac0
cmp ebp, dword [esp + 0x54]
jg 0x439ac0
cmp ebx, dword [esp + 0x50]
jg 0x439ac0
mov edx, ecx
mov esi, ebp
sar ecx, 6
and ecx, 0xf
mov edi, ebx
sar ebp, 6
shl ecx, 4
and ebp, 0xf
or ecx, ebp
shl ecx, 4
sar ebx, 6
sar edx, 0xa
and ecx, 0xffff
and ebx, 0xf
lea eax, [edx + 1]
or ecx, ebx
mov ebx, dword [0xa7bba8]
and edx, 0xffff
sar esi, 0xa
mov ebp, dword [ebx + edx*4]
mov edx, dword [0xa7bba4]
mov dword [esp + 0x1c], eax
lea eax, [esi + 1]
sar edi, 0xa
and esi, 0xffff
mov dword [esp + 0x38], eax
lea eax, [edi + 1]
and edi, 0xffff
mov esi, dword [edx + esi*4]
mov edx, dword [0xa7bba0]
xor ebx, ebx
and eax, 0xffff
mov edi, dword [edx + edi*4]
shl ecx, 4
lea edx, [edi + esi]
add ecx, 0xa67700
add ecx, 2
mov bl, byte [edx + ebp]
add ecx, 2
mov edx, ebx
xor ebx, ebx
mov bx, word [ecx - 4]
add ecx, 2
imul edx, ebx
mov ebx, dword [0xa7bba0]
add ecx, 2
mov eax, dword [ebx + eax*4]
xor ebx, ebx
mov dword [esp + 0x10], eax
add eax, esi
mov bl, byte [eax + ebp]
xor eax, eax
mov ax, word [ecx - 6]
imul ebx, eax
mov eax, dword [esp + 0x38]
add edx, ebx
mov ebx, dword [0xa7bba4]
and eax, 0xffff
mov eax, dword [ebx + eax*4]
xor ebx, ebx
mov dword [esp + 0x38], eax
add eax, ebp
xor ebp, ebp
mov bl, byte [eax + edi]
mov bp, word [ecx - 4]
imul ebx, ebp
mov ebp, dword [esp + 0x10]
add edx, ebx
xor ebx, ebx
mov bl, byte [eax + ebp]
xor eax, eax
mov ax, word [ecx - 2]
imul ebx, eax
mov eax, dword [esp + 0x1c]
add edx, ebx
mov ebx, dword [0xa7bba8]
and eax, 0xffff
mov eax, dword [ebx + eax*4]
mov dword [esp + 0x10], eax
add eax, edi
xor ebx, ebx
mov bl, byte [eax + esi]
xor eax, eax
mov ax, word [ecx]
add ecx, 2
imul ebx, eax
mov eax, dword [esp + 0x10]
add edx, ebx
add eax, ebp
xor ebx, ebx
add ecx, 2
mov bl, byte [eax + esi]
xor eax, eax
mov ax, word [ecx - 2]
mov esi, dword [esp + 0x10]
imul ebx, eax
mov eax, dword [esp + 0x38]
add edx, ebx
add esi, eax
xor eax, eax
xor ebx, ebx
mov al, byte [esi + ebp]
mov bx, word [ecx + 2]
imul eax, ebx
xor ebx, ebx
add edx, eax
mov bl, byte [esi + edi]
xor esi, esi
mov si, word [ecx]
mov eax, dword [esp + 0x20]
imul ebx, esi
add ebx, edx
mov ebp, dword [esp + 0x60]
shr ebx, 0xc
and ebx, 0xff
inc eax
mov dword [esp + 0x20], eax
mov cl, byte [ebx + 0xa7bbc0]
mov ebx, dword [esp + 0x64]
mov byte [eax - 1], cl
mov ecx, dword [esp + 0x5c]
jmp 0x439acd
mov dl, byte [0xa7bbc0]
mov byte [eax], dl
inc eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + 0x90]
mov esi, dword [esp + 0x94]
add ecx, edx
mov edx, dword [esp + 0x2c]
add ebp, edi
add ebx, esi
dec edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebx
mov dword [esp + 0x2c], edx
jne 0x4398f8
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
add ecx, edx
mov edx, dword [esp + 0x14]
add ebp, ebx
add edi, esi
dec edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x14], edx
jne 0x4398d3
jmp 0x439c49
test si, si
jbe 0x439c49
mov ecx, ebx
and esi, 0xffff
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], esi
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x1c]
test dx, dx
mov esi, ebp
jbe 0x439c18
and edx, 0xffff
mov dword [esp + 0x14], edx
cmp ecx, dword [esp + 0x4c]
jl 0x439bdd
cmp esi, dword [esp + 0x48]
jl 0x439bdd
cmp edi, dword [esp + 0x40]
jl 0x439bdd
cmp ecx, dword [esp + 0x58]
jge 0x439bdd
cmp esi, dword [esp + 0x54]
jge 0x439bdd
cmp edi, dword [esp + 0x50]
jge 0x439bdd
mov ebp, dword [0xa7bba8]
mov edx, ecx
sar edx, 0xa
mov ebx, esi
mov edx, dword [ebp + edx*4]
mov ebp, dword [0xa7bba4]
sar ebx, 0xa
add edx, dword [ebp + ebx*4]
mov ebp, dword [0xa7bba0]
mov ebx, edi
sar ebx, 0xa
mov ebp, dword [ebp + ebx*4]
xor ebx, ebx
mov bl, byte [edx + ebp]
mov dl, byte [ebx + 0xa7bbc0]
jmp 0x439be3
mov dl, byte [0xa7bbc0]
mov ebp, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov byte [eax], dl
mov edx, dword [esp + 0x8c]
add ecx, edx
mov edx, dword [esp + 0x14]
inc eax
add esi, ebp
add edi, ebx
dec edx
mov dword [esp + 0x14], edx
jne 0x439b7f
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
add esi, edx
mov edx, dword [esp + 0x24]
add ecx, ebx
add ebp, edi
dec edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], edx
jne 0x439b62
mov eax, dword [0x870eac]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x439c69
mov eax, dword [0xa77b58]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
add esp, 0x94
ret
mov ecx, dword [0xa66ecc]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
add esp, 0x94
ret