joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49fe47
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x7827c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x49fe92
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004a0309
test al, al
jne 0x49fe8c
sub edx, 2
cmp edx, edi
jne 0x49fe72
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x49feb4
lea eax, [edi + 2]
cmp edx, eax
je 0x49feb4
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0049fa40
add esp, 0x10
jmp 0x49ffae
push esi
lea ecx, [ebp - 0x255]
call fcn.004a0309
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x49fef7
push dword [ebp - 0x25c]
jmp 0x49fea4
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x49ff34
cmp word [ebp - 0x226], 0
je 0x49ff55
cmp word [ebp - 0x226], ax
jne 0x49ff34
cmp word [ebp - 0x224], 0
je 0x49ff55
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0049fa40
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x49ffa1
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x49ff0e
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x49ff89
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x49ffae
push 0x49f428
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004058d5
add esp, 0x10
jmp 0x49ff7e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040320b
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x43b66a
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop edi
add edx, 1
call fcn.0043b69e
inc edx
add eax, eax
xor dword [ecx], edi
mov eax, 0xd4884058
sub eax, eax
sub edx, 0xeafaeebd
inc ecx
sub eax, 0x73ecc7c9
cmp ecx, ebx
jne fcn.0043b66a
and eax, edx
ret
Function at 0x4032d6
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45a268
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x47d084]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
and dword [esp + 8], 0
and dword [esp + 0x30], 0
fld qword [0x4779e0]
fstp qword [esp + 0x1c]
push dword [ebp + 0xc]
fld qword [0x4779d8]
lea esi, [esp + 0xc]
fstp qword [esp + 0x18]
push dword [ebp + 8]
fld qword [0x4779b0]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x4779d0]
fsubp st(1)
fadd qword [esp + 0x14]
fld qword [esp + 0x24]
fld qword [0x4779c8]
fmul st(1), st(0)
fxch st(2)
faddp st(1)
fadd qword [esp + 0x1c]
fsub qword [0x4779c0]
fstp qword [esp + 0x14]
fld qword [esp + 0x1c]
fld qword [esp + 0x24]
fdivrp st(2)
fsubrp st(1)
fsub qword [esp + 0x14]
fstp qword [esp + 0x14]
call fcn.004037b2
mov eax, dword [esp + 0x10]
pop ecx
pop ecx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4034a4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45a268
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x47d084]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
and dword [esp + 8], 0
and dword [esp + 0x30], 0
fld qword [0x4779e0]
fstp qword [esp + 0x1c]
push dword [ebp + 0xc]
fld qword [0x4779d8]
lea esi, [esp + 0xc]
fstp qword [esp + 0x18]
push dword [ebp + 8]
fld qword [0x4779b0]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x4779d0]
fsubp st(1)
fadd qword [esp + 0x14]
fld qword [esp + 0x24]
fld qword [0x4779c8]
fmul st(1), st(0)
fxch st(2)
faddp st(1)
fadd qword [esp + 0x1c]
fsub qword [0x4779c0]
fstp qword [esp + 0x14]
fld qword [esp + 0x1c]
fld qword [esp + 0x24]
fdivrp st(2)
fsubrp st(1)
fsub qword [esp + 0x14]
fstp qword [esp + 0x14]
call fcn.00403a2a
mov eax, dword [esp + 0x10]
pop ecx
pop ecx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x403574
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45a268
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x47d084]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
and dword [esp + 8], 0
and dword [esp + 0x30], 0
fld qword [0x4779e0]
fstp qword [esp + 0x1c]
push dword [ebp + 0xc]
fld qword [0x4779d8]
lea esi, [esp + 0xc]
fstp qword [esp + 0x18]
push dword [ebp + 8]
fld qword [0x4779b0]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x4779d0]
fsubp st(1)
fadd qword [esp + 0x14]
fld qword [esp + 0x24]
fld qword [0x4779c8]
fmul st(1), st(0)
fxch st(2)
faddp st(1)
fadd qword [esp + 0x1c]
fsub qword [0x4779c0]
fstp qword [esp + 0x14]
fld qword [esp + 0x1c]
fld qword [esp + 0x24]
fdivrp st(2)
fsubrp st(1)
fsub qword [esp + 0x14]
fstp qword [esp + 0x14]
call fcn.00403b66
mov eax, dword [esp + 0x10]
pop ecx
pop ecx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x405568
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x47d084]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
push ecx
push dword [edi]
xor esi, esi
or eax, 0x2001f
lea ebx, [esp + 0x18]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.004057d8
mov ebx, eax
cmp ebx, esi
je 0x4055ca
cmp dword [esp + 0x10], esi
je 0x4055c6
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x405640
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x4055e8
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.00405568
mov dword [esp + 0x24], eax
cmp eax, esi
jne 0x405657
lea eax, [esp + 0x28]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x44]
push eax
push esi
push dword [esp + 0x2c]
mov dword [esp + 0x3c], 0x100
call ebx
test eax, eax
je 0x4055d2
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x10], esi
je 0x405623
push dword [esp + 0x10]
call ebx
mov dword [esp + 0x10], esi
push dword [esp + 0x20]
mov dword [esp + 0x18], esi
call fcn.004054fa
mov edi, eax
cmp dword [esp + 0x10], esi
je 0x40563e
push dword [esp + 0x10]
call ebx
mov eax, edi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041176d
mov esp, ebp
pop ebp
ret 4
cmp dword [esp + 0x10], esi
je 0x405667
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
jmp 0x405640
Function at 0x4082ae
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x45a1fb
call fcn.004539c4
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov edi, edx
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x408306
call fcn.00407068
mov esi, eax
jmp 0x408410
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x40831f
call fcn.00407068
jmp 0x408402
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x408315
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x424], edi
cmp eax, edi
jae 0x40835c
mov esi, 0x8007000e
jmp 0x408404
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, esi
ja 0x408371
cmp eax, 0xffffffff
jbe 0x40837b
push 0x80070216
call fcn.00405e04
cmp eax, 0x400
jbe 0x4083a8
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.004074de
jmp 0x4083b4
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], esi
je 0x408352
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x408315
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov ecx, dword [ebp - 0x418]
lea edx, [ebp - 0x42c]
call fcn.0040814e
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x408429
lea eax, [ebp - 0x418]
call fcn.00407516
mov eax, esi
call fcn.00453a20
ret 0xc
Function at 0x4091c1
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 0x14], 0
mov byte [0x480350], 0
mov dword [ebp - 0xc], 0x46
mov dword [ebp - 8], 0x32
mov dword [ebp - 0x10], 0x51
mov dword [ebp - 4], 0x52
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
imul eax, ecx
mov ecx, dword [ebp - 0xc]
sub eax, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp eax, ecx
jge 0x409221
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
imul eax, eax, 0x60
shl ecx, 6
sub eax, ecx
mov ecx, dword [ebp - 0x10]
lea eax, [eax + ecx - 0x53]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
imul eax, eax, 6
sub eax, ecx
mov ecx, dword [ebp - 8]
sub eax, ecx
mov ecx, dword [ebp - 0x10]
sub eax, ecx
add eax, dword [ebp - 4]
push edi
add eax, dword [ebp - 4]
add eax, dword [ebp - 8]
add eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
lea eax, [eax + ecx + 0x5d]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x409299
push esi
xor esi, esi
cmp dword [ebp - 0x14], esi
jle 0x409292
push dword [0x47e8d4]
push dword [edi + esi*4]
call fcn.00413a9c
pop ecx
pop ecx
test eax, eax
je 0x40928b
inc esi
cmp esi, dword [ebp - 0x14]
jl 0x40926f
jmp 0x409292
mov byte [0x480350], 1
push edi
call fcn.0044085c
pop esi
mov eax, 0x480350
pop edi
leave
ret
Function at 0x40b8d1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40b935
cmp dword [ebp + 0xc], 1
je 0x40b90d
cmp dword [ebp + 0xc], 2
je 0x40b90d
push 0xd
pop eax
jmp 0x40b935
mov eax, dword [ebp - 4]
test edi, edi
je 0x40b92f
test eax, eax
je 0x40b92a
test al, 1
jne 0x40b908
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x40b92f
jmp 0x40b908
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8

Function at 0x411445
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x47f120], 0
push esi
push edi
jne 0x4113bb
call fcn.00411327
test eax, eax
je 0x411400
mov eax, dword [0x47f120]
cmp eax, 1
jne 0x4113dc
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x411400
jmp 0x411442
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x411442
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x411404
xor eax, eax
jmp 0x411442
mov eax, dword [esi]
push dword [0x47f120]
call edi
mov edi, eax
test edi, edi
je 0x411426
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x411442
lea edi, [esi + 0xff0]
push esi
push dword [0x47f120]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x41142c
mov eax, esi
pop edi
pop esi
ret
jmp 0x4113a7

Function at 0x41176d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47d084]
jne 0x411777
repz ret
jmp fcn.00414a02
Function at 0x41f0fb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47d084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00417b6a
and dword [ebp - 0x14], 0
cmp dword [0x47ff64], 0
mov dword [ebp - 0x18], eax
jne 0x41f1ae
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41f256
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41f256
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x47ff64], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x47ff68], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x47ff6c], eax
call edi
push eax
call esi
mov dword [0x47ff74], eax
test eax, eax
je 0x41f1ae
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x47ff70], eax
mov eax, dword [0x47ff70]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41f207
cmp dword [0x47ff74], ecx
je 0x41f207
push eax
call esi
push dword [0x47ff74]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41f207
test ebx, ebx
je 0x41f207
call edi
test eax, eax
je 0x41f1fe
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41f1fe
test byte [ebp - 8], 1
jne 0x41f207
or dword [ebp + 0x10], 0x200000
jmp 0x41f23a
mov eax, dword [0x47ff68]
cmp eax, dword [ebp - 0x18]
je 0x41f23a
push eax
call esi
test eax, eax
je 0x41f23a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41f23a
mov eax, dword [0x47ff6c]
cmp eax, dword [ebp - 0x18]
je 0x41f23a
push eax
call esi
test eax, eax
je 0x41f23a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x47ff64]
call esi
test eax, eax
je 0x41f256
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41f258
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041176d
leave
ret
Function at 0x42168d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov ebx, eax
mov esi, edx
push edi
not esi
mov edx, 0xff
cmp ebx, 8
jb 0x4217a4
mov edi, ebx
shr edi, 3
movzx eax, byte [ecx]
fld qword [0x4779b8]
xor eax, esi
and eax, edx
mov dword [ebp - 0x1c], eax
mov eax, esi
mov esi, dword [ebp - 0x1c]
shr eax, 8
xor eax, dword [esi*4 + 0x45dc40]
movzx esi, byte [ecx + 1]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x45dc40]
movzx esi, byte [ecx + 2]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x45dc40]
movzx esi, byte [ecx + 3]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x45dc40]
movzx esi, byte [ecx + 4]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x45dc40]
movzx esi, byte [ecx + 5]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x45dc40]
movzx esi, byte [ecx + 6]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x45dc40]
movzx esi, byte [ecx + 7]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x45dc40]
add ecx, 8
fstp qword [ebp - 0x20]
mov esi, eax
fld qword [0x4779b0]
fstp qword [ebp - 0x20]
fld qword [0x4779a8]
fstp qword [ebp - 0x18]
fld qword [0x4779a0]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x18]
fcomp qword [ebp - 0x20]
fnstsw ax
test ah, 5
jp 0x42179a
fld qword [ebp - 0x10]
fadd qword [ebp - 0x20]
fsub qword [0x477998]
fsub qword [ebp - 0x18]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x477990]
fstp qword [ebp - 0x20]
sub ebx, 8
dec edi
jne 0x4216af
test ebx, ebx
je 0x4217bd
movzx eax, byte [ecx]
xor eax, esi
and eax, edx
shr esi, 8
xor esi, dword [eax*4 + 0x45dc40]
inc ecx
dec ebx
jne 0x4217a8
mov dword [ebp - 0x14], 0x46
mov dword [ebp - 0xc], 0x32
mov dword [ebp - 0x1c], 0x51
mov dword [ebp - 4], 0x52
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
imul eax, ecx
mov ecx, dword [ebp - 0x14]
sub eax, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
jge 0x42180c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
imul eax, eax, 0x60
shl ecx, 6
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + ecx - 0x53]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
imul eax, eax, 6
sub eax, ecx
mov ecx, dword [ebp - 0xc]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
add eax, dword [ebp - 4]
pop edi
add eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
add eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
lea eax, [eax + ecx + 0x5d]
mov dword [ebp - 4], eax
mov eax, esi
pop esi
not eax
pop ebx
leave
ret
Function at 0x43f029
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov dword [ebp - 4], 8
mov dword [ebp - 8], 0x2b
mov eax, dword [ebp - 8]
add eax, 0xb
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
imul eax, eax, 0x14
sub eax, ecx
add eax, dword [ebp - 4]
push 0x59
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
pop ecx
cdq
idiv ecx
mov ecx, dword [ebp - 4]
push 0x29
imul eax, ecx
pop ecx
sub ecx, eax
add ecx, dword [ebp - 8]
push 0xff
push dword [ebp + 0xc]
add ecx, dword [ebp - 4]
push dword [ebp + 8]
add ecx, dword [ebp - 4]
push 0x400
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
leave
ret 8

Function at 0x43f13b
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
fld qword [0x477a20]
fst qword [esp]
fld qword [0x477a18]
fstp qword [esp + 8]
fld1
fstp qword [esp + 0x10]
fld qword [esp]
fstp st(0)
fld qword [esp]
fstp st(0)
fld qword [esp + 8]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 1
jne 0x43f1cd
fld qword [esp + 8]
fsub qword [0x477a10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fadd qword [esp]
fstp qword [esp + 8]
fld qword [esp + 8]
fadd qword [0x477a08]
fld qword [esp + 8]
fmul qword [esp]
fmul qword [0x477a00]
fsubp st(1)
fsub qword [esp + 8]
fld qword [esp + 0x10]
fmul qword [0x4779f8]
faddp st(1)
fsubrp st(1)
fsub qword [esp]
fsub qword [0x4779f0]
fsub qword [esp + 8]
fstp qword [esp + 0x10]
jmp 0x43f1cf
fstp st(0)
fld qword [esp]
push 1
fsub qword [0x4779e8]
push dword [ebp + 0xc]
push dword [ebp + 8]
fsub qword [esp + 0xc]
fstp qword [esp + 0x14]
fld qword [esp + 0xc]
fsub qword [esp + 0x1c]
fstp qword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x442d69
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
fld qword [0x477a20]
push edi
fst qword [ebp - 0x10]
fld qword [0x477a18]
fstp qword [ebp - 8]
fld1
fstp qword [ebp - 0x18]
fld qword [ebp - 0x10]
fstp st(0)
fld qword [ebp - 0x10]
fstp st(0)
fld qword [ebp - 8]
fcomp qword [ebp - 0x18]
fnstsw ax
test ah, 1
jne 0x442deb
fld qword [ebp - 8]
fsub qword [0x477a10]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [ebp - 0x10]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fadd qword [0x477a08]
fld qword [ebp - 8]
fmul qword [ebp - 0x10]
fmul qword [0x477a00]
fsubp st(1)
fsub qword [ebp - 8]
fld qword [ebp - 0x18]
fmul qword [0x4779f8]
faddp st(1)
fsubrp st(1)
fsub qword [ebp - 0x10]
fsub qword [0x4779f0]
fsub qword [ebp - 8]
fstp qword [ebp - 0x18]
jmp 0x442ded
fstp st(0)
fld qword [ebp - 0x10]
mov eax, 0x5a4d
fsub qword [0x4779e8]
fsub qword [ebp - 0x10]
fstp qword [ebp - 8]
fld qword [ebp - 0x10]
fsub qword [ebp - 0x18]
fstp qword [ebp - 0x10]
cmp word [esi], ax
je 0x442e16
xor eax, eax
jmp 0x442ebf
mov ecx, dword [esi + 0x3c]
cmp dword [ecx + esi], 0x4550
jne 0x442e0f
mov dword [ebp - 4], 8
mov dword [ebp - 0xc], 0x2b
mov eax, dword [ebp - 0xc]
add eax, 0xb
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
imul eax, eax, 0x14
sub eax, edx
add eax, dword [ebp - 4]
push 0x59
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
cdq
pop edi
idiv edi
mov edx, dword [ebp - 4]
push 0x29
imul eax, edx
pop edx
sub edx, eax
add edx, dword [ebp - 0xc]
add edx, dword [ebp - 4]
add edx, dword [ebp - 4]
cmp dword [ecx + esi + 0x98], 0
mov dword [ebp - 0xc], edx
je 0x442e0f
mov dword [ebp - 4], 0xf
mov dword [ebp - 0xc], 0x47
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
imul eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
lea eax, [edx + eax - 0x48]
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
imul eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
sub eax, edi
mov dword [ebp - 4], eax
add dword [ebp - 4], 0xffffffe6
mov eax, dword [ecx + esi + 0x98]
add eax, esi
pop edi
leave
ret