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

Disassembly:
mov eax, dword [0x870eac]
sub esp, 0x94
test eax, eax
push ebx
push ebp
mov ebx, 1
push esi
push edi
mov esi, ebx
je 0x439cf3
mov eax, dword [0xa77b58]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [0x870ddc]
mov edi, dword [0x870de0]
mov dword [esp + 0x58], ecx
mov esi, 2
lea edx, [ecx - 1]
mov dword [esp + 0x14], edx
lea edx, [edi - 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 + 0x30]
fld dword [0xa66fd0]
fmul qword [0x46c4f0]
jmp 0x439d3f
mov eax, dword [0xa56e50]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [0x870dd4]
mov edi, dword [0x870dd8]
mov dword [esp + 0x58], ecx
lea edx, [ecx - 1]
mov dword [esp + 0x14], edx
lea edx, [edi - 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 + 0x30]
fld dword [0xa66fd0]
add eax, 0x428
mov dword [esp + 0x10], eax
mov eax, dword [0xa77b80]
cmp eax, 0xc8
jl 0x439d5b
mov dword [esp + 0xa8], ebx
cmp dword [0x473e68], 2
je 0x439e60
cmp byte [0xba0620], 4
je 0x439e60
movsx ecx, word [0xa66fd8]
mov eax, esi
and eax, 0xffff
movsx edx, word [0xa66fda]
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 + 0x30]
fstp qword [esp + 0x14]
fld dword [0xa66fac]
fmul st(1)
fchs
fstp qword [esp + 0x74]
fld dword [0xa66fb0]
fmul st(1)
fchs
fstp qword [esp + 0x7c]
fld dword [0xa66fb4]
fmul st(1)
fchs
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 0x439f44
fld dword [0xa66fac]
fmul st(1)
movsx eax, word [0xa66fd4]
fchs
fstp qword [esp + 0x74]
fld dword [0xa66fb0]
fmul st(1)
mov dword [esp + 0x14], eax
fchs
fstp qword [esp + 0x7c]
fld dword [0xa66fb4]
fmul st(1)
fchs
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 + 0x30]
fld qword [esp + 0x74]
fmul qword [esp + 0x24]
faddp st(1)
fsubp st(1)
fld dword [0xa66fa0]
fmul qword [esp + 0x14]
faddp st(1)
fld dword [0xa66fc8]
fld qword [esp + 0x64]
fmul qword [esp + 0x30]
fld qword [esp + 0x7c]
fmul qword [esp + 0x24]
faddp st(1)
fsubp st(1)
fld dword [0xa66fa4]
fmul qword [esp + 0x14]
faddp st(1)
fstp qword [esp + 0x94]
fld dword [0xa66fcc]
fld qword [esp + 0x6c]
fmul qword [esp + 0x30]
fld qword [esp + 0x84]
fmul qword [esp + 0x24]
faddp st(1)
fsubp st(1)
fld dword [0xa66fa8]
fmul qword [esp + 0x14]
faddp st(1)
mov eax, dword [esp + 0xa8]
fstp qword [esp + 0x9c]
cmp eax, ebx
jne 0x439fb3
fmul qword [0x46c518]
call fcn.00460494
fld qword [esp + 0x94]
fmul qword [0x46c518]
mov esi, eax
call fcn.00460494
fld qword [esp + 0x9c]
fmul qword [0x46c518]
mov ebx, eax
call fcn.00460494
mov ebp, eax
mov eax, dword [0xa77a68]
shl eax, 0xa
mov dword [esp + 0x40], eax
mov eax, dword [0xa77a90]
shl eax, 0xa
mov dword [esp + 0x44], eax
mov eax, dword [0xa77b50]
shl eax, 0xa
mov dword [esp + 0x4c], eax
xor eax, eax
jmp 0x43a029
fmul qword [0x46c5f8]
call fcn.00460494
fld qword [esp + 0x94]
fmul qword [0x46c5f8]
mov esi, 0x200
sub esi, eax
call fcn.00460494
fld qword [esp + 0x9c]
fmul qword [0x46c5f8]
mov ebx, 0x200
sub ebx, eax
call fcn.00460494
mov ecx, dword [0xa77a68]
mov edx, dword [0xa77a90]
mov ebp, 0x200
sub ebp, eax
lea eax, [ecx + 1]
shl eax, 0xa
mov dword [esp + 0x40], eax
lea eax, [edx + 1]
shl eax, 0xa
mov dword [esp + 0x44], eax
mov eax, dword [0xa77b50]
inc eax
shl eax, 0xa
mov dword [esp + 0x4c], eax
mov eax, 0x400
fld qword [esp + 0x74]
fmul qword [0x46c518]
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], 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 + 0x3c], eax
je 0x43a46a
cmp ecx, 1
jne 0x43a366
test di, di
jle 0x43a7ff
movsx edx, di
mov dword [esp + 0x1c], ebp
mov ebp, ebx
mov ecx, esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x1c]
test dx, dx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebx
jle 0x43a330
movsx edx, dx
mov dword [esp + 0x2c], edx
cmp ecx, dword [esp + 0x48]
jl 0x43a2e5
cmp ebp, dword [esp + 0x54]
jl 0x43a2e5
cmp ebx, dword [esp + 0x50]
jl 0x43a2e5
cmp ecx, dword [esp + 0x40]
jg 0x43a2e5
cmp ebp, dword [esp + 0x44]
jg 0x43a2e5
cmp ebx, dword [esp + 0x4c]
jg 0x43a2e5
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 + 0x20], 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 + 0x20]
add edx, ebx
mov ebx, dword [0xa77a58]
and eax, 0xffff
mov eax, dword [ebx + eax*4]
mov dword [esp + 0x20], 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 + 0x20]
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 + 0x20]
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 + 0x3c]
imul ebx, esi
add ebx, edx
mov ebp, dword [esp + 0x60]
shr ebx, 0xc
and ebx, 0xff
inc eax
mov dword [esp + 0x3c], eax
mov cl, byte [ebx + 0xa7bbc0]
mov ebx, dword [esp + 0x64]
mov byte [eax - 1], cl
mov ecx, dword [esp + 0x5c]
jmp 0x43a2f2
mov dl, byte [0xa7bbc0]
mov byte [eax], dl
inc eax
mov dword [esp + 0x3c], 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 0x43a11d
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
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 + 0x10]
add ecx, ebx
add ebp, edi
dec edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], edx
jne 0x43a0f9
jmp 0x43a7ff
test di, di
jle 0x43a7ff
movsx edx, di
mov ecx, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x1c]
test dx, dx
mov esi, ebx
jle 0x43a434
movsx edx, dx
mov dword [esp + 0x10], edx
cmp ecx, dword [esp + 0x48]
jl 0x43a3f9
cmp esi, dword [esp + 0x54]
jl 0x43a3f9
cmp ebp, dword [esp + 0x50]
jl 0x43a3f9
cmp ecx, dword [esp + 0x40]
jge 0x43a3f9
cmp esi, dword [esp + 0x44]
jge 0x43a3f9
cmp ebp, dword [esp + 0x4c]
jge 0x43a3f9
mov ebx, dword [0xa77a58]
mov edx, ecx
sar edx, 0xa
mov edi, esi
mov edx, dword [ebx + edx*4]
mov ebx, dword [0xa77a54]
sar edi, 0xa
add edx, dword [ebx + edi*4]
mov ebx, dword [0xa77a50]
mov edi, ebp
sar edi, 0xa
mov edi, dword [ebx + edi*4]
xor ebx, ebx
mov bl, byte [edx + edi]
mov dl, byte [ebx + 0xa7bbc0]
jmp 0x43a3ff
mov dl, byte [0xa7bbc0]
mov ebx, dword [esp + 0x90]
mov edi, dword [esp + 0x94]
mov byte [eax], dl
mov edx, dword [esp + 0x8c]
add ecx, edx
mov edx, dword [esp + 0x10]
inc eax
add esi, ebx
add ebp, edi
dec edx
mov dword [esp + 0x10], edx
jne 0x43a39e
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
add esi, edx
mov edx, dword [esp + 0x2c]
add ecx, ebp
add ebx, edi
dec edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2c], edx
jne 0x43a384
jmp 0x43a7ff
cmp ecx, 1
jne 0x43a700
test di, di
jle 0x43a7ff
movsx edx, di
mov dword [esp + 0x1c], ebp
mov ebp, ebx
mov ecx, esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x1c]
test dx, dx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebx
jle 0x43a6ca
movsx edx, dx
mov dword [esp + 0x30], edx
cmp ecx, dword [esp + 0x48]
jl 0x43a67f
cmp ebp, dword [esp + 0x54]
jl 0x43a67f
cmp ebx, dword [esp + 0x50]
jl 0x43a67f
cmp ecx, dword [esp + 0x40]
jg 0x43a67f
cmp ebp, dword [esp + 0x44]
jg 0x43a67f
cmp ebx, dword [esp + 0x4c]
jg 0x43a67f
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 + 0x20], 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 + 0x20]
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 + 0x3c]
imul ebx, esi
add ebx, edx
mov ebp, dword [esp + 0x60]
shr ebx, 0xc
and ebx, 0xff
inc eax
mov dword [esp + 0x3c], eax
mov cl, byte [ebx + 0xa7bbc0]
mov ebx, dword [esp + 0x64]
mov byte [eax - 1], cl
mov ecx, dword [esp + 0x5c]
jmp 0x43a68c
mov dl, byte [0xa7bbc0]
mov byte [eax], dl
inc eax
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + 0x90]
mov esi, dword [esp + 0x94]
add ecx, edx
mov edx, dword [esp + 0x30]
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 + 0x30], edx
jne 0x43a4b7
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
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 + 0x14]
add ecx, ebx
add ebp, edi
dec edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], edx
jne 0x43a493
jmp 0x43a7ff
test di, di
jle 0x43a7ff
movsx edx, di
mov ecx, esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x20]
test dx, dx
mov esi, ebx
jle 0x43a7ce
movsx edx, dx
mov dword [esp + 0x14], edx
cmp ecx, dword [esp + 0x48]
jl 0x43a793
cmp esi, dword [esp + 0x54]
jl 0x43a793
cmp ebp, dword [esp + 0x50]
jl 0x43a793
cmp ecx, dword [esp + 0x40]
jge 0x43a793
cmp esi, dword [esp + 0x44]
jge 0x43a793
cmp ebp, dword [esp + 0x4c]
jge 0x43a793
mov ebx, dword [0xa7bba8]
mov edx, ecx
sar edx, 0xa
mov edi, esi
mov edx, dword [ebx + edx*4]
mov ebx, dword [0xa7bba4]
sar edi, 0xa
add edx, dword [ebx + edi*4]
mov ebx, dword [0xa7bba0]
mov edi, ebp
sar edi, 0xa
mov edi, dword [ebx + edi*4]
xor ebx, ebx
mov bl, byte [edx + edi]
mov dl, byte [ebx + 0xa7bbc0]
jmp 0x43a799
mov dl, byte [0xa7bbc0]
mov ebx, dword [esp + 0x90]
mov edi, dword [esp + 0x94]
mov byte [eax], dl
mov edx, dword [esp + 0x8c]
add ecx, edx
mov edx, dword [esp + 0x14]
inc eax
add esi, ebx
add ebp, edi
dec edx
mov dword [esp + 0x14], edx
jne 0x43a738
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
add esi, edx
mov edx, dword [esp + 0x24]
add ecx, ebp
add ebx, edi
dec edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edx
jne 0x43a71e
mov eax, dword [0x870eac]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x43a81f
mov eax, dword [0xa77b58]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
add esp, 0x94
ret
mov ecx, dword [0xa56e50]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
add esp, 0x94
ret