joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e524
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x40e55d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00405690
jmp 0x40e566
mov eax, ebx
mov edx, esi
call fcn.00405554
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40e570
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x40e592
movzx eax, word [esp]
jmp 0x40e594
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40ed1c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x40ee41
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0040eb30
mov esi, eax
mov eax, dword [0x466df4]
cmp byte [eax], 0
je 0x40ede9
mov eax, dword [0x466bf4]
call fcn.00403318
call fcn.0040311c
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x40ecf8]
call fcn.00406940
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x40ee5c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ee25
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x466ba0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x469b48]
call fcn.00406a34
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ee48
lea eax, [ebp - 4]
mov edx, dword [0x40ecf8]
call fcn.0040694c
ret
Function at 0x421444
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46be90
cmp dword [edi], 0
jne 0x4214c0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46be8c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x465c40
mov ecx, 2
call fcn.0040316c
mov edx, 0x42141c
lea eax, [esi + 5]
call fcn.0042143c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042143c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x421495
mov dword [0x46be8c], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x422164
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004055e0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
je 0x4221bc
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x466f0c]
mov dl, 1
mov eax, dword [0x421be4]
call fcn.0040ef58
call fcn.004044d0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00421d6c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4230fc
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x423102
ret
Function at 0x43b188
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x43b19a
add esp, 0xfffffff0
call fcn.00403f2c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420384
mov eax, dword [0x466ba8]
mov dword [eax + 4], ebx
mov dword [eax], 0x43b59c
mov eax, dword [0x466bb4]
mov dword [eax + 4], ebx
mov dword [eax], 0x43b5a8
mov eax, ebx
call fcn.0043b5b4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416e4c]
call fcn.00403ac4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416e4c]
call fcn.00403ac4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416e4c]
call fcn.00403ac4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416e4c]
call fcn.00403ac4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416e4c]
call fcn.00403ac4
mov dword [ebx + 0x74], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4364e8
push eax
push 0
push 0
mov eax, dword [0x466d18]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4226b4]
call fcn.00424134
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x4226b4]
call fcn.00424134
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x4226b4]
call fcn.00424134
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x4226b4]
call fcn.00424134
mov dword [ebx + 0x84], eax
mov eax, ebx
call fcn.0043baac
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43b984
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43b984
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43b984
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43b984
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43b2ed
call fcn.00403f84
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x43c548
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x43c55f
add esp, 0xfffffff0
call fcn.00403f2c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420384
mov eax, dword [0x466b04]
cmp byte [eax], 0
jne 0x43c58c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x466d00]
cmp word [eax + 2], 0
jne 0x43c5a6
mov eax, dword [0x466d00]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0043e208
mov eax, dword [0x466dac]
cmp word [eax + 2], 0
jne 0x43c5c0
mov eax, dword [0x466dac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0043e418
mov byte [ebx + 0x31], 0
mov dl, 1
mov eax, dword [0x4226b4]
call fcn.00424134
mov esi, eax
mov dword [ebx + 0x38], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x43e89c
mov dl, 1
mov eax, dword [0x416e4c]
call fcn.00403ac4
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x416e4c]
call fcn.00403ac4
mov dword [ebx + 0xac], eax
xor eax, eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x58], 0xff000018
mov dword [ebx + 0x74], 0x1f4
mov byte [ebx + 0x78], 1
xor eax, eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x70], 0x9c4
mov byte [ebx + 0x84], 0
mov byte [ebx + 0xa1], 1
mov byte [ebx + 0xb8], 1
mov dl, 1
mov eax, dword [0x422f0c]
call fcn.00429b98
mov esi, eax
mov dword [ebx + 0x9c], esi
push 0x43c79c
mov eax, dword [0x466c10]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00429f9c
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x43eb4c
mov dl, 1
mov eax, dword [0x416e4c]
call fcn.00403ac4
mov dword [ebx + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x466c10]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0040b6d0
test eax, eax
je 0x43c6ce
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0040b4d0
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0040b6b8
test eax, eax
je 0x43c6e6
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x88]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040570c
push ebx
push 0x43de78
call fcn.00432cb0
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xcc], 0
mov eax, dword [0x466b04]
cmp byte [eax], 0
jne 0x43c737
mov eax, ebx
call fcn.0043c910
mov byte [ebx + 0x55], 1
mov byte [ebx + 0x56], 1
mov byte [ebx + 0x57], 1
mov byte [ebx + 0xa2], 1
mov byte [ebx + 0xcd], 0
mov byte [ebx + 0xd8], 0
xor eax, eax
mov dword [ebx + 0xd0], eax
mov byte [ebx + 0xcf], 0
xor eax, eax
mov dword [ebx + 0xa4], eax
mov eax, ebx
call fcn.0043ed74
mov eax, ebx
call fcn.0043f938
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43c794
call fcn.00403f84
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44bad0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x46c11c], 0
je 0x44bc11
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x466d90]
mov edx, dword [edx]
xor al, byte [edx + 0xb8]
je 0x44bc11
mov eax, dword [0x46c120]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46c11c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44bbe0
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x46c11c]
call fcn.0041946c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44bbd8
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1e2], 0
je 0x44bbd8
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x44bbd8
mov eax, dword [ebp - 0x14]
call fcn.00456bac
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44bbd8
push ebp
call fcn.0044ba8c
pop ecx
test al, al
jne 0x44bbd8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403d04
test al, al
je 0x44bbd8
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00403d04
cmp byte [ebp - 1], 0
je 0x44bbd8
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.00407b70
test al, al
je 0x44bbd8
mov edx, dword [ebp - 0x14]
mov eax, dword [0x46c120]
call fcn.0044b204
inc edi
dec ebx
jne 0x44bb35
mov eax, dword [0x46c120]
cmp dword [eax + 8], 0
jle 0x44bbf8
mov eax, dword [0x46c120]
call fcn.0044b2bc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44bc11
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044b8f0
pop ecx
test al, al
jne 0x44bc11
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453898
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00407b58
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0044df4c
test ebx, ebx
jne 0x4538eb
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0045372c
mov ebx, eax
test ebx, ebx
je 0x4539d6
cmp esi, ebx
je 0x453914
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x453929
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x453961
add eax, 0xffffff5f
sub eax, 2
jb 0x453979
dec eax
sub eax, 2
jb 0x45398d
dec eax
sub eax, 2
jb 0x453983
jmp 0x453997
add eax, 0xfffffdff
sub eax, 2
jb 0x453979
dec eax
sub eax, 2
jb 0x45398d
dec eax
sub eax, 2
jb 0x453983
jmp 0x453997
mov byte [esp + 0x120], 0
jmp 0x45399f
mov byte [esp + 0x120], 2
jmp 0x45399f
mov byte [esp + 0x120], 1
jmp 0x45399f
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00432d64
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0044f6f4
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4539d8
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x462438
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor ebx, ebx
mov eax, dword [ebp - 0xc]
inc eax
add eax, 4
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x14]
push eax
push 0x40
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4624d2
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0xc]
add edx, 4
test edx, edx
jl 0x462493
inc edx
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x18]
movzx ebx, byte [ebx + eax]
mov byte [ecx], bl
inc eax
inc ecx
dec edx
jne 0x462485
lea ecx, [ebp + 0x10]
mov edx, dword [ebp - 0xc]
test edx, edx
jl 0x4624ab
inc edx
mov eax, dword [ebp - 8]
movzx ebx, byte [eax]
mov byte [esi], bl
inc esi
inc eax
dec edx
jne 0x4624a1
xor eax, eax
movzx edx, byte [ecx + eax]
mov byte [esi], dl
inc esi
inc eax
cmp eax, 4
jne 0x4624ad
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
or ebx, 0xffffffff
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40ea38
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40eb0d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40eb28
push ebx
push 0x40eb38
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040513c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403250
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404d24
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x40eab8
mov al, 0x6a
call fcn.0040e658
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040ea0c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x40eac1
call fcn.0040ea0c
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40eb14
lea eax, [ebp - 4]
call fcn.00404c88
ret

Function at 0x40ec28
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ecf3
jmp 0x40ece7
cmp dword [esi + 0x10], 0x1000
jne 0x40ecd3
test byte [esi + 0x15], 1
jne 0x40ecd3
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x40ec84
cmp ebp, 2
je 0x40ec84
cmp ebp, 0x10
je 0x40ec84
cmp ebp, 0x20
jne 0x40eca0
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40eca0
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x40ecb1
mov eax, dword [esi]
add eax, ebx
call fcn.0040ec20
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x40eca4
cmp byte [esp + 4], 0
je 0x40ecd3
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ecf3
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x40ec59
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x43b64b
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop ecx
add edi, 1
add edi, 0xa7d462f6
call fcn.0043b68a
or eax, edi
add eax, eax
xor dword [edx], ecx
mov eax, edi
inc edx
sub eax, edi
cmp edx, ebx
jne fcn.0043b64b
mov edi, eax
and eax, edi
sub esp, 4
mov dword [esp], 0x4481b7fa
pop eax
ret
Function at 0x417fa0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x417fc2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x417fc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417fb8
mov eax, 1
add ebx, ebx
jne 0x417fdb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x417fd0
jne 0x417fec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417fd0
xor ecx, ecx
sub eax, 3
jb 0x418000
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x418072
mov ebp, eax
add ebx, ebx
jne 0x41800b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x418018
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41803c
inc ecx
add ebx, ebx
jne 0x418028
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41801d
jne 0x418039
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41801d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41805c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41804d
jmp 0x417fbe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41805c
add edi, ecx
jmp 0x417fbe
pop esi
mov edi, esi
mov ecx, 0xf9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41807a
cmp byte [edi], 7
jne 0x41807a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41807f
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x4180f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x187c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18844]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4180ac
mov ecx, edi
jns 0x4180db
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1884c]
or eax, eax
je 0x4180f1
mov dword [ebx], eax
add ebx, 4
jmp 0x4180c9
call dword [esi + 0x18848]
mov ebp, dword [esi + 0x18850]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41812b
sub esp, 0xffffff80
jmp 0x40437e
Function at 0x403770
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x420030]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x6c]
push ecx
xor ebx, ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xa8]
push ebx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
call edi
test eax, eax
jne 0x403813
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.0040c0f5
pop ecx
pop ecx
test eax, eax
je 0x4037fc
test ebx, ebx
je 0x4037f0
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.0040c0f5
pop ecx
pop ecx
test eax, eax
jle 0x4037fc
push ebx
call fcn.00404730
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.0040470f
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x4037bd
xor edi, edi
cmp ebx, edi
jne 0x403817
xor eax, eax
jmp 0x403883
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push ebx
test eax, eax
je 0x403846
call fcn.00404730
pop ecx
cmp dword [ebp - 0x70], edi
je 0x403813
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x403813
call fcn.00404730
pop ecx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push str.JavaHome
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x403836
cmp dword [ebp - 0x70], edi
je 0x403879
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.0040470f
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004085d9
add ebp, 0x9c
leave
ret
Function at 0x404925
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x294
mov eax, dword [0x420030]
xor eax, ebp
mov dword [ebp + 0x210], eax
mov eax, dword [ebp + 0x21c]
push ebx
push esi
push edi
push 0x10
pop edi
mov dword [ebp - 0x78], eax
call fcn.00404792
push 8
mov esi, eax
call fcn.004046c8
mov ebx, eax
pop ecx
lea eax, [ebp + 0xd0]
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x80], ebx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x404990
mov dword [ebx], eax
lea eax, [ebp + 0xfc]
mov dword [ebx + 4], eax
mov edi, dword [ebx + 4]
test edi, edi
je 0x404997
and dword [ebx + 4], 0
jmp 0x4049ac
xor eax, eax
jmp 0x404a77
lea eax, [ebp - 0x70]
push eax
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindNextFileA]
neg eax
sbb edi, edi
lea eax, [ebp - 0x44]
and edi, eax
test edi, edi
je 0x404a5d
push edi
call fcn.00407d90
pop ecx
cmp eax, 4
jl 0x404983
add eax, edi
cmp byte [eax - 4], 0x2e
jne 0x404983
add eax, 0xfffffffd
push 0x4197ac
push eax
mov dword [ebp - 0x74], eax
call fcn.004085f0
pop ecx
pop ecx
test eax, eax
je 0x4049f2
push 0x4197a8
push dword [ebp - 0x74]
call fcn.004085f0
pop ecx
pop ecx
test eax, eax
jne 0x404983
push 0x3b
push edi
call fcn.00409780
pop ecx
pop ecx
test eax, eax
jne 0x404983
push dword [ebp - 0x78]
call fcn.00407d90
push edi
mov ebx, eax
call fcn.00407d90
mov dword [ebp - 0x74], eax
add eax, ebx
push eax
call fcn.004046c8
lea ecx, [ebx - 1]
push ecx
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
push eax
call fcn.0040c0f5
mov eax, dword [ebp - 0x74]
inc eax
push eax
push edi
mov edi, dword [ebp - 0x7c]
lea eax, [edi + ebx - 1]
push eax
call fcn.0040c0f5
mov ecx, dword [esi + 4]
add esp, 0x24
inc ecx
call fcn.004047e8
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0x80]
mov dword [ecx + eax*4], edi
inc dword [esi + 4]
jmp 0x404983
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindClose]
push dword [ebx + 4]
call fcn.00404730
push ebx
call fcn.00404730
pop ecx
pop ecx
mov eax, esi
mov ecx, dword [ebp + 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004085d9
add ebp, 0x214
leave
ret