joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b64b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x42b6e8
push ebx
push esi
call fcn.0042b614
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0042b55d
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x42b695
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42b6e7
push edi
push eax
call fcn.0042893d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x42b6b5
call fcn.00427078
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42b6e6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042b55d
add esp, 0x20
test eax, eax
jne 0x42b6d4
push edi
call fcn.00427078
jmp 0x42b6dc
push ebx
call fcn.00427078
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x42b6eb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x42b6fc
pop esi
ret
push ebx
push edi
push esi
call fcn.0042b614
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0042893d
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x42b724
push ebx
push esi
push edi
call fcn.0041a630
add esp, 0xc
push 0
call fcn.00427078
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x42be70
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042b997
Function at 0x432470
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43249d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43249d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
enter 0x84, 0
sub ebp, 0x82
mov dword [ebp - 2], 0
call fcn.004015fd
mov ebx, eax
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, ebx
or al, 0x40
push eax
mov eax, 0x401eca
sub eax, fcn.00401695
push eax
push fcn.00401695
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x401079
mov eax, ebx
lea edx, [ebp - 2]
call fcn.00401527
mov eax, ebx
call fcn.00401578
mov eax, 0x40b054
lea edx, [ebx + 0x1b600]
or al, 1
imul eax, ebx
or edx, ebx
mov ebx, 0x40b054
sub ebx, eax
mov eax, ebx
lea ebx, [ebp - 2]
call fcn.00401695
xor eax, eax
lea esp, [ebp + 0x82]
pop ebp
pop edx
pop ecx
pop ebx
ret

Function at 0x4015fd
Capabilities:
Delete file
Encode data using base64 via winapi
Get common file path

Disassembly:
push ebx
push ecx
push edx
enter 0x324, 0
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.DLL_GetCursorPos]
push 0x104
lea eax, [ebp - 0x324]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
push 0
push 0
call dword [sym.imp.USER32.DLL_GetSystemMenu]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push 1
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 4], 0xa
mov byte [ebp - 0x11c], 0
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringA]
lea eax, [ebp - 0x324]
push eax
movzx ebx, byte [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea eax, [ebx - 0x41]
leave
pop edx
pop ecx
pop ebx
ret
Function at 0x401750
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sbb eax, 0x40c0c85f
add byte [eax + 0x58], dl
rol dword [eax + 0x68], 0x74
rol byte [eax], cl
push ecx
call dword [fcn.00407780]
mov eax, dword [0x4102ac]
add esp, 0xc
push esi
sal byte [edi + ecx + 0x50], 0x68
or eax, 0xff00fd80
adc eax, 0x40a364
invalid

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

Disassembly:
out 0x9c, eax
push cs
mov byte [0xd7c9cd8a], al
mov dh, 1
ror byte [ebx + 0xceb2058], 1
xor eax, 0xd996671
test byte [ecx], bl
add ecx, dword [0x488b508c]
sbb byte [eax + 0x5090d301], dl

Function at 0x40ac99
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x40ac9b
ret
Function at 0x406810
Capabilities:
Encode data using xor

Disassembly:
sbb cl, byte [ebx + 0x3440c7e5]
add dword [esi], esp
add byte [eax], al
mov ecx, dword [esi]
add ecx, 0x48
push ecx
call 0x8f3f9f10
pop edi
xor byte [ebp + 0x5d], dh
add byte [eax - 0x74aa5670], dl
push ebp
mov ebp, esp
push ebp
mov ebp, esp
push esi
mov edi, dword [eax + 0x66e06808]
inc eax
add byte [esi - 0x75], dl
push es
push eax
call fcn.00405640
push esi
call 0x334066e0
pop ecx
les eax, [esi + ebx*2]
jns 0x4067f3
add al, 0x88
nop
nop
nop
nop
nop
int 0xe6
nop
xchg edi, eax
nop
nop
xor al, 0x90
Function at 0x409dd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x409df7
xor eax, eax
jmp 0x409e77
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x409e0e
xor eax, eax
jmp 0x409e77
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x409e5a
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jae 0x409e5a
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx*2 + 2]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
jmp 0x409e31
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x409e66
xor eax, eax
jmp 0x409e77
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
test ecx, ecx
jne 0x409e74
xor eax, eax
jmp 0x409e77
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x413e34
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x413e6d
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00413ddc
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041267d
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x415d6e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x415db1
call fcn.00422cab
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x415db1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x415dcc
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00415925
test ebx, ebx
mov esi, eax
je 0x415dca
test edi, edi
je 0x415dca
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x416f63
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x474a3b
call fcn.0044ed2d
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x416f88
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x416fd4
call fcn.0040ea36
push eax
lea ecx, [ebp - 0x10]
call fcn.004013f0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040d65d
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004014f0
mov eax, esi
call fcn.0044ee05
ret 8

Function at 0x41b821
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x41b841
cmp dword [edi + 0x54], 0
jne 0x41b841
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00422cab
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0041b7e8
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x41bdac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x41bdf2
call fcn.00422cab
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41bdf2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41be35
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x41be1e
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41be1e
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41be32
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x449195
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x497e50]
jne 0x44919f
repz ret
jmp fcn.004530fc
Function at 0x4690b1
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00452aa3
xor ebx, ebx
cmp dword [0x49bd08], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x469186
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4690f1
xor eax, eax
jmp 0x46924a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x483a00
push edi
call esi
cmp eax, ebx
je 0x4690ea
push eax
call fcn.00452a40
mov dword [esp], 0x4839f0
push edi
mov dword [0x49bd08], eax
call esi
push eax
call fcn.00452a40
mov dword [esp], 0x4839dc
push edi
mov dword [0x49bd0c], eax
call esi
push eax
call fcn.00452a40
mov dword [0x49bd10], eax
lea eax, [ebp - 8]
push eax
call fcn.0044fd5a
test eax, eax
pop ecx
pop ecx
je 0x469154
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0045320a
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x469186
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00452a40
cmp eax, ebx
pop ecx
mov dword [0x49bd18], eax
je 0x469186
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00452a40
pop ecx
mov dword [0x49bd14], eax
mov eax, dword [0x49bd14]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4691ff
cmp dword [0x49bd18], esi
je 0x4691ff
push eax
call fcn.00452aac
pop ecx
call eax
cmp eax, ebx
je 0x4691cc
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x49bd18]
call fcn.00452aac
pop ecx
call eax
test eax, eax
je 0x4691cc
test byte [ebp - 0x18], 1
jne 0x4691ff
lea eax, [ebp - 0xc]
push eax
call fcn.0044fe09
test eax, eax
pop ecx
je 0x4691e7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0045320a
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4691f6
or dword [ebp + 0x10], 0x200000
jmp 0x469230
or dword [ebp + 0x10], 0x40000
jmp 0x469230
mov eax, dword [0x49bd0c]
cmp eax, esi
je 0x469230
push eax
call fcn.00452aac
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x469230
mov eax, dword [0x49bd10]
cmp eax, esi
je 0x469230
push dword [ebp - 4]
push eax
call fcn.00452aac
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x49bd08]
call fcn.00452aac
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x472fc0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x497e50]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00472e38
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0044c4a0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x47300f
cmp dword [ebp - 0x1c], 5
jb 0x473027
jmp 0x473023
cmp dword [ebp - 0x10], 1
jne 0x473027
cmp dword [ebp - 0x1c], 4
ja 0x473023
jne 0x473027
cmp dword [ebp - 0x18], 0
jbe 0x473027
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x487574
call fcn.00472bf5
test eax, eax
jge 0x473048
mov byte [0x4993e4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00449195
add ebp, 0x78
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x40b311
Capabilities:
Hash data using sha1

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
and dword [ecx + 0x18], 0
and dword [ecx + 0x14], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x5c], eax
ret
Function at 0x40c870
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x805f9c
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x805fa2
pop ebp
sub ebp, 6
sub ebp, 0x405f9c
jmp 0x806000
jmp 0x806009
mov eax, 0x405f9c
add eax, ebp
add eax, 0x93
mov ecx, 0x622
mov edx, 0x642a8ebe
xor byte [eax], dl
inc eax
dec ecx
jne 0x806020
jmp 0x806033
inc eax
fadd qword [eax - 0x4129012c]
scasb al, byte es:[edi]
mov esi, 0x72bed6be
xchg edx, eax
mov esi, 0x41ee7e8d
aam 0xfe
salc
mov esi, 0xd6bebeae
mov esi, 0x8dbe9272
jle 0x806030
inc ecx
sub edi, dword [esi - 0x11417791]
xor eax, 0x82373573
mov esi, 0x7f3fbebe
inc esi
mov esi, 0x73bdbebe
push es
mov eax, 0x4bebebe
xchg esi, eax
mov esi, 0x5c49bebe
mov ebp, 0xb23f3576
mov esi, 0x7bbdbebe
out dx, al
salc
push edi
mov dword [edi - 0x66f02942], esi
mov dword [esi - 0x29656d41], edi
mov esi, 0x56bebebe
mov ebx, 0x57bebebe
xchg esp, eax
mov esi, 0x33ebbebe
rcr byte [edx - 0x49c4ca42], cl
mov esi, 0x2b35bebe
mov dl, 0xbe
mov esi, 0xae3335be
mov esi, 0x577fbebe
mov esp, 0x7c3dbc8f
mov edx, 0x4a3bb1f7
inc ecx
inc ecx
inc ecx
jecxz 0x806130
mov dl, 0xbe
xor eax, 0xbeba9a32
mov esi, 0x8957d6be
mov bh, 0xbe
salc
setns byte [ecx - 0x656d4042]
out dx, eax
push esi
mov ebx, 0x57bebebe
cmp dword [esi + edi*4 - 0x1c151442], 0x41b2cb41
retf
xchg edi, eax
xacquire xchg dword [edi + 0x3dbb7f3d], edi
push esi
mov edx, 0x41410357
inc ecx
xchg edi, eax
ljmp 0x3db8
Function at 0x40103c
Capabilities:
Terminate process

Disassembly:
mov dword [0x402475], eax
mov edx, eax
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edi, edi
call dword [sym.imp.kernel32.dll_GetVersion]
xor esi, esi
push dword [0x403587]
call dword [sym.imp.winmm.dll_waveOutClose]
add eax, 6
test eax, 0xb
jne 0x401075
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
ret

Function at 0x4033a3
Capabilities:
Get graphical window text

Disassembly:
add esi, dword [0x56db2108]
mov ecx, dword [eax + ecx*2]
jnp 0x4033d1
call 0xf35c641c
mov esi, dword [eax]
sbb al, 0xf3
inc ebp
clc
mov esi, esp
cwde
inc ebp
clc
jmp 0x40338d
jnp 0x4033c0
jns 0x403381
jnp 0x403405
cld
mov eax, ecx
mov ecx, dword [ebx + 0x1c]
or dword [ebx + 0x84b8b0b], 0x24491d79
xor byte [eax], al
pop eax
add al, 0x23
inc eax
invalid
push 0xfffffffffffffff0
push 0xfffffffffffffff0
push 0x303303
out dx, eax
adc eax, 0x30358c
inc eax
push 0x30327f
xor byte [eax], al
inc eax
inc dword [0xf0403100]
mov dword [0x303594], eax
dec eax
push 0x3032d8
inc eax
inc dword [0xf0403100]
mov dword [0x303598], eax
mov bl, 0xf
je 0x4033e4
pcmpeqb mm3, mm4
invalid

Function at 0x403462
Capabilities:
Execute anti-debugging instructions

Disassembly:
push eax
mov edi, eax
mov esi, 0x4025b0
mov ecx, dword [0x403222]
shr ecx, 1
dec ecx
mov bl, byte [0x403226]
rdtsc
push eax
mov bh, byte [esi]
inc esi
mov byte [edi], bh
inc edi
mov al, byte [esi]
stosb byte es:[edi], al
add byte [edi - 1], bl
inc esi
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
loop 0x403482
rdtsc
pop edx
sub eax, edx
sub esp, 0x18
push 0
push dword [0x40245d]
call dword [sym.imp.Msacm32.dll_acmStreamOpen]
pop edx
sub edx, eax
push edx
push 0
push 0
push 0x4032fa
call dword [fcn.0040359c]
push 0x4032b5
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [fcn.00403590], eax
push 0
push 2
push 0x4032f8
push 0x4032c4
call dword [fcn.00403590]
pop edx
sub edx, eax
ret

Function at 0x8e1168
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8e116e
pop ebp
sub ebp, 6
sub ebp, 0x4e1168
jmp 0x8e11cc
jmp 0x8e11d5
mov eax, 0x4e1168
add eax, ebp
add eax, 0x93
mov ecx, 0x63c
mov edx, 0xee13faa9
xor byte [eax], dl
inc eax
dec ecx
jne 0x8e11ec
jmp 0x8e11ff
ret
Function at 0x409b98
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
cmp word [0x429a00], 0
push ebx
push ebp
push esi
push edi
mov esi, edx
mov bl, cl
mov edi, 0x429a00
mov ebp, 0x429c08
jne 0x409bed
push 2
mov edx, edi
pop ecx
call fcn.00420b32
push 0xffffffffffffffff
mov edx, edi
mov ecx, ebp
call fcn.004189ba
push ebp
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push edi
push 0x401050
push 0
push 0x4a
push 0x401078
push 0x4010bc
call fcn.0041a5ac
add esp, 0x18
test esi, esi
je 0x409c08
push 0xffffffffffffffff
mov edx, edi
mov ecx, esi
call fcn.004189ba
push 0x4010cc
push esi
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
test bl, bl
je 0x409c3a
cmp byte [0x42979c], 1
jbe 0x409c3a
mov ecx, ebp
call fcn.0041e5db
push 1
mov ecx, ebp
call fcn.0041c3ac
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x409c3a
push 1
mov ecx, edi
call fcn.0041c3ac
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x409d0b
Capabilities:
Get session user name
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0xc], edx
xor ebx, ebx
mov byte [ebp - 6], 0
inc ebx
push edi
cmp dword [esi], 0
jne 0x409d3d
call fcn.0041e86a
mov dword [esi], eax
test eax, eax
jne 0x409d3a
xor al, al
jmp 0x409f4f
mov byte [ebp - 6], bl
mov eax, dword [ebp - 0xc]
mov edi, 0x20000
test al, 1
je 0x409d9c
lea ecx, [ebp - 0x228]
call fcn.00420ae7
lea eax, [ebp - 0x224]
mov edx, 0x2711
push eax
push ecx
mov ecx, esi
call fcn.0041e941
mov bl, al
test bl, bl
je 0x409dbc
lea ecx, [ebp - 0x40]
call fcn.00420c45
cmp word [ebp - 0x40], 0
je 0x409d99
lea eax, [ebp - 0x40]
mov edx, 0x2712
push eax
push ecx
mov ecx, esi
call fcn.0041e941
mov bl, al
test al, al
mov eax, dword [ebp - 0xc]
je 0x409dbf
jmp 0x409d9c
mov eax, dword [ebp - 0xc]
test al, 2
je 0x409dbf
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x2000809
push eax
push edi
mov edx, 0x2713
mov ecx, esi
call fcn.0041e87e
mov bl, al
mov eax, dword [ebp - 0xc]
test al, 4
je 0x409e36
test bl, bl
je 0x409f3d
call fcn.004186ea
mov dword [ebp - 4], eax
mov edx, 0x2719
push 4
lea eax, [ebp - 4]
mov ecx, esi
push eax
push edi
call fcn.0041e87e
mov bl, al
test bl, bl
je 0x409f3d
call fcn.00418712
mov dword [ebp - 4], eax
mov edx, 0x271b
push 4
lea eax, [ebp - 4]
mov ecx, esi
push eax
push edi
call fcn.0041e87e
mov bl, al
test bl, bl
je 0x409f3d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
mov edx, 0x271a
push 4
lea eax, [ebp - 4]
mov ecx, esi
push eax
push edi
call fcn.0041e87e
mov bl, al
mov eax, dword [ebp - 0xc]
test bl, bl
je 0x409f3d
test al, 8
je 0x409e93
lea ecx, [ebp - 0x14]
call fcn.0041123e
push 6
lea eax, [ebp - 0x14]
mov edx, 0x271c
push eax
push edi
mov ecx, esi
call fcn.0041e87e
mov bl, al
test bl, bl
je 0x409f3d
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov edx, 0x271d
mov dword [ebp - 4], eax
mov ecx, esi
push 2
lea eax, [ebp - 4]
push eax
push edi
call fcn.0041e87e
mov bl, al
test al, al
je 0x409f3d
mov eax, dword [ebp - 0xc]
test al, 0x10
je 0x409f23
push 0x103
lea eax, [ebp - 0x248]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x409ed3
xor ecx, ecx
mov edx, 0x271e
mov word [ebp + eax*2 - 0x248], cx
lea eax, [ebp - 0x248]
push eax
push ecx
mov ecx, esi
call fcn.0041e941
mov bl, al
mov dword [ebp - 4], 0x104
test bl, bl
je 0x409f3d
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x248]
push eax
push 2
call dword [sym.imp.Secur32.dll_GetUserNameExW]
test al, al
je 0x409f20
mov eax, dword [ebp - 4]
test eax, eax
je 0x409f20
xor ecx, ecx
mov edx, 0x271f
mov word [ebp + eax*2 - 0x248], cx
lea eax, [ebp - 0x248]
push eax
push ecx
mov ecx, esi
call fcn.0041e941
mov bl, al
test al, al
je 0x409f3d
mov eax, dword [ebp - 0xc]
test al, 0x20
je 0x409f4d
push 2
pop edx
mov ecx, esi
call fcn.00409c40
push 0x17
pop edx
mov ecx, esi
call fcn.00409c40
jmp 0x409f4d
cmp byte [ebp - 6], 1
jne 0x409f4d
mov ecx, dword [esi]
call fcn.00418601
and dword [esi], 0
mov al, bl
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40aa4d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
lea eax, [ebp - 0x424]
push ebx
push esi
push edi
push eax
push 0xf6
mov edi, edx
mov esi, ecx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0xf5
ja 0x40ab04
lea eax, [ebp - 0x21c]
push eax
push ebx
push 0x40145c
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x40ab04
lea ecx, [ebp - 0x21c]
call fcn.0041e322
test al, al
je 0x40ab04
push ecx
push ecx
push edi
push ecx
mov edx, esi
lea ecx, [ebp - 0x21c]
call fcn.0041cd59
test al, al
je 0x40ab04
push 2
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x21c]
call fcn.0041e1ec
test al, al
je 0x40aaf9
push dword [ebp - 0xc]
test esi, esi
lea edx, [ebp - 0x21c]
push dword [ebp - 0x10]
cmovne edx, esi
push dword [ebp + 0xc]
push 2
pop ecx
call fcn.0040a7ec
lea ecx, [ebp - 0x10]
mov bl, al
call fcn.0041e294
lea ecx, [ebp - 0x21c]
call fcn.0041e322
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 0xc