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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x425080]
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 0x41333d
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041348d
test al, al
jne 0x413337
sub edx, 2
cmp edx, edi
jne 0x41331d
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41335f
lea eax, [edi + 2]
cmp edx, eax
je 0x41335f
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041323e
add esp, 0x10
jmp 0x413459
push esi
lea ecx, [ebp - 0x255]
call fcn.0041348d
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 0x4133a2
push dword [ebp - 0x25c]
jmp 0x41334f
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 0x4133df
cmp word [ebp - 0x226], 0
je 0x413400
cmp word [ebp - 0x226], ax
jne 0x4133df
cmp word [ebp - 0x224], 0
je 0x413400
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041323e
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41344c
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4133b9
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x413434
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x413459
push 0x41306e
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00418050
add esp, 0x10
jmp 0x413429
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.00406dd7
leave
ret

Function at 0x4162fb
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0041002e
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41636a
cmp esi, dword [ebp - 4]
je 0x416365
cmp dword [ebp + 0xc], 0
je 0x416365
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x416342
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00415e4d
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x41636c
xor eax, eax
inc eax
jmp 0x41636c
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4163d1
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x425080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0041002e
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0041002e
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x416448
cmp word [ecx], dx
je 0x416448
mov eax, dword [0x41e9c4]
push edi
dec eax
push eax
push 0x41e8b0
call fcn.00416370
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4164bb
cmp word [eax], dx
je 0x4164bb
mov eax, dword [edi]
test eax, eax
je 0x41646c
cmp word [eax], dx
je 0x41646c
lea eax, [ebp - 0x10]
push eax
call fcn.00415d53
jmp 0x416475
lea eax, [ebp - 0x10]
push eax
call fcn.00415dee
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4164e5
mov eax, dword [0x41e8ac]
push dword [ebp - 0x14]
dec eax
push eax
push 0x41e5a0
call fcn.00416370
add esp, 0xc
test al, al
je 0x4164e5
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4164b0
cmp word [eax], di
je 0x4164b0
lea eax, [ebp - 0x10]
push eax
call fcn.00415d53
pop ecx
jmp 0x4164e7
lea eax, [ebp - 0x10]
push eax
call fcn.00415dee
jmp 0x4164ad
mov eax, dword [edi]
test eax, eax
je 0x4164d2
cmp word [eax], dx
je 0x4164d2
lea eax, [ebp - 0x10]
push eax
call fcn.00415d08
pop ecx
jmp 0x4164e5
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x4165b0
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.004161f5
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4165b0
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4165b0
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4165b0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41653d
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00410914
test ebx, ebx
je 0x4165ab
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00410914
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4165b0
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4165b0
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004186f0
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4165b2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406dd7
leave
ret
Function at 0x41a110
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41a13d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41a13d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4046e0
Capabilities:
Extract resource via kernel32 functions
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x43a0d6
mov eax, dword fs:[0]
push eax
sub esp, 0x3b0
mov eax, dword [0x4507d4]
xor eax, esp
mov dword [esp + 0x3ac], eax
push ebp
push esi
push edi
mov eax, dword [0x4507d4]
xor eax, esp
push eax
lea eax, [esp + 0x3c0]
mov dword fs:[0], eax
mov ebp, ecx
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
lea eax, [esp + 0x22c]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x43e8d8
push 0xae
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.004045b0
push esi
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x3d0], 0
call fcn.00404270
push 0
push 0x43e8d5
push str.name
push str.config
lea ecx, [esp + 0x20]
call fcn.00402c60
test eax, eax
jne 0x4047a6
xor ecx, ecx
jmp 0x4047bb
mov ecx, eax
lea esi, [ecx + 1]
jmp 0x4047b0
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x4047b0
sub ecx, esi
push ecx
push eax
mov ecx, 0x451c14
call fcn.004022a0
push 0
push 0x43e8d5
push str.weburl
push str.config
lea ecx, [esp + 0x20]
call fcn.00402c60
test eax, eax
jne 0x4047e9
xor ecx, ecx
jmp 0x4047fb
mov ecx, eax
lea esi, [ecx + 1]
mov edi, edi
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x4047f0
sub ecx, esi
push ecx
push eax
mov ecx, 0x451cc8
call fcn.004022a0
push 0
push 0x43e8d5
push str.updateurl
push str.config
lea ecx, [esp + 0x20]
call fcn.00402c60
test eax, eax
jne 0x404829
xor ecx, ecx
jmp 0x40483b
mov ecx, eax
lea esi, [ecx + 1]
mov edi, edi
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x404830
sub ecx, esi
push ecx
push eax
mov ecx, 0x451ccc
call fcn.004022a0
push 0
push 0x43e8d5
push str.gameurl
push str.config
lea ecx, [esp + 0x20]
call fcn.00402c60
test eax, eax
jne 0x404869
xor ecx, ecx
jmp 0x40487b
mov ecx, eax
lea esi, [ecx + 1]
mov edi, edi
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x404870
sub ecx, esi
push ecx
push eax
mov ecx, 0x451cd0
call fcn.004022a0
push 0
lea ecx, [esp + 0x40]
call fcn.00405410
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c8], 1
mov dword [ebp + 0x20], ecx
call fcn.00415ade
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c8], 0
call fcn.00401c60
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c8], 0xffffffff
call fcn.00404650
mov ecx, dword [esp + 0x3c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x3ac]
xor ecx, esp
call fcn.00427143
add esp, 0x3bc
ret
Function at 0x409ee0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ecx
push edi
mov edi, ecx
cmp dword [edi + 0x918], 0
jne 0x409f66
push ebx
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_recv]
push esi
mov byte [esp + 0x13], 0
xor esi, esi
mov bl, 0xa
nop
cmp esi, 0x400
jge 0x409f53
mov ecx, dword [edi + 0x90c]
push 0
push 1
lea eax, [esp + 0x1b]
push eax
push ecx
call ebp
mov dl, byte [esp + 0x13]
mov byte [esi + edi + 0x404], dl
add esi, 1
cmp esi, 4
jl 0x409f00
cmp byte [esi + edi + 0x400], 0xd
jne 0x409f00
cmp byte [esi + edi + 0x401], bl
jne 0x409f00
cmp byte [esi + edi + 0x402], 0xd
jne 0x409f00
cmp byte [esi + edi + 0x403], bl
jne 0x409f00
mov dword [edi + 0x91c], esi
pop esi
pop ebp
mov dword [edi + 0x918], 1
pop ebx
mov eax, dword [edi + 0x91c]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
lea eax, [edi + 0x404]
pop edi
pop ecx
ret 4

Function at 0x40a140
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x908], 0
je 0x40a19c
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x40a158
lea edi, [esi + 4]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40a171
lea eax, [esi + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40a166
sub eax, edx
push 0
push eax
mov eax, dword [esi + 0x90c]
push edi
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
pop edi
jne 0x40a1a2
push 0
push 0x43fe2c
push str.send__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop esi
ret 8
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00409ee0
mov eax, 1
pop esi
ret 8

Function at 0x40a1c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x908], 0
jne 0x40a1d2
xor eax, eax
pop esi
ret 8
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esi + 0x90c]
push edi
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jg 0x40a1f9
mov ecx, esi
call fcn.00409e60
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x4161f5
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 0x41623b
call fcn.004123c2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41623b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41627e
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 0x416267
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 0x416267
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41627b
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 0x41bd1a
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 0x41bd5d
call fcn.004123c2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41bd5d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41bd78
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0041b8d1
test ebx, ebx
mov esi, eax
je 0x41bd76
test edi, edi
je 0x41bd76
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x427143
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4507d4]
jne 0x42714d
repz ret
jmp fcn.0042c8ac
Function at 0x436126
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042c252
xor ebx, ebx
cmp dword [0x454678], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4361fb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x436166
xor eax, eax
jmp 0x4362bf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44478c
push edi
call esi
cmp eax, ebx
je 0x43615f
push eax
call fcn.0042c1ef
mov dword [esp], 0x44477c
push edi
mov dword [0x454678], eax
call esi
push eax
call fcn.0042c1ef
mov dword [esp], 0x444768
push edi
mov dword [0x45467c], eax
call esi
push eax
call fcn.0042c1ef
mov dword [0x454680], eax
lea eax, [ebp - 8]
push eax
call fcn.00429abf
test eax, eax
pop ecx
pop ecx
je 0x4361c9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042771f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4361fb
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042c1ef
cmp eax, ebx
pop ecx
mov dword [0x454688], eax
je 0x4361fb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042c1ef
pop ecx
mov dword [0x454684], eax
mov eax, dword [0x454684]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x436274
cmp dword [0x454688], esi
je 0x436274
push eax
call fcn.0042c25b
pop ecx
call eax
cmp eax, ebx
je 0x436241
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x454688]
call fcn.0042c25b
pop ecx
call eax
test eax, eax
je 0x436241
test byte [ebp - 0x18], 1
jne 0x436274
lea eax, [ebp - 0xc]
push eax
call fcn.00429af6
test eax, eax
pop ecx
je 0x43625c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042771f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x43626b
or dword [ebp + 0x10], 0x200000
jmp 0x4362a5
or dword [ebp + 0x10], 0x40000
jmp 0x4362a5
mov eax, dword [0x45467c]
cmp eax, esi
je 0x4362a5
push eax
call fcn.0042c25b
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4362a5
mov eax, dword [0x454680]
cmp eax, esi
je 0x4362a5
push dword [ebp - 4]
push eax
call fcn.0042c25b
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 [0x454678]
call fcn.0042c25b
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4399b4
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4507d4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00439949
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.00427e70
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 0x439a03
cmp dword [ebp - 0x1c], 5
jb 0x439a1b
jmp 0x439a17
cmp dword [ebp - 0x10], 1
jne 0x439a1b
cmp dword [ebp - 0x1c], 4
ja 0x439a17
jne 0x439a1b
cmp dword [ebp - 0x18], 0
jbe 0x439a1b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x445080
call fcn.0043981d
test eax, eax
jge 0x439a3c
mov byte [0x451d14], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00427143
add ebp, 0x78
leave
ret
Function at 0x406520
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40b1d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x44
call fcn.00406a60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x54
call fcn.00406a60
mov byte [ebp - 4], 1
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x64
call fcn.00406a60
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], 0
push 0x28
push 0
mov edx, dword [ebp - 0x1c]
add edx, 8
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x14
push 0
mov eax, dword [ebp - 0x1c]
add eax, 0x30
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x10001930
Capabilities:
Query or enumerate registry value

Disassembly:
cmp dword [0x10007334], 0
jne 0x10001948
mov dword [0x10007334], 1
jmp fcn.10004e04
ret

Function at 0x100055c0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x100055d6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x100055f1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0xa20058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00a201a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xa2007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa2006a
add dl, dl
jne 0xa20089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa200dc
xor eax, eax
add dl, dl
jne 0xa20096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa2017d
add dl, dl
jne 0xa200a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa200b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa200bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa200c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa200d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa20075
mov eax, 1
add dl, dl
jne 0xa200ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa200f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa200e1
sub eax, ebx
mov ebx, 1
jne 0xa20128
mov ecx, 1
add dl, dl
jne 0xa2010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa20119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa20105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa20075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa2013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa2014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa20136
cmp eax, 0x7d00
jae 0xa2016d
cmp eax, 0x500
jb 0xa20168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa20075
cmp eax, 0x7f
ja 0xa20170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa20075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa2019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xa20075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x42e005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x403440
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cd45
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x44106c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x403524
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esi + 0x10]
lea ebx, [esi + 0x10]
lea eax, [eax*2 + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x40353f
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
test ecx, ecx
je 0x40355a
jmp 0x4034df
cmp dword [esi + 0x14], 8
jb 0x4034e7
mov esi, dword [esi]
mov eax, dword [ebx]
push esi
inc eax
push eax
push ecx
call fcn.004172e4
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Failed_to_open_clipboard
lea ecx, [ebp - 0x20]
call fcn.00401850
push 0x43f76c
lea eax, [ebp - 0x20]
push eax
call fcn.00413e5b
push str.Failed_to_allocate_global_memory
lea ecx, [ebp - 0x2c]
call fcn.00401850
push 0x43f76c
lea eax, [ebp - 0x2c]
push eax
call fcn.00413e5b
push str.Failed_to_lock_global_memory
lea ecx, [ebp - 0x38]
call fcn.00401850
push 0x43f76c
lea eax, [ebp - 0x38]
push eax
call fcn.00413e5b
int3

Function at 0x407ae0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x407b11
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x407b00
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x4095e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [edi + 0x1c], 8
lea esi, [edi + 8]
mov ebx, dword [edi + 0x18]
jb 0x409604
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x409621
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x409610
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x40965a
cmp eax, edi
jne 0x409652
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x409662
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x409662
cmp eax, edi
jne 0x409662
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 8]
call fcn.00402c00
push 0x38
push edi
call fcn.00412b92
mov eax, dword [ebp - 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8