joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a5fc8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4a606a
cmp dword [ebx + 0x94], 0
jne 0x4a6064
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a5f14
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4a6064
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4a602a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a6064
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00432fd4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a6039
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4a6288
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4c5284]
cmp dword [eax + 0x170], 0
je 0x4a63ed
test bl, bl
jne 0x4a633b
cmp dword [esi + 0x9c], 0
jne 0x4a6330
mov eax, esi
call fcn.004a9178
push eax
push 0x4a6194
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4a6301
mov eax, dword [0x4c5284]
cmp byte [eax + 0xd3], 0
je 0x4a6301
mov eax, dword [esi + 0xd8]
call fcn.00408008
mov edi, eax
cmp edi, 0
jl 0x4a6301
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a62ea
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a6330
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00432fd4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a6310
inc dword [esi + 0x9c]
jmp 0x4a63ed
cmp dword [esi + 0x9c], 0
jle 0x4a63ed
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4a63ed
cmp dword [esi + 0x44], 0
je 0x4a6398
mov eax, dword [0x4c5284]
cmp byte [eax + 0xd3], 0
je 0x4a6398
mov eax, dword [esi + 0xd8]
call fcn.00408008
mov edi, eax
cmp edi, 0
jl 0x4a6398
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a6381
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a63c7
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00432fd4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a63a7
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x499510]
call fcn.004081c8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4a703c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4a70a7
cmp byte [ebx + 0xd3], 0
jne 0x4a70a7
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004069dc
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4a7094
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4a70b4
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004068a0
jmp 0x4a70b4
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004068a0
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4a88dc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a894a
mov eax, esi
call fcn.00481138
test al, al
je 0x4a894a
mov eax, dword [ebx + 0x84]
call fcn.00480db8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a894a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4a893e
push 0
mov eax, dword [ebx + 0x84]
call fcn.00480db8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00477de0
jmp 0x4a894a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004a8714
pop esi
pop ebx
ret
Function at 0x4aa058
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40c284]
call fcn.00407518
xor eax, eax
push ebp
push 0x4aa1a2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4bee98], 0
jne 0x4aa0ac
mov ecx, dword [0x4bf028]
mov dl, 1
mov eax, dword [0x40d3e4]
call fcn.00416e48
call fcn.004058dc
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.004047c8
mov eax, ebx
call fcn.00406724
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x4aa1b0
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00409634
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x4aa0f3
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4aa148
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4aa141
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00406af0
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.00406a88
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.00411fe8
test eax, eax
jne 0x4aa141
mov ebx, 0x15
jmp 0x4aa14d
mov ebx, 0x10
jmp 0x4aa14d
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x4bee98]
call fcn.004a9ec4
mov eax, dword [ebp - 4]
call fcn.004a9ec4
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.0040964c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa1a9
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00406898
lea eax, [ebp - 0xc]
mov edx, dword [0x40c284]
call fcn.004075f0
ret
Function at 0x4ae3e8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x4ae400
add esp, 0xfffffff0
call fcn.00405338
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4ae51a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.00404218
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x4ae504
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.004a9ec4
xor eax, eax
push ebp
push 0x4ae4f1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004a9ec4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.00406af0
jmp 0x4ae4c2
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.00407098
mov eax, dword [ebx + 4]
call fcn.00406bf8
dec eax
jle 0x4ae4d6
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x4ae4b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae4f8
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae521
lea eax, [ebp - 4]
call fcn.00406558
ret
Function at 0x153b02c
Capabilities:
Encode data using xor

Disassembly:
clc
jmp 0x153b052
arpl word [eax + 0x73], sp
push ds
pushal
jae 0x153b073
dec ebp
mov dl, 0x3c
pop edi
ficomp word [ebx]
call 0x6b68a944
pop eax
bound eax, qword [edx]
dec eax
xor eax, 0x2f860a5
fst qword [0x482c9606]
dec ebx
jno 0x153b051
call fcn.0153b088
add dh, bl
cmpsb byte [esi], byte es:[edi]
lodsb al, byte [esi]
sub al, 0x28
sub ch, bh
xor esp, ebp
ret 0xcdfb
Function at 0x10001000
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x10014004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
push 0
push 3
push 0
push 5
push 0x80000000
push 0x100152e8
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10001178
lea eax, [ebp - 0x118]
push eax
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x10001171
push 0x100172e8
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jl 0x10001171
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x114]
push edi
mov dword [0x100172e8], eax
mov dword [0x100172ec], ecx
push esi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [eax]
push 0
lea eax, [ebp - 0x108]
push eax
push 4
lea eax, [ebp - 0x120]
push eax
push ebx
call edi
test eax, eax
je 0x1000116f
cmp dword [ebp - 0x108], 4
jne 0x1000116f
push 0
lea eax, [ebp - 0x10c]
push eax
push 4
lea eax, [ebp - 0x11c]
push eax
push ebx
call edi
test eax, eax
je 0x1000116f
cmp dword [ebp - 0x10c], 4
jne 0x1000116f
mov edi, dword [ebp - 0x11c]
lea esi, [ebp - 0x104]
cmp edi, 0x100
jbe 0x10001113
push edi
call fcn.1000474b
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
add esp, 4
test esi, esi
je 0x10001090
mov edi, dword [ebp - 0x11c]
push 0
lea eax, [ebp - 0x110]
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000114d
cmp dword [ebp - 0x110], edi
jne 0x1000114d
push 0
push dword [ebp - 0x11c]
push esi
push dword [ebp - 0x120]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x104]
cmp esi, eax
je 0x10001090
push esi
call fcn.10004730
add esp, 4
jmp 0x10001087
pop esi
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10001691
mov esp, ebp
pop ebp
ret
Function at 0x100014c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10014004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [ebp - 0x11]
push edi
push 0
push 1
push eax
push 0x4c5e13
mov ebx, ecx
mov byte [ebp - 0x11], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call edi
cmp byte [ebp - 0x11], 0xe8
jne 0x100015c7
push 0
push 4
push 0x100172f0
push 0x4c5e14
call esi
push eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10001547
add dword [0x100172f0], 0x4c5e18
mov eax, 0x100011b0
sub eax, 0x4c5e18
push 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 4
push eax
push 0x4c5e14
call esi
push eax
call edi
push 0x1000000
call fcn.1000474b
add esp, 4
mov dword [0x100172f8], eax
push 0
push 4
push 0x100172f8
push 0x4def10
call esi
push eax
call edi
push 0
push 1
lea eax, [ebp - 0x11]
mov byte [ebp - 0x11], 0xeb
push eax
push 0x4ac5d1
call esi
push eax
call edi
push 0
push 1
lea eax, [ebp - 0x11]
push eax
push 0x4b1ae8
call esi
push eax
call edi
mov eax, 0x10001230
mov byte [ebp - 0x10], 0xe8
sub eax, 0x4ef9af
mov dword [ebp - 0xb], 0x90909090
push 0
mov dword [ebp - 0xf], eax
lea eax, [ebp - 0x10]
push 0xa
push eax
push 0x4ef9aa
mov byte [ebp - 7], 0x90
call esi
push eax
call edi
call fcn.100012f0
push 0x1000
push 0x100152e8
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
sub eax, 1
pop edi
pop esi
pop ebx
js 0x100015f7
movzx ecx, word [eax*2 + 0x100152e8]
cmp ecx, 0x5c
je 0x10001651
cmp ecx, 0x2f
je 0x10001651
sub eax, 1
jns 0x100015e0
mov ecx, 0x100152e8
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10001600
sub ecx, edx
mov eax, 0x1000
sar ecx, 1
sub eax, ecx
push eax
push str.mod_biorand_biorand.dat
push 0x100152e8
call fcn.100046e0
add esp, 0xc
call section..text
push 0
push 0
push 0
push 0x10001190
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001691
mov esp, ebp
pop ebp
ret
lea eax, [eax*2 + 2]
cmp eax, 0x2000
jae 0x1000166a
xor ecx, ecx
mov word [eax + 0x100152e8], cx
jmp 0x100015f7
call fcn.100017c1
int3

Function at 0x10004b2d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10004b6c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10004b6c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10004b6c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10004b6c
cmp dword [ecx + 0x74], 0xe
jbe 0x10004b6c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10007812
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 0x100078af
push ebx
push esi
call fcn.100077db
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.1000776f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000785c
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100078ae
push edi
push eax
call fcn.10005849
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000787c
call fcn.1000580f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100078ad
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000776f
add esp, 0x20
test eax, eax
jne 0x1000789b
push edi
call fcn.1000580f
jmp 0x100078a3
push ebx
call fcn.1000580f
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 0x10007b1c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f510
push 0x1000f508
push str.FlsAlloc
push 0x1f
call fcn.10007a38
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007b50
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000e128]
call esi
jmp 0x10007b56
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10007b9a
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f520
push 0x1000f518
push str.FlsGetValue
push 0x21
call fcn.10007a38
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007bd1
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000e128]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10007bd9
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f528
push 0x1000f520
push str.FlsSetValue
push 0x22
call fcn.10007a38
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007c13
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000e128]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000d280
Capabilities:
Parse pe header

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

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x49ba40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x93000]
push edi
or ebp, 0xffffffff
jmp 0x49ba62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x49ba69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49ba58
mov eax, 1
add ebx, ebx
jne 0x49ba7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x49ba70
jne 0x49ba8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x49ba70
xor ecx, ecx
sub eax, 3
jb 0x49baa0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x49bb12
mov ebp, eax
add ebx, ebx
jne 0x49baab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x49bab8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x49badc
inc ecx
add ebx, ebx
jne 0x49bac8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x49babd
jne 0x49bad9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x49babd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x49bafc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x49baed
jmp 0x49ba5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x49bafc
add edi, ecx
jmp 0x49ba5e
pop esi
mov edi, esi
mov ecx, 0x920
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x49bb1a
cmp byte [edi], 7
jne 0x49bb1a
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 eax, ebx
loop 0x49bb1f
lea edi, [esi + 0x99000]
mov eax, dword [edi]
or eax, eax
je 0x49bb8e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9b0f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9b1ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x49bb4c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9b1b0]
or eax, eax
je 0x49bb88
mov dword [ebx], eax
add ebx, 4
jmp 0x49bb69
call dword [esi + 0x9b1b4]
popal
jmp 0x411bb0
Function at 0x10027470
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a000]
push edi
or ebp, 0xffffffff
jmp 0x10027492
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10027499
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10027488
mov eax, 1
add ebx, ebx
jne 0x100274ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100274a0
jne 0x100274bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100274a0
xor ecx, ecx
sub eax, 3
jb 0x100274d0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x10027542
mov ebp, eax
add ebx, ebx
jne 0x100274db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x100274e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1002750c
inc ecx
add ebx, ebx
jne 0x100274f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x100274ed
jne 0x10027509
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100274ed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1002752c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1002751d
jmp 0x1002748e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1002752c
add edi, ecx
jmp 0x1002748e
pop esi
mov edi, esi
mov ecx, 0xbd9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1002754a
cmp byte [edi], 0x11
jne 0x1002754a
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 eax, ebx
loop 0x1002754f
lea edi, [esi + 0x24000]
mov eax, dword [edi]
or eax, eax
je 0x100275be
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2820c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x282fc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1002757c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x28300]
or eax, eax
je 0x100275b8
mov dword [ebx], eax
add ebx, 4
jmp 0x10027599
call dword [esi + 0x28304]
popal
jmp 0x10018e00
Function at 0x402b04
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404788
test esi, esi
jne 0x402b3a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404878
jmp 0x402b58
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029b8
mov edi, eax
test esi, esi
je 0x402b58
cmp dword [ebx], 0
je 0x402b58
dec esi
jmp 0x402b41
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403760
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x52d020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4037f8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4037d8
xor eax, eax
push ebp
push 0x4037d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403814
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4037d8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x52d020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x52d020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404588
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x53404c], 0
je 0x4045e9
cmp word [0x534220], 0xd7b2
jne 0x4045b1
cmp dword [0x534228], 0
jbe 0x4045b1
mov eax, 0x53421c
call dword [0x534238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x52d078
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404610
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x52d030], 0
jne 0x404605
push 0
push 0x52d070
push 0x52d078
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40473c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402754
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x53404d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404704
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc