joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427b30
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 0x427b61
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x427b50
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x428320
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
cmp dword [esi + 0x4c], 0xffffffff
je 0x4284f1
mov eax, dword [esi + 0x4c]
cmp eax, 0x7c
je 0x4284f1
cmp eax, 0x29
jne 0x428359
cmp dword [esi + 0x10], 0
jne 0x4284f1
test dword [esi + 0x50], 0x10000000
je 0x4284f7
cmp eax, 0x2e
jne 0x4283b6
push 5
lea ecx, [esi + 0x24]
call fcn.004286e0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x4283aa
cmp word [eax], 0x5c
jne 0x4283a7
add eax, 2
cmp eax, ecx
je 0x4283a7
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x428393
movzx edx, word [eax]
cmp edx, 0x28
je 0x4283a5
cmp edx, 0x29
je 0x4283a5
test cl, 0x10
jne 0x4283a7
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x4283a5
cmp ecx, 0x7d
jne 0x4283a7
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.004269e0
jmp 0x4284de
cmp eax, 0x5c
jne 0x42841d
mov ecx, esi
call fcn.004282d0
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x4283e9
cmp word [esi + 0x48], 0x62
jne 0x4283e9
push 4
lea ecx, [esi + 0x24]
call fcn.004286e0
mov ecx, esi
call fcn.004282d0
jmp 0x4284e5
test eax, eax
je 0x428411
cmp word [esi + 0x48], 0x42
jne 0x428411
push 4
lea ecx, [esi + 0x24]
call fcn.004286e0
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.004282d0
jmp 0x4284e5
mov ecx, esi
call fcn.00429730
jmp 0x4284de
cmp eax, 0x5b
jne 0x428440
mov ecx, esi
call fcn.004282d0
mov ecx, esi
call fcn.00429680
push 4
push 0x5d
mov ecx, esi
call fcn.00429610
jmp 0x4284de
cmp eax, 0x28
jne 0x42846a
mov ecx, esi
call fcn.004282d0
mov ecx, esi
call fcn.00429800
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.00429610
test bl, bl
je 0x4284e5
jmp 0x4284de
cmp eax, 0x5e
jne 0x428482
push 2
lea ecx, [esi + 0x24]
call fcn.004286e0
mov ecx, esi
call fcn.004282d0
jmp 0x4284e5
cmp eax, 0x24
jne 0x42849a
push 3
lea ecx, [esi + 0x24]
call fcn.004286e0
mov ecx, esi
call fcn.004282d0
jmp 0x4284e5
cmp eax, 0x2a
je 0x42850c
cmp eax, 0x2b
je 0x42850c
cmp eax, 0x3f
je 0x42850c
cmp eax, 0x7b
je 0x42850c
cmp eax, 0x7d
jne 0x4284bc
test dword [esi + 0x50], 0x10000000
je 0x4284fe
cmp eax, 0x5d
jne 0x4284ca
test dword [esi + 0x50], 0x10000000
je 0x428505
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00429a30
mov ecx, esi
call fcn.004282d0
mov ecx, esi
call fcn.00429900
cmp dword [esi + 0x4c], 0xffffffff
mov cl, 1
jne 0x428331
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.0042eafd
push 6
call fcn.0042eafd
push 4
call fcn.0042eafd
push 0xa
call fcn.0042eafd
int3
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0xcf967c8
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
mov ecx, 0x33171218
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401899
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60c
push ebx
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
push ebx
push eax
mov dword [ebp - 4], 0x80004005
call fcn.004047d0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
push 0x10
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4019cd
push edi
lea edi, [ebp - 0x20c]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x4018ee
mov eax, dword [ebp + 8]
push esi
mov esi, 0x409140
movsd dword es:[edi], dword [esi]
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x401906
lea edi, [ebp - 0x20c]
sub eax, edx
sub edi, 2
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x40191c
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x20c]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x401941
mov esi, 0x409144
movsd dword es:[edi], dword [esi]
push 0x3ff
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x60b]
push ebx
push eax
movsw word es:[edi], word [esi]
mov byte [ebp - 0x60c], bl
call fcn.004047d0
push dword [ebp + 0x10]
lea eax, [ebp - 0x60c]
push dword [ebp + 0xc]
push str._InternetShortcut__r_nURL_S_r_nIconFile_S_r_nIconIndex0_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
push ebx
push ebx
push 2
push ebx
push ebx
mov edi, eax
push 0xc0000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4019cb
push ebx
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0x60c]
push eax
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], ebx
pop esi
pop edi
mov eax, dword [ebp - 4]
pop ebx
leave
ret
Function at 0x4019d3
Capabilities:
Create directory
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
xor ebx, ebx
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.004047d0
lea eax, [ebp - 0x210]
push eax
push 2
call fcn.00401846
add esp, 0x14
test eax, eax
je 0x401b3e
lea eax, [ebp - 4]
push eax
push 0x4071cc
push 1
push ebx
push 0x4071dc
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x401b41
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x4071ec
push eax
call dword [ecx]
mov esi, eax
cmp esi, ebx
jl 0x401b33
mov eax, dword [ebp - 4]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 4]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp dword [ebp + 0x14], ebx
je 0x401a81
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
push dword [ebp + 0x18]
push eax
call dword [ecx + 0x44]
cmp esi, ebx
jl 0x401b2a
push edi
push ebx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edi, [ebp - 0x210]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x401aae
mov eax, dword [ebp + 0xc]
mov esi, 0x409140
movsd dword es:[edi], dword [esi]
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x401ac5
lea edi, [ebp - 0x210]
sub eax, edx
sub edi, 2
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x401adb
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x210]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x401b00
mov eax, dword [ebp - 8]
mov esi, str..lnk
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
lea edx, [ebp - 0x210]
push edx
movsw word es:[edi], word [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
pop edi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x401b41
mov esi, dword [ebp - 8]
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x401c0a
Capabilities:
Create http request
Delete file
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push ebx
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push str.Mozilla_4.0__compatible__MSIE_5.5__Windows_NT_5.0_
mov dword [ebp - 0xc], 0x80004005
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x401d33
push esi
push edi
push 4
lea ecx, [ebp - 0x1c]
push ecx
push 0x1f
push eax
mov dword [ebp - 0x1c], 0x3180
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 8
pop ecx
mov esi, str.Accept:___r_n_r_n
lea edi, [ebp - 0x3c]
lea eax, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x401c62
push ebx
sub eax, edx
push 0x4000000
sar eax, 1
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x401d23
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x401d11
push 0xff
lea eax, [ebp - 0x13b]
push ebx
push eax
mov byte [ebp - 0x13c], bl
call fcn.004047d0
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
add esp, 0xc
mov edi, 0x100
jmp 0x401cf7
cmp dword [ebp - 8], ebx
je 0x401d0e
push ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 4]
call esi
test eax, eax
jne 0x401cd7
jmp 0x401d11
mov dword [ebp - 0xc], ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
cmp dword [ebp - 0xc], ebx
jge 0x401d3c
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0xc]
pop ebx
leave
ret
Function at 0x4047b8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a370]
jne 0x4047c2
repz ret
jmp fcn.00405b4c

Function at 0x40549b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40a370]
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.00402ae8
and dword [ebp - 0x14], 0
cmp dword [0x40b4f4], 0
mov dword [ebp - 0x18], eax
jne 0x40554e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4055f6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4055f6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40b4f4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40b4f8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40b4fc], eax
call edi
push eax
call esi
mov dword [0x40b504], eax
test eax, eax
je 0x40554e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40b500], eax
mov eax, dword [0x40b500]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4055a7
cmp dword [0x40b504], ecx
je 0x4055a7
push eax
call esi
push dword [0x40b504]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4055a7
test ebx, ebx
je 0x4055a7
call edi
test eax, eax
je 0x40559e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40559e
test byte [ebp - 8], 1
jne 0x4055a7
or dword [ebp + 0x10], 0x200000
jmp 0x4055da
mov eax, dword [0x40b4f8]
cmp eax, dword [ebp - 0x18]
je 0x4055da
push eax
call esi
test eax, eax
je 0x4055da
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4055da
mov eax, dword [0x40b4fc]
cmp eax, dword [ebp - 0x18]
je 0x4055da
push eax
call esi
test eax, eax
je 0x4055da
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40b4f4]
call esi
test eax, eax
je 0x4055f6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4055f8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004047b8
leave
ret
Function at 0x43a1a9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043a028

Function at 0x43d5ce
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043d28e

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6e5360f4
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x32cd3b73
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x1014784
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x101f6c0
call fcn.01014994
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x102c3c8
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x101453b
cmp eax, esi
jne 0x101452e
xor esi, esi
inc esi
mov ebx, esi
jmp 0x101453e
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1014515
xor esi, esi
inc esi
mov eax, dword [0x102c3c4]
cmp eax, esi
jne 0x1014551
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1014580
mov eax, dword [0x102c3c4]
test eax, eax
jne 0x101457a
mov dword [0x102c3c4], esi
push 0x100123c
push 0x1001230
call fcn.0101447a
pop ecx
pop ecx
test eax, eax
je 0x1014580
jmp 0x10146a8
mov dword [0x1029754], esi
mov eax, dword [0x102c3c4]
cmp eax, esi
jne 0x10145a4
push 0x100122c
push 0x1001220
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x102c3c4], 2
test ebx, ebx
jne 0x10145b0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x102c3cc], 0
je 0x10145d4
push 0x102c3cc
call fcn.01014909
pop ecx
test eax, eax
je 0x10145d4
push 0
push 2
push 0
call dword [0x102c3cc]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x1014630
test al, al
je 0x10145ee
cmp dword [ebp - 0x1c], 0
jne 0x1014630
mov al, byte [esi]
test al, al
je 0x10145fe
cmp al, 0x20
ja 0x10145fe
inc esi
mov dword [ebp - 0x20], esi
jmp 0x10145ee
test byte [ebp - 0x3c], 1
je 0x101460a
movzx eax, word [ebp - 0x38]
jmp 0x101460d
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x1029750], eax
cmp dword [0x1029744], 0
jne 0x1014684
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x101463f
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x1014652
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x10145db
cmp dword [0x1029754], 0
jne 0x1014693
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1029750]
jmp 0x10146b4
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.010149d9
ret
call fcn.01014b7f
jmp 0x10144db
Function at 0x101d74b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1021020]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0xdc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0xec]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebx + 8]
push eax
xor esi, esi
push esi
push esi
push 0x1011878
push ecx
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xf0], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xf4], esi
cmp dword [ebx + 0x171c], esi
jbe 0x101d913
lea eax, [ebx + 0x55c]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x101d8f1
mov edi, dword [ebx + eax*4 + 0x2318]
mov eax, dword [ebp - 0xf4]
inc eax
push eax
push 0x1011864
lea eax, [ebp - 0xcc]
push 0x64
push eax
mov dword [ebp - 0x104], edi
call fcn.0101bdf2
add esp, 0x10
push esi
lea eax, [ebp - 0xf8]
push eax
push esi
push 0x20019
push esi
push esi
push esi
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0x100]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x101d8f1
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0xdc]
push eax
push esi
push esi
push 0x101184c
push dword [ebp - 0xf8]
mov dword [ebp - 0x108], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xf0]
push eax
lea eax, [edi + 0x2b74]
push eax
push esi
push esi
push 0x1011834
push dword [ebp - 0xf8]
mov dword [ebp - 0xf0], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 4
add edi, 0x43c
pop ecx
lea esi, [ebp - 0xdc]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x101d8b1
push 4
pop ecx
lea edi, [ebp - 0xec]
lea esi, [ebp - 0xdc]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x101d8e3
lea eax, [ebp - 0xf0]
push eax
mov eax, dword [ebp - 0x104]
add eax, 0x2b78
push eax
push 0
push 0
push 0x1011810
push dword [ebp - 0xf8]
mov dword [ebp - 0xf0], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xf8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
inc dword [ebp - 0xf4]
mov eax, dword [ebp - 0xf4]
add dword [ebp - 0xfc], 0x234
cmp eax, dword [ebx + 0x171c]
jb 0x101d7c9
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010147ad
leave
ret 4
Function at 0x101d929
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push 2
xor ebx, ebx
push ebx
mov esi, ecx
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebx
jl 0x101da59
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov ecx, esi
call fcn.0101b92a
mov dword [esi + 4], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
mov ecx, esi
call fcn.0101bf8d
mov eax, dword [esi + 4]
cmp eax, 1
je 0x101d986
cmp eax, 3
je 0x101d986
cmp eax, 2
jne 0x101d998
mov ecx, esi
call fcn.0101c119
cmp eax, ebx
jge 0x101d998
mov byte [esi + 0x21], 1
mov dword [esi + 0x24], eax
cmp dword [esi + 4], 1
jne 0x101d9e9
push ebx
push ebx
push 0x400
push dword [esi + 0xc]
mov byte [esi + 0x18], 1
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x101d9db
push ebx
push ebx
push dword [esi + 0xc]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x101d9e2
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [esi + 0x18], bl
jne 0x101d9b4
jmp 0x101d9e9
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0x20
call sub.d3d9.dll_Direct3DCreate9
mov dword [esi + 0x2340], eax
cmp eax, ebx
jne 0x101da03
mov dword [esi + 0x24], 0x82000001
jmp 0x101da53
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
cmp eax, ebx
jge 0x101da13
mov dword [esi + 0x24], eax
jmp 0x101da53
mov ecx, esi
call fcn.0101c516
cmp eax, ebx
jl 0x101da0e
xor edx, edx
cmp dword [esi + 0x233c], ebx
jbe 0x101da4c
lea ecx, [esi + 0x2318]
mov eax, dword [ecx]
cmp byte [eax + 0x2b71], bl
jne 0x101da57
cmp byte [eax + 0x2b73], bl
jne 0x101da57
inc edx
add ecx, 4
cmp edx, dword [esi + 0x233c]
jb 0x101da2e
mov dword [esi + 0x24], 0x82000003
mov byte [esi + 0x21], 1
xor eax, eax
pop esi
pop ebx
leave
ret 4
Function at 0x10011f9
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1001100
call fcn.010013e4
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1001236
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001236
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100124e
cmp eax, 0x20b
je 0x100123b
mov dword [ebp - 0x1c], ebx
jmp 0x1001262
cmp dword [ecx + 0x84], 0xe
jbe 0x1001236
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x100125c
cmp dword [ecx + 0x74], 0xe
jbe 0x1001236
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x100201c], 0xffffffff
or dword [0x1002020], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1002018]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1002014]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1002024], eax
call fcn.010013de
cmp dword [section..data], ebx
jne 0x10012bd
push fcn.010013de
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010013cc
push 0x100106c
push 0x1001068
call sub.msvcrt.dll__initterm
mov eax, dword [0x1002010]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x100200c]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x1001064
push 0x1001060
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
cmp byte [esi], 0x22
jne 0x1001353
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x1001327
cmp al, 0x22
jne 0x1001319
cmp byte [esi], 0x22
jne 0x1001330
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x100133a
cmp al, 0x20
jbe 0x100132c
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x4c], 1
je 0x100135e
movzx eax, word [ebp - 0x48]
jmp 0x1001361
cmp byte [esi], 0x20
jbe 0x1001330
inc esi
mov dword [ebp - 0x34], esi
jmp 0x1001353
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x100137e
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x10013b3
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0100141d
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, reloc.kernel32.dll_SleepEx
nop
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219