Function at 0x43a840
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 0x43a8b3
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 0x43a8ff
mov eax, dword [0xa67548]
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 0x43a91b
mov dword [esp + 0xa8], ebx
cmp dword [0x473e68], 2
je 0x43aa1a
cmp byte [0xba0620], 4
je 0x43aa1a
movsx ecx, word [0xa66fdc]
mov eax, esi
and eax, 0xffff
movsx edx, word [0xa66fde]
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 [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 [0xa66fac]
fmul st(1)
fstp qword [esp + 0x5c]
fld dword [0xa66fb0]
fmul st(1)
fstp qword [esp + 0x64]
fld dword [0xa66fb4]
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 0x43aaf8
fld dword [0xa66fa0]
fmul st(1)
movsx eax, word [0xa66fda]
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 [0xa66fac]
fmul st(1)
fstp qword [esp + 0x5c]
fld dword [0xa66fb0]
fmul st(1)
fstp qword [esp + 0x64]
fld dword [0xa66fb4]
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 [0xa66fb8]
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 [0xa66fbc]
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 [0xa66fc0]
fmul qword [esp + 0x14]
faddp st(1)
mov eax, dword [esp + 0xa8]
fstp qword [esp + 0x9c]
cmp eax, ebx
jne 0x43ab67
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 0x43abdd
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 0x43b01e
cmp ecx, 1
jne 0x43af1a
test di, di
jle 0x43b3b3
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 0x43aee4
movsx edx, dx
mov dword [esp + 0x2c], edx
cmp ecx, dword [esp + 0x48]
jl 0x43ae99
cmp ebp, dword [esp + 0x54]
jl 0x43ae99
cmp ebx, dword [esp + 0x50]
jl 0x43ae99
cmp ecx, dword [esp + 0x40]
jg 0x43ae99
cmp ebp, dword [esp + 0x44]
jg 0x43ae99
cmp ebx, dword [esp + 0x4c]
jg 0x43ae99
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 0x43aea6
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 0x43acd1
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 0x43acad
jmp 0x43b3b3
test di, di
jle 0x43b3b3
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 0x43afe8
movsx edx, dx
mov dword [esp + 0x10], edx
cmp ecx, dword [esp + 0x48]
jl 0x43afad
cmp esi, dword [esp + 0x54]
jl 0x43afad
cmp ebp, dword [esp + 0x50]
jl 0x43afad
cmp ecx, dword [esp + 0x40]
jge 0x43afad
cmp esi, dword [esp + 0x44]
jge 0x43afad
cmp ebp, dword [esp + 0x4c]
jge 0x43afad
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 0x43afb3
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 0x43af52
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 0x43af38
jmp 0x43b3b3
cmp ecx, 1
jne 0x43b2b4
test di, di
jle 0x43b3b3
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 0x43b27e
movsx edx, dx
mov dword [esp + 0x30], edx
cmp ecx, dword [esp + 0x48]
jl 0x43b233
cmp ebp, dword [esp + 0x54]
jl 0x43b233
cmp ebx, dword [esp + 0x50]
jl 0x43b233
cmp ecx, dword [esp + 0x40]
jg 0x43b233
cmp ebp, dword [esp + 0x44]
jg 0x43b233
cmp ebx, dword [esp + 0x4c]
jg 0x43b233
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 0x43b240
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 0x43b06b
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 0x43b047
jmp 0x43b3b3
test di, di
jle 0x43b3b3
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 0x43b382
movsx edx, dx
mov dword [esp + 0x14], edx
cmp ecx, dword [esp + 0x48]
jl 0x43b347
cmp esi, dword [esp + 0x54]
jl 0x43b347
cmp ebp, dword [esp + 0x50]
jl 0x43b347
cmp ecx, dword [esp + 0x40]
jge 0x43b347
cmp esi, dword [esp + 0x44]
jge 0x43b347
cmp ebp, dword [esp + 0x4c]
jge 0x43b347
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 0x43b34d
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 0x43b2ec
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 0x43b2d2
mov eax, dword [0x870eac]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x43b3d3
mov eax, dword [0xa77b58]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
add esp, 0x94
ret
mov ecx, dword [0xa67548]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
add esp, 0x94
ret