joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ccf09
Capabilities:
Write file on windows

Disassembly:
push 0x30
mov eax, 0x516bf9
call fcn.004cea37
mov esi, ecx
mov dword [ebp - 0x30], esi
mov edi, dword [ebp + 8]
mov ebx, 0xffff
cmp bx, di
jne 0x4ccf2e
xor eax, eax
jmp 0x4cd0a7
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x4ccf5a
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x4ccf5a
dec dword [edx]
mov ax, di
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
jmp 0x4cd0a7
cmp dword [esi + 0x4c], 0
je 0x4cd0a4
mov ecx, esi
call fcn.004ccb7c
xor eax, eax
cmp dword [esi + 0x38], eax
jne 0x4ccf8d
push dword [esi + 0x4c]
push edi
call fcn.004cc73b
pop ecx
pop ecx
test al, al
je 0x4cd0a4
movzx ebx, di
jmp 0x4cd0a4
push eax
push 8
lea ecx, [ebp - 0x28]
mov word [ebp - 0x2c], di
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.004516c6
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, ecx
cmp eax, 0x10
jae 0x4ccfc5
lea edx, [ebp - 0x28]
mov ecx, edx
mov edi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x3c]
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [ebp - 0x2a]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
call fcn.004ce98f
mov ecx, edi
call dword [esi + 0x1c]
test eax, eax
js 0x4cd098
cmp eax, 1
jg 0x4cd073
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
cmp eax, 0x10
jae 0x4cd00e
lea edx, [ebp - 0x28]
mov edi, dword [ebp - 0x38]
sub edi, edx
je 0x4cd03b
cmp eax, 0x10
jae 0x4cd01d
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x30]
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.004df7e9
add esp, 0x10
cmp edi, eax
jne 0x4cd06e
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
jmp 0x4cd03e
mov esi, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x3c], edx
jne 0x4cd068
test edi, edi
jne 0x4ccfb9
cmp dword [ebp - 0x18], 0x20
jae 0x4cd092
push edi
push 8
lea ecx, [ebp - 0x28]
call fcn.004040e5
jmp 0x4ccfb3
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx ebx, bx
jmp 0x4cd092
cmp eax, 3
jne 0x4cd098
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.004cc73b
pop ecx
pop ecx
test al, al
je 0x4cd092
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx eax, bx
movzx ebx, ax
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040450d
mov ax, bx
call fcn.004ce9e1
ret 4

Function at 0x4e926b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004e8f2e

Function at 0x4e9276
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004e90af
Function at 0x4f17a6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
mov eax, dword [0x56d078]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x3c]
mov edi, dword [esi + 0x30]
movsx ebx, ax
shr eax, 0x10
movsx ebp, ax
jmp 0x4f1815
mov esi, dword [edi]
lea ecx, [esp + 0x1c]
xorps xmm0, xmm0
movups xmmword [esp + 0x1c], xmm0
push ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
push ebp
push ebx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4f1812
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
test al, al
je 0x4f1812
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
test al, al
jne 0x4f181b
mov edi, dword [edi + 8]
test edi, edi
jne 0x4f17d2
jmp 0x4f1841
xor eax, eax
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x38], 0x205
lea ecx, [esp + 0x10]
push ecx
sete al
mov dword [esp + 0x18], ebp
inc eax
mov ecx, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
call dword [eax + 0x4c]
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004cde67
add esp, 0x24
ret 8

Function at 0x4f19b5
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x3c
mov eax, dword [0x56d078]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
push ebx
push ebp
push esi
push edi
movsx ebp, ax
mov edi, ecx
shr eax, 0x10
and dword [edx], 0
cwde
mov ebx, dword [edi + 0x30]
mov dword [esp + 0x14], eax
jmp 0x4f1a2a
mov esi, dword [ebx]
lea ecx, [esp + 0x34]
xorps xmm0, xmm0
movups xmmword [esp + 0x34], xmm0
push ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
push dword [esp + 0x14]
lea eax, [esp + 0x38]
push ebp
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4f1a27
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
test al, al
je 0x4f1a27
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
test al, al
jne 0x4f1a54
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4f19e4
mov ecx, dword [edi + 0x34]
test ecx, ecx
je 0x4f1a3d
mov eax, dword [ecx]
call dword [eax + 0x54]
and dword [edi + 0x34], ebx
mov ecx, dword [esp + 0x44]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004cde67
add esp, 0x3c
ret 0x10
mov ecx, dword [edi + 0x34]
cmp esi, ecx
je 0x4f1a67
test ecx, ecx
je 0x4f1a64
mov eax, dword [ecx]
call dword [eax + 0x54]
mov dword [edi + 0x34], esi
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
mov dword [esp + 0x18], ebp
and ax, cx
lea edx, [esp + 0x18]
xor cx, cx
cmp cx, ax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi + 0x34]
sbb eax, eax
neg eax
mov dword [esp + 0x20], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x50]
mov eax, dword [edi + 4]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x2c], 2
call dword [sym.imp.USER32.dll_TrackMouseEvent]
jmp 0x4f1a3d
Function at 0x410340
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x4103e0
push ebx
push ebp
push esi
mov esi, dword [ecx]
push edi
xor eax, eax
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov edi, dword [ecx + 4]
xor esi, esi
cmp edi, edx
jle 0x410392
mov ebp, dword [ecx]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x4ccf6c]
xor eax, edx
inc esi
cmp esi, edi
jl 0x410373
xor edx, edx
mov edi, dword [ecx + 0xc]
xor esi, esi
cmp edi, edx
jle 0x4103bb
mov ebp, dword [ecx + 8]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x4ccf6c]
xor eax, edx
inc esi
cmp esi, edi
jl 0x41039e
mov edx, dword [ecx]
pop edi
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
shr eax, 0x18
pop esi
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret
Function at 0x414dd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x4ca010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [0x4ce5a4], 0
push 0x4ce648
push 0xffffffffffffffff
push 0
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
mov ecx, 0x27
mov esi, 0x4ce648
mov edi, 0x4ce5a8
rep movsd dword es:[edi], dword [esi]
cmp dword [0x4ce6b4], 0x500
jb 0x414e27
cmp dword [0x4ce6b8], 0x2d0
jae 0x414e48
push 0
mov ecx, 0x45cfa60
call fcn.00411310
push eax
push 0x4bf958
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.0049cd11
mov dword [ebp - 0xa8], 0
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
push 0
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
test eax, eax
je 0x414e7d
mov edx, dword [ebp - 0xa8]
add edx, 1
mov dword [ebp - 0xa8], edx
jmp 0x414e52
mov eax, dword [ebp - 0xa8]
add eax, 1
xor ecx, ecx
mov edx, 0x9c
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00498ffa
add esp, 4
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa8], 0
imul ecx, dword [ebp - 0xa8], 0x9c
add ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
push edx
push 0
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
test eax, eax
je 0x414ef0
mov eax, dword [ebp - 0xa8]
add eax, 1
mov dword [ebp - 0xa8], eax
jmp 0x414ebb
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xac], 0
jmp 0x414f15
mov ecx, dword [ebp - 0xac]
add ecx, 1
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xac]
cmp edx, dword [ebp - 0xa8]
jge 0x415016
imul eax, dword [ebp - 0xac], 0x9c
mov ecx, dword [ebp - 0xa4]
cmp dword [ecx + eax + 0x6c], 0x500
jne 0x415011
imul edx, dword [ebp - 0xac], 0x9c
mov eax, dword [ebp - 0xa4]
cmp dword [eax + edx + 0x70], 0x2d0
jne 0x415011
imul ecx, dword [ebp - 0xac], 0x9c
mov edx, dword [ebp - 0xa4]
cmp dword [edx + ecx + 0x68], 0x20
jne 0x415011
push 0x4ce648
imul eax, dword [ebp - 0xac], 0x9c
add eax, dword [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x415011
push 2
imul ecx, dword [ebp - 0xac], 0x9c
add ecx, dword [ebp - 0xa4]
push ecx
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
test eax, eax
jne 0x415011
imul esi, dword [ebp - 0xac], 0x9c
add esi, dword [ebp - 0xa4]
mov ecx, 0x27
mov edi, 0x4ce648
rep movsd dword es:[edi], dword [esi]
mov dword [0x4ce644], 1
cmp dword [ebp - 0xa4], 0
je 0x41500f
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb4]
push eax
call fcn.00498ff5
add esp, 4
mov dword [ebp - 0xa4], 0
jmp 0x415044
jmp 0x414f06
cmp dword [ebp - 0xa4], 0
je 0x415044
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xb8]
push edx
call fcn.00498ff5
add esp, 4
mov dword [ebp - 0xa4], 0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00498d32
mov esp, ebp
pop ebp
ret
Function at 0x4399e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
mov eax, dword [0x4ca010]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1b4], ecx
push 0x64
lea eax, [ebp - 0x194]
push eax
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [ecx + 0x234]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x19c], 0
mov ecx, 1
imul edx, ecx, 0
mov dword [ebp - 0x1a4], edx
cmp dword [ebp - 0x1a4], 0xc8
jae 0x439a58
jmp 0x439a5d
call fcn.00499124
mov eax, dword [ebp - 0x1a4]
mov byte [ebp + eax - 0xcc], 0
mov ecx, dword [ebp - 0x198]
cmp ecx, dword [ebp - 0x1b8]
jge 0x439b70
mov edx, dword [ebp - 0x198]
movsx eax, byte [ebp + edx - 0x194]
and eax, 0xff
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0x81
jl 0x439aae
cmp dword [ebp - 0x1a0], 0xfe
jle 0x439ace
cmp dword [ebp - 0x1a0], 0xe0
jl 0x439b5c
cmp dword [ebp - 0x1a0], 0xfc
jg 0x439b5c
mov ecx, dword [ebp - 0x19c]
mov edx, dword [ebp - 0x198]
mov al, byte [ebp + edx - 0x194]
mov byte [ebp + ecx - 0xcc], al
mov ecx, dword [ebp - 0x19c]
add ecx, 1
mov dword [ebp - 0x19c], ecx
mov edx, dword [ebp - 0x198]
add edx, 1
mov dword [ebp - 0x198], edx
mov eax, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x198]
mov dl, byte [ebp + ecx - 0x194]
mov byte [ebp + eax - 0xcc], dl
mov eax, dword [ebp - 0x19c]
add eax, 1
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x19c]
mov dword [ebp - 0x1a8], ecx
cmp dword [ebp - 0x1a8], 0xc8
jae 0x439b49
jmp 0x439b4e
call fcn.00499124
mov edx, dword [ebp - 0x1a8]
mov byte [ebp + edx - 0xcc], 0
mov eax, dword [ebp - 0x198]
add eax, 1
mov dword [ebp - 0x198], eax
jmp 0x439a6b
lea ecx, [ebp - 0xcc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jg 0x439b83
jmp 0x439bc4
lea edx, [ebp - 0xcc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x64
jle 0x439bc4
mov eax, 1
imul ecx, eax, 0x64
mov dword [ebp - 0x1ac], ecx
cmp dword [ebp - 0x1ac], 0xc8
jae 0x439bb1
jmp 0x439bb6
call fcn.00499124
mov edx, dword [ebp - 0x1ac]
mov byte [ebp + edx - 0xcc], 0
mov ecx, 0x4ce930
call fcn.0041c780
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0xcc]
push eax
imul ecx, dword [ebp + 8], 0x3a100
mov edx, dword [ebp - 0x1b0]
lea eax, [edx + ecx + 9]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x439bf9
jmp 0x439c22
lea ecx, [ebp - 0xcc]
push ecx
imul edx, dword [ebp + 8], 0x3a100
mov eax, dword [ebp - 0x1b0]
lea ecx, [eax + edx + 9]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, 0x4ce930
call fcn.0046b500
mov ecx, dword [ebp - 0x1b4]
call fcn.004376f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00498d32
mov esp, ebp
pop ebp
ret 4
Function at 0x45da00
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4ca010]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x110], ecx
mov eax, dword [0x4c1e94]
mov dword [ebp - 0x114], eax
mov byte [ebp - 0x109], 0x61
jmp 0x45da3c
mov cl, byte [ebp - 0x109]
add cl, 1
mov byte [ebp - 0x109], cl
movsx edx, byte [ebp - 0x109]
cmp edx, 0x7a
jg 0x45dad7
push 5
movzx eax, byte [ebp - 0x109]
push eax
mov ecx, dword [ebp - 0x110]
call fcn.0045daf0
movzx ecx, al
cmp ecx, 1
jne 0x45dad2
mov edx, 1
imul eax, edx, 0
mov cl, byte [ebp - 0x109]
mov byte [ebp + eax - 0x114], cl
push 0
push 0
push 0
push 0
push 0
push 0x104
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea ecx, [ebp - 0x108]
push ecx
mov ecx, dword [ebp - 0x110]
add ecx, 0x3c
mov edx, dword [ebp - 0x110]
mov eax, dword [edx + 0x3c]
mov edx, dword [eax + 0xc]
call edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x45dad2
mov al, byte [ebp - 0x109]
jmp 0x45dad9
jmp 0x45da2d
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00498d32
mov esp, ebp
pop ebp
ret

Function at 0x45daf0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [0x4c1e98]
mov dword [ebp - 4], eax
mov ecx, 1
imul edx, ecx, 0
mov al, byte [ebp + 8]
mov byte [ebp + edx - 4], al
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, dword [ebp + 0xc]
jne 0x45db23
mov al, 1
jmp 0x45db25
xor al, al
mov esp, ebp
pop ebp
ret 8
Function at 0x45ede0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4ca010]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x410], ecx
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x5ac], eax
mov ecx, dword [ebp - 0x410]
cmp dword [ecx + 0x5a8], 8
je 0x45ee35
mov edx, dword [ebp - 0x410]
cmp dword [edx + 0x5a8], 0xd
jne 0x45ee79
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0x5ac]
mov dword [ebp - 0x414], ecx
cmp dword [ebp - 0x414], 8
jl 0x45ee5d
cmp dword [ebp - 0x414], 0x11
jle 0x45ee5b
jmp 0x45ee5d
jmp 0x45ee77
mov edx, dword [ebp - 0x410]
cmp dword [edx + 0x5ac], 1
je 0x45ee77
mov ecx, dword [ebp - 0x410]
call fcn.0045e970
jmp 0x45eea3
mov ecx, dword [ebp - 0x410]
call fcn.0045edb0
push str.cgpSaveThumbChange.png
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
movzx edx, byte [ebp + 0x10]
cmp edx, 1
jne 0x45eebc
mov ecx, dword [ebp - 0x410]
call fcn.0045f000
jmp 0x45efe6
lea ecx, [ebp - 0x40c]
call fcn.004122c0
push 0x304
push 0
lea eax, [ebp - 0x40c]
push eax
call fcn.0049a590
add esp, 0xc
mov dword [ebp - 0x40c], 0x1964
xorps xmm0, xmm0
movss dword [ebp - 0x3f0], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x3ec], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x3e8], xmm0
mov dword [ebp - 0x3d0], 0x500
mov dword [ebp - 0x3cc], 0x2d0
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], 0
mov dword [ebp - 0x3c0], 0x500
mov dword [ebp - 0x3bc], 0x2d0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x424]
call fcn.00411280
mov ecx, dword [eax]
mov dword [ebp - 0x3e0], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x3dc], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x3d8], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x3d4], edx
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x408], 0x6d
mov byte [ebp - 0x3fc], 1
lea eax, [ebp - 0x40c]
push eax
mov ecx, 0x4656e90
call fcn.0043f3e0
push ecx
movss xmm0, dword [0x4c52a8]
movss dword [esp], xmm0
push 0xc8
mov ecx, dword [ebp - 0x40c]
push ecx
mov ecx, 0x4656e90
call fcn.00443d80
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00498d32
mov esp, ebp
pop ebp
ret 0xc
Function at 0x462b60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x1c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1c]
mov eax, dword [edx + 0xc]
call eax
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str._bgm_
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x462bf5
push str._:_setup_bgm_
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 4]
call fcn.0045da00
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
mov byte [ecx + edx], al
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x462bf5
xor al, al
jmp 0x462bf7
mov al, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x46e000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4ca010]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
xor edx, edx
mov word [ebp - 0x14], dx
mov eax, 1
mov word [ebp - 0x12], ax
xor ecx, ecx
mov word [ebp - 0x10], cx
xor edx, edx
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
xor ecx, ecx
mov word [ebp - 0xa], cx
xor edx, edx
mov word [ebp - 8], dx
mov eax, 1
mov word [ebp - 6], ax
cmp dword [ebp + 0x18], 0
jne 0x46e066
xor eax, eax
jmp 0x46e0cb
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00498ffa
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
jne 0x46e0a6
push 0x30
mov ecx, 0x45cfa60
call fcn.00411310
push eax
push 0x4c2874
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.0049cd11
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 6
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.GDI32.dll_GetGlyphOutlineA]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00498d32
mov esp, ebp
pop ebp
ret 0x14
Function at 0x473190
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], ecx
mov byte [ebp - 1], 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 8]
test ecx, ecx
je 0x47325e
mov dword [ebp - 0xc], 0
push 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x47325c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x473251
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x10], 0
jne 0x47322e
push 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
add eax, 0x28
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
jmp 0x47324f
cmp dword [ebp - 0x10], 0x102
jne 0x473244
mov byte [ebp - 1], 4
mov eax, dword [ebp - 8]
mov byte [eax + 8], 0
jmp 0x47324f
mov byte [ebp - 1], 5
mov ecx, dword [ebp - 8]
mov byte [ecx + 8], 0
jmp 0x47325c
mov byte [ebp - 1], 5
mov edx, dword [ebp - 8]
mov byte [edx + 8], 0
jmp 0x473262
mov byte [ebp - 1], 2
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 8

Function at 0x473270
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4ca010]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
call fcn.00472d40
mov eax, dword [ebp - 0x18]
mov dword [eax], vtable.COnahole.0
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0x70], 0
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x68], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x6c], 0
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x13], 0x3c
mov byte [ebp - 0x12], 0x30
mov byte [ebp - 0x11], 0x31
mov byte [ebp - 0x10], 0x35
mov byte [ebp - 0xf], 0x32
mov byte [ebp - 0xe], 0x30
mov byte [ebp - 0xd], 0x30
mov byte [ebp - 0xc], 0x30
mov byte [ebp - 0xb], 0x30
mov byte [ebp - 0xa], 0x30
mov byte [ebp - 9], 1
mov byte [ebp - 8], 2
mov byte [ebp - 7], 3
mov byte [ebp - 6], 0x68
mov byte [ebp - 5], 0x3e
mov ecx, dword [ebp - 0x18]
add ecx, 0x48
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xc]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 8]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00498d32
mov esp, ebp
pop ebp
ret
Function at 0x473d10
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0550
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4ca010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.MOSceMain.0
mov ecx, dword [ebp - 0x10]
call fcn.00473e70
push 0x47fd50
push 0x64
push 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0x3eae54
push ecx
call fcn.004991fe
push 0x47fe50
push 0xa
push 8
mov edx, dword [ebp - 0x10]
add edx, 0x3ead38
push edx
call fcn.004991fe
mov ecx, dword [ebp - 0x10]
add ecx, 0x3ead30
call fcn.0047ff20
mov ecx, dword [ebp - 0x10]
add ecx, 0x3ead28
call fcn.0047ff20
mov ecx, dword [ebp - 0x10]
add ecx, 0x3ead20
call fcn.0047ff20
mov ecx, dword [ebp - 0x10]
add ecx, 0x3ead18
call fcn.0047ff20
mov ecx, dword [ebp - 0x10]
add ecx, 0x3ead10
call fcn.0047ff20
mov ecx, dword [ebp - 0x10]
add ecx, 0x313bcc
call fcn.00490130
mov ecx, dword [ebp - 0x10]
add ecx, 0x313bb0
call fcn.00492740
mov ecx, dword [ebp - 0x10]
add ecx, 0xc7428
call fcn.00492450
mov ecx, dword [ebp - 0x10]
add ecx, 0xc7404
call fcn.0048fb80
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.00492740
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.004925e0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00492740
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00490480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret