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

Disassembly:
mov eax, 0x11c68
call fcn.004984d0
mov eax, dword [esp + 0x11c70]
push ebx
push ebp
mov ebp, dword [esp + 0x11c74]
push esi
mov esi, ecx
movzx ecx, word [edx]
xor ebx, ebx
cmp ecx, 0x41
je 0x47796c
cmp ecx, 0x61
jne 0x4779c1
cmp word [edx + 2], bx
jne 0x4779c1
cmp word [edi], bx
jne 0x4779c1
cmp word [eax], bx
jne 0x4779c1
cmp word [esi], bx
jne 0x4779c1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
je 0x4779a2
cmp byte [ebp + 0xe6], bl
jne 0x4779a2
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4779a2
xor esi, esi
cmp byte [esp + 0x11c84], bl
je 0x4779b5
cmp esi, ebx
je 0x4779b5
mov dword [ebp + 0xc0], esi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
cmp cx, bx
jne 0x4779e6
cmp word [edi], bx
jne 0x4779e6
cmp word [eax], bx
jne 0x4779e6
cmp word [esi], bx
jne 0x4779e6
mov eax, ebp
call fcn.00477b40
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
push esi
push edi
push edx
push ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x102c], 0x4ab02c
mov byte [esp + 0x1849], bl
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x1850], ebx
mov dword [esp + 0x1854], ebx
mov dword [esp + 0x1858], ebx
mov dword [esp + 0x185c], ebx
mov dword [esp + 0x1860], ebx
mov dword [esp + 0x186c], ebx
mov dword [esp + 0x1870], ebx
call fcn.00478610
test eax, eax
je 0x477af7
test byte [esp + 0x10], 2
mov al, byte [esp + 0x11c80]
mov ecx, dword [esp + 0x11c88]
mov edx, dword [esp + 0x11c8c]
mov byte [esp + 0x1839], al
mov dword [esp + 0x1848], ecx
mov dword [esp + 0x184c], edx
je 0x477b03
mov eax, dword [esp + 0x102c]
cmp eax, 0xffff
je 0x477acf
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x477af7
cmp byte [ebp + 0xe6], bl
jne 0x477ac8
mov eax, dword [esp + 0x102c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x477ac8
mov ecx, dword [esp + 0x102c]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x477af7
mov eax, dword [esp + 0x102c]
cmp dword [esp + 0x1860], eax
je 0x477ae8
lea esi, [esp + 0x10]
mov dword [esp + 0x1860], eax
call fcn.00478a70
push ebx
lea edx, [esp + 0x14]
push edx
call fcn.00478b30
test eax, eax
jne 0x477b13
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
lea eax, [esp + 0x10]
push eax
push 0x477bb0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x1840]
cmp byte [esp + 0x11c84], bl
je 0x477b2d
cmp eax, ebx
je 0x477b2d
mov dword [ebp + 0xc0], eax
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
Function at 0x478a70
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov ecx, dword [esi + 0x1850]
test ecx, ecx
je 0x478b2e
mov eax, dword [esi]
test eax, eax
je 0x478b2e
push edi
test al, 1
jne 0x478a9a
mov eax, dword [esi + 0x100c]
cmp word [eax], 0
je 0x478ab6
push 0x7fff
lea edi, [esi + 0x1858]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x478ab6
xor ecx, ecx
mov word [edi], cx
test byte [esi], 4
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
je 0x478ad1
mov eax, dword [esi + 0x1850]
lea edx, [esi + 0x1854]
push edx
push eax
call edi
test byte [esi], 0x20
je 0x478b0f
mov edx, dword [esi + 0x1850]
lea ecx, [esp + 4]
push ecx
push edx
call edi
test eax, eax
je 0x478b0f
movzx eax, byte [esi + 0x1828]
mov ecx, dword [esp + 4]
push eax
lea eax, [esi + 0x11a58]
call fcn.00450220
add esp, 4
test eax, eax
jne 0x478b0f
xor ecx, ecx
mov word [esi + 0x11a58], cx
test byte [esi], 8
pop edi
je 0x478b2e
mov eax, dword [esi + 0x1850]
push 0x101
lea edx, [esi + 0x11856]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
pop ecx
ret

Function at 0x479350
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c64
call fcn.004984d0
mov eax, dword [esp + 0x11c68]
mov eax, dword [eax + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x4793fd
mov dword [esp + 0x1848], eax
lea eax, [esp + 8]
push eax
push 0x479a90
mov dword [esp + 0x10], ebx
mov dword [esp + 0x101c], 0x4ab02c
mov byte [esp + 0x1839], bl
mov dword [esp + 0x183c], ebx
mov dword [esp + 0x1840], ebx
mov dword [esp + 0x1844], ebx
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x185c], ebx
mov dword [esp + 0x1860], ebx
mov byte [esp + 0x1854], cl
mov dword [esp + 0x1858], edx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x1838], ebx
je 0x4793fd
mov ecx, dword [0x4c28ec]
mov eax, dword [ecx + 0x54]
cmp eax, 0xffffffff
jle 0x4793fd
push 1
push eax
call fcn.00401340
add esp, 8
mov eax, 1
pop ebx
add esp, 0x11c64
ret 4
Function at 0x479410
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
cmp dword [edi + 8], 0
jne 0x47942c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x4c28ec]
push eax
push esi
mov ecx, edi
call fcn.004798d0
cmp byte [edi], 0
mov dword [esp + 0x10], eax
je 0x479463
test eax, eax
jne 0x479467
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push edi
call fcn.00479520
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
test eax, eax
jne 0x4794e6
test esi, esi
je 0x4794e6
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
push 1
push 0x8000012f
mov ebx, eax
call fcn.00401340
mov edi, dword [sym.imp.USER32.dll_IsWindow]
add esp, 8
push esi
call edi
test eax, eax
je 0x4794c5
mov edi, edi
call ebp
lea ecx, [ebx + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x4794c5
push 1
push 0x8000012f
call fcn.00401340
add esp, 8
push esi
call edi
test eax, eax
jne 0x4794a0
mov edx, dword [0x4c28ec]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x4794de
push 1
push eax
call fcn.00401340
add esp, 8
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x479500
mov ecx, dword [esp + 0x1c]
push 0
push ecx
push edi
call fcn.00479520
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov edx, dword [esp + 0x1c]
push edx
mov ecx, edi
call fcn.004796a0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x4796a0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.004984d0
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x479820
xor cl, cl
mov eax, edi
call fcn.00479840
test eax, eax
jne 0x4796d5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
mov eax, dword [0x4c28ec]
push eax
push ebp
mov ecx, edi
call fcn.004798d0
test eax, eax
je 0x4796f8
xor eax, eax
mov dword [0x4c85c4], eax
jmp 0x4796fd
mov eax, dword [0x4c85c4]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1024], 0x4ab02c
mov dword [esp + 0x1844], ebx
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x1864], ebx
mov dword [esp + 0x1868], ebx
cmp byte [esp + 0x11c7c], bl
je 0x479743
mov byte [esp + 0x1841], bl
cmp eax, ebx
je 0x47974b
mov byte [esp + 0x1841], 1
mov ecx, dword [0x4c85c0]
mov edx, dword [edi + 8]
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0x1854], eax
lea eax, [esp + 0x18]
push eax
push 0x4799a0
mov dword [esp + 0x1858], ecx
mov dword [esp + 0x1860], edx
call esi
mov eax, dword [esp + 0x1848]
cmp eax, ebx
je 0x4797f8
lea ecx, [esp + 0x10]
push ecx
push 0x478420
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call esi
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x4797b5
mov edx, dword [esp + 0x1848]
call fcn.00478fe0
mov dword [esp + 0x1848], esi
mov eax, dword [esp + 0x1848]
call fcn.00477410
mov edx, dword [esp + 0x1848]
call fcn.00478fe0
mov edx, dword [0x4c28ec]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x479820
push 1
push eax
call fcn.00401340
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 4
mov eax, dword [0x4c85c4]
cmp eax, ebx
je 0x479820
cmp eax, 1
setg al
mov dword [0x4c85c4], ebx
cmp al, bl
je 0x479820
mov edx, ebp
call fcn.00478fe0
push ebx
mov ecx, edi
call fcn.004796a0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x11c68
ret 4
Function at 0x47ca30
Capabilities:
Encode data using base64
Parse credit card information
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x100
mov eax, dword [esp + 0x104]
mov eax, dword [eax]
mov edx, dword [esp + 0x124]
mov dword [esp + 0x24], eax
shr eax, 9
and eax, 1
mov dword [esp + 0xa0], eax
xor eax, 1
push ebx
mov dword [esp + 0xa8], eax
mov eax, 0xfffffffe
xor ecx, ecx
push ebp
push esi
mov esi, dword [esp + 0x114]
mov ebx, dword [esi]
mov dword [esp + 0x54], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
push edi
mov edi, dword [esp + 0x11c]
mov edi, dword [edi]
xor ebp, ebp
and eax, 1
mov esi, ebx
shl eax, 0x1c
mov dword [esp + 0x54], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xd0], esi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x64], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x70], eax
Function at 0x493376
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c1d70]
jne 0x493380
repz ret
jmp fcn.00497eff

Function at 0x496290
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c1d70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00490762
and dword [ebp - 0x14], 0
cmp dword [0x4c4c1c], 0
mov dword [ebp - 0x18], eax
jne 0x496343
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4963eb
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x49ffc0
push ebx
call edi
test eax, eax
je 0x4963eb
mov esi, dword [fcn.0048c9f0]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4c4c1c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4c4c20], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4c4c24], eax
call edi
push eax
call esi
mov dword [0x4c4c2c], eax
test eax, eax
je 0x496343
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4c4c28], eax
mov eax, dword [0x4c4c28]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.0048c9f4]
cmp eax, ecx
je 0x49639c
cmp dword [0x4c4c2c], ecx
je 0x49639c
push eax
call esi
push dword [0x4c4c2c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x49639c
test ebx, ebx
je 0x49639c
call edi
test eax, eax
je 0x496393
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x496393
test byte [ebp - 8], 1
jne 0x49639c
or dword [ebp + 0x10], 0x200000
jmp 0x4963cf
mov eax, dword [0x4c4c20]
cmp eax, dword [ebp - 0x18]
je 0x4963cf
push eax
call esi
test eax, eax
je 0x4963cf
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4963cf
mov eax, dword [0x4c4c24]
cmp eax, dword [ebp - 0x18]
je 0x4963cf
push eax
call esi
test eax, eax
je 0x4963cf
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4c4c1c]
call esi
test eax, eax
je 0x4963eb
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4963ed
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00493376
leave
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x401331
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 0x60
xor esi, esi
mov ecx, 0x85
push esi
dec ecx
jne 0x401341
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
and esi, esi
je 0x40144d
mov edi, dword [ebp + 0x10]
and edi, edi
je 0x40144d
mov edx, dword [ebp + 0xc]
and edx, edx
je 0x40144d
push esi
push edi
push edx
xor eax, eax
lea esi, [ebp - 0x17c]
lea edi, [ebp - 0x27c]
mov byte [esi + eax], al
mov bl, byte [edx]
cmp bl, 0
je 0x40139d
mov byte [edi + eax], bl
inc edx
inc eax
cmp eax, 0x100
jl 0x40137a
jmp 0x4013b1
pop edx
push edx
mov bl, byte [edx]
mov byte [edi + eax], bl
inc edx
inc eax
cmp eax, 0x100
jl 0x40137a
xor ecx, ecx
xor edx, edx
mov al, byte [esi + ecx]
mov ah, byte [edi + ecx]
add al, ah
mov ah, dl
add al, ah
mov edx, eax
and edx, 0xff
mov bl, byte [esi + ecx]
mov al, byte [esi + edx]
mov byte [esi + ecx], al
mov byte [esi + edx], bl
inc ecx
cmp ecx, 0x100
jl 0x4013b5
pop edx
pop edi
pop esi
xor eax, eax
xor ebx, ebx
xor ecx, ecx
xor edx, edx
mov eax, 0x4d2
cmp edx, dword [ebp + 0x14]
jge 0x40144d
mov al, byte [esi + edx]
inc ch
and ch, 0xff
push esi
lea esi, [ebp - 0x17c]
push eax
push ebx
xor eax, eax
mov ah, ch
shr eax, 8
mov ebx, eax
mov al, byte [esi + ebx]
add cl, al
and cl, 0xff
pop ebx
xor eax, eax
mov al, cl
mov bl, byte [esi + eax]
mov al, ch
mov bh, byte [esi + eax]
mov byte [esi + eax], bl
mov al, cl
mov byte [esi + eax], bh
pop eax
add bl, bh
and ebx, 0xff
mov bh, byte [esi + ebx]
shr ebx, 8
xor al, bl
mov byte [edi + edx], al
pop esi
inc edx
jmp 0x4013ed
cmp eax, 0x4d2
je 0x40145f
mov eax, 1
mov esi, eax
pop edi
pop esi
pop ebx
mov dword [ebp - 0x7c], esi
mov eax, dword [ebp - 0x7c]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x401551
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa2c2a
push 0xd9038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
pop eax
mov dword fs:[0], eax
pop eax
pop eax
pop eax
pop eax
mov ebp, eax
rdtsc
mov ecx, eax
mov ebx, edx
rdtsc
sub eax, ecx
sbb edx, ebx
cmp edx, 0
jne 0x4015a5
cmp eax, 0xfe4c
ja 0x4015aa
mov edi, 1
jmp 0x4015af
mov edi, 0
mov edi, 2
mov eax, 0x4015f2
mov esi, eax
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], 0
fild qword [ebp - 0x58]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], 0
fild qword [ebp - 0x58]
fdivrp st(1)
fistp qword [ebp - 0x58]
mov esi, dword [ebp - 0x58]
mov eax, esi
jmp eax
Function at 0x4028ec
Capabilities:
Allocate thread local storage

Disassembly:
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
cmp eax, 0xffffffff
stc
je 0x402945
mov dword [ebx + 0xe4], eax
mov dword [ebx + 0xec], 0
mov dword [ebx + 0xe8], 0
call fcn.00402c99
jb 0x402945
mov dword [ebx + 0xe8], eax
mov dword [eax + 0x4c], 8
call 0x402939
dec ebp
push ebx
and byte [ebx + 0x61], dl
outsb dx, byte [esi]
jae 0x402953
push ebx
jb 0x4029a0
add byte [esi - 4], bl
mov ecx, 0xe
lea edi, [eax + 0x2c]
rep movsb byte es:[edi], byte [esi]
ret
call dword [sym.imp.KERNEL32.DLL_TlsFree]
ret
mov edi, 0x8d02e6c1
dec esp
xor eax, 0x15ff5100
sub al, 0x72
inc eax
add bl, ch
scasd eax, dword es:[edi]
add byte [edx], cl
add byte [esi], cl
add byte [eax + eax - 0x1f], ah
call [edi - 0x75]
pop edi
mov esp, ebp
pop ebp

Function at 0x402a4f
Capabilities:
Get system information on windows

Disassembly:
mov word [ebx + 0xf8], 0
mov ah, byte [ebx + 0x298]
mov al, byte [ebx + 0x29c]
mov word [ebx + 0xfa], ax
mov eax, dword [ebx + 0x2a4]
test al, 1
jne 0x402a7f
test al, 2
je 0x402aa7
mov ax, 0x400
jmp 0x402aa0
mov dx, word [ebx + 0x2a0]
cmp dx, 0x3b6
mov ax, pe_nt_image_headers32
je 0x402aa0
cmp dx, 0x457
mov ax, 0x100
je 0x402aa0
mov ax, 0x200
or word [ebx + 0xf8], ax
sub esp, 0x24
push esp
cld
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov byte [ebx + 0xfc], 3
test word [ebx + 0xf8], 0x380
jne 0x402ae6
test word [ebx + 0xf8], 0x400
je 0x402b1f
cmp word [esp], 0
jne 0x402b1f
mov al, byte [esp + 0x20]
cmp al, 3
jb 0x402b1f
cmp al, 5
jbe 0x402afc
mov al, 5
jmp 0x402afc
mov eax, dword [esp + 0x18]
cmp eax, 0x182
jbe 0x402b1f
cmp eax, 0x24a
mov al, 5
jae 0x402afc
mov al, 4
mov byte [ebx + 0xfc], al
cmp al, 5
jb 0x402b1f
mov eax, 1
push ebx
cpuid
pop ebx
test edx, 0x800000
je 0x402b1f
or word [ebx + 0xf8], 0x40
add esp, 0x24
push esp
push esp
push 0x20019
push 0
call 0x402b63
dec eax
inc ecx
push edx
inc esp
push edi
inc ecx
push edx
inc ebp
pop esp
inc esp
inc ebp
push ebx
inc ebx
push edx
dec ecx
push eax
push esp
dec ecx
dec edi
dec esi
pop esp
push ebx
jns 0x402bbb
je 0x402baf
insd dword es:[edi], dx
pop esp
inc esi
insb byte es:[edi], dx
outsd dx, dword [esi]
popal
je 0x402bbb
outsb dx, byte [esi]
push eax
outsd dx, dword [esi]
imul ebp, dword [esi + 0x74], 0x636f7250
jae 0x402bd3
outsd dx, dword [esi]
jb 0x402b63
push 0x80000002
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExA]
test eax, eax
pop edx
jne 0x402b85
mov ax, 2
or word [0x4060f8], ax
push edx
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
ret
add byte [ebx], dh
sar byte [ecx + 0xcc], 0x8d
jnp 0x402bca
stosb byte es:[edi], al
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
or al, al
jne 0x402bcb
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x20004f31
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x2000a708
cmp edx, dword [eax]
je 0x20004f53
add eax, 8
inc ecx
cmp eax, 0x2000a798
jl 0x20004f44
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x2000a708]
jne 0x20005081
mov eax, dword [0x2000ce68]
cmp eax, 1
je 0x2000505b
test eax, eax
jne 0x20004f84
cmp dword [0x2000a194], 1
je 0x2000505b
cmp edx, 0xfc
je 0x20005081
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x20004fbb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.20006a60
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.20006b50
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x20004ffe
lea eax, [ebp - 0x1a4]
push eax
call fcn.20006b50
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x2000851c
push edi
call fcn.20007380
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.20006a60
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.20006a70
lea eax, [ebp - 0xa0]
push 0x200084fc
push eax
call fcn.20006a70
push dword [esi + 0x2000a70c]
lea eax, [ebp - 0xa0]
push eax
call fcn.20006a70
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.200072ef
add esp, 0x2c
pop edi
jmp 0x20005081
lea eax, [ebp + 8]
lea esi, [esi + 0x2000a70c]
push 0
push eax
push dword [esi]
call fcn.20006b50
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4e2770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8c000]
push edi
or ebp, 0xffffffff
jmp 0x4e2792
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e2799
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e2788
mov eax, 1
add ebx, ebx
jne 0x4e27ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e27bc
jne 0x4e27db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e27db
dec eax
add ebx, ebx
jne 0x4e27c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4e27a0
add ebx, ebx
jne 0x4e27d7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4e282d
xor ecx, ecx
sub eax, 3
jb 0x4e27f3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e2862
sar eax, 1
mov ebp, eax
jmp 0x4e27fe
add ebx, ebx
jne 0x4e27fe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e27cc
inc ecx
add ebx, ebx
jne 0x4e280c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e27cc
add ebx, ebx
jne 0x4e2819
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e280e
jne 0x4e282a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e280e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e284c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e283e
jmp 0x4e278e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e284c
add edi, ecx
jmp 0x4e278e
pop esi
mov edi, esi
mov ecx, 0x43d9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e286a
cmp byte [edi], 0x22
jne 0x4e286a
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 0x4e286f
lea edi, [esi + 0xdf000]
mov eax, dword [edi]
or eax, eax
je 0x4e28e7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe71ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe72f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e289c
mov ecx, edi
jns 0x4e28cb
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 + 0xe72f4]
or eax, eax
je 0x4e28e1
mov dword [ebx], eax
add ebx, 4
jmp 0x4e28b9
call dword [esi + 0xe7304]
mov ebp, dword [esi + 0xe72f8]
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 0x4e291b
sub esp, 0xffffff80
jmp 0x43ba63