joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466a80
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x16]
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0x6f0063
mov dword [ebp - 0x4c], 0x62006d
mov esi, 4
mov dword [ebp - 0x48], 0x730061
movups xmmword [edi], xmm0
mov dword [ebp - 0x44], 0x2e0065
movaps xmm0, xmmword [0x47c810]
mov dword [ebp - 0x40], 0x6c0064
mov dword [ebp - 0x3c], 0x6c
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0x7c
mov cl, byte [eax + 1]
lea eax, [eax - 4]
xor byte [eax + 6], cl
xor cl, byte [eax + 4]
mov byte [eax + 5], cl
mov cl, byte [eax + 3]
xor byte [eax + 4], cl
movzx ecx, byte [eax + 2]
xor byte [eax + 3], cl
sub esi, 1
jne 0x466ad3
xor byte [ebp - 0x24], 0x5d
lea edx, [ebp - 3]
mov dword [ebp - 0x10], 0x620c5936
mov esi, 7
mov dword [ebp - 0xc], 0x780c650b
mov dword [ebp - 8], 0x751c7011
mov word [ebp - 4], 0x6a0f
mov byte [ebp - 2], 0x6a
nop
mov cl, byte [edx]
lea edx, [edx - 2]
mov al, byte [edx + 1]
xor byte [edx + 3], cl
xor al, cl
mov byte [edx + 2], al
sub esi, 1
jne 0x466b20
movaps xmm0, xmmword [0x47c800]
mov ecx, 0x11
xor byte [ebp - 0x10], 0x75
movups xmmword [ebp - 0x38], xmm0
mov word [ebp - 0x28], 0x5353
nop
mov al, byte [ebp + ecx - 0x39]
xor byte [ebp + ecx - 0x38], al
dec ecx
test ecx, ecx
jg 0x466b50
xor byte [ebp - 0x38], 0x2a
push 0x39e51281
call fcn.00466970
add esp, 4
lea ecx, [ebp - 0x50]
push ecx
call eax
push 0x91e0937
mov ebx, eax
call fcn.00466970
add esp, 4
mov dword [edi], eax
test ebx, ebx
je 0x466bb6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea eax, [ebp - 0x24]
push eax
push ebx
call esi
mov dword [edi + 4], eax
lea eax, [ebp - 0x10]
push eax
push ebx
call esi
mov dword [edi + 8], eax
lea eax, [ebp - 0x38]
push eax
push ebx
call esi
mov dword [edi + 0xc], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xff0a825
call fcn.00466970
push 0xf922f540
mov dword [edi + 4], eax
call fcn.00466970
push 0xa5c11aff
mov dword [edi + 8], eax
call fcn.00466970
add esp, 0xc
mov dword [edi + 0xc], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x466f89
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
push 0xd9c80cfb
call fcn.00460d44
mov dword [ebp - 8], eax
mov dword [esp], 0x1db96c46
call fcn.00460d44
push 0x9c7d1073
mov dword [ebp - 0x10], eax
call fcn.00460d44
push 0x5d5bf7c4
mov ebx, eax
call fcn.00460d44
add esp, 0xc
mov dword [ebp - 0xc], eax
mov esi, 0x486bb8
lea edi, [ebp - 0x34]
push 9
pop ecx
push 0x10
rep movsd dword es:[edi], dword [esi]
pop edx
mov ax, word [ebp + edx*2 - 0x36]
xor word [ebp + edx*2 - 0x34], ax
dec edx
test edx, edx
jg 0x466fda
push 9
pop ecx
mov esi, 0x487030
lea edi, [ebp - 0x5c]
rep movsd dword es:[edi], dword [esi]
mov eax, 0x2949
xor word [ebp - 0x34], ax
push 0x11
movsw word es:[edi], word [esi]
pop ecx
mov ax, word [ebp + ecx*2 - 0x5e]
xor word [ebp + ecx*2 - 0x5c], ax
dec ecx
test ecx, ecx
jg 0x467004
mov eax, 0x149
xor edi, edi
xor word [ebp - 0x5c], ax
inc edi
lea eax, [ebp - 0x34]
push edi
push eax
call fcn.00462277
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.00462277
add esp, 0x10
lea eax, [ebp - 4]
xor esi, esi
mov dword [ebp - 4], esi
push eax
push 0x2000000
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [ebp - 8]
test eax, eax
je 0x467077
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x2000000
push esi
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [ebp - 0xc]
test eax, eax
je 0x467077
xor eax, eax
jmp 0x4670a8
push 8
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [ebp - 0x10]
push dword [ebp - 4]
test eax, eax
je 0x46708d
call ebx
jmp 0x467073
call ebx
lea ecx, [ebp - 0x34]
push esi
push ecx
call fcn.00462277
lea ecx, [ebp - 0x5c]
push esi
push ecx
call fcn.00462277
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4670ad
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push 9
pop ecx
mov esi, 0x4868dc
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
push 0x10
pop ecx
mov ax, word [ebp + ecx*2 - 0x2e]
xor word [ebp + ecx*2 - 0x2c], ax
dec ecx
test ecx, ecx
jg 0x4670c6
mov eax, 0x4d81
xor word [ebp - 0x2c], ax
push 0xd9c80cfb
call fcn.00460d44
push 0xea47fbbc
mov esi, eax
call fcn.00460d44
push 0x9c7d1073
mov ebx, eax
call fcn.00460d44
push 0xdedcf066
mov edi, eax
call fcn.00460d44
and dword [ebp - 4], 0
add esp, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x467166
push dword [ebp + 0xc]
call dword [ebp - 8]
lea eax, [ebp - 0x2c]
push 1
push eax
call fcn.00462277
pop ecx
pop ecx
test eax, eax
je 0x467166
push 1
xor esi, esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call ebx
test eax, eax
je 0x46716d
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00462277
pop ecx
pop ecx
push dword [ebp - 4]
call edi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp - 4]
call edi
lea ecx, [ebp - 0x2c]
push esi
push ecx
call fcn.00462277
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x467168
Function at 0x467183
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
push 0xdcc68363
call fcn.00460d44
mov dword [ebp - 4], eax
mov dword [esp], 0x175c2821
call fcn.00460d44
push 0xaec1bc34
mov edi, eax
call fcn.00460d44
push 0x9c7d1073
mov dword [ebp - 0x10], eax
call fcn.00460d44
mov dword [ebp - 0x14], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x1c], ebx
push 0x208
mov dword [ebp - 0x20], eax
call fcn.00466be9
push 0x104
mov esi, eax
push ebx
push esi
call fcn.0046a8b0
add esp, 0x1c
push dword [ebp + 8]
push 0x104
push esi
call fcn.004519c1
push esi
lea eax, [ebp - 0x20]
push eax
call dword [ebp - 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x40], 0x18
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x18]
push eax
push 3
push ebx
push ebx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x3c], ebx
push eax
push 0x22
lea eax, [ebp - 8]
mov dword [ebp - 0x34], 0x40
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call edi
test eax, eax
je 0x467238
xor eax, eax
jmp 0x4672d4
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x46723e
sub ecx, edx
lea edi, [ebp - 0x64]
sar ecx, 1
mov esi, 0x486d40
push 9
lea eax, [ecx + ecx]
pop ecx
rep movsd dword es:[edi], dword [esi]
push 0x10
mov dword [ebp - 0xc], eax
pop ecx
mov ax, word [ebp + ecx*2 - 0x66]
xor word [ebp + ecx*2 - 0x64], ax
dec ecx
test ecx, ecx
jg 0x467263
mov eax, 0x1bed
mov dword [ebp - 0x24], ebx
xor word [ebp - 0x64], ax
xor eax, eax
push 0x208
mov dword [ebp - 0x28], eax
call fcn.00466be9
mov edi, 0x104
mov esi, eax
push edi
push ebx
push esi
call fcn.0046a8b0
add esp, 0x10
lea eax, [ebp - 0x64]
push eax
push edi
push esi
call fcn.004519c1
push esi
lea eax, [ebp - 0x28]
push eax
call dword [ebp - 4]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push dword [ebp + 0xc]
push 6
push ebx
push eax
push dword [ebp - 8]
call dword [ebp - 0x10]
test eax, eax
jne 0x4672cc
xor ebx, ebx
inc ebx
push dword [ebp - 8]
call dword [ebp - 0x14]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4672ec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov ebx, ecx
jne 0x46732d
push 5
pop ecx
mov esi, str.1pp1pep9pzp
lea edi, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
push 9
pop ecx
movsw word es:[edi], word [esi]
mov ax, word [ebp + ecx*2 - 0x3a]
xor word [ebp + ecx*2 - 0x38], ax
dec ecx
test ecx, ecx
jg 0x46730f
mov eax, 0x7063
xor word [ebp - 0x38], ax
lea eax, [ebp - 0x38]
push eax
jmp 0x467330
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00460de2
mov esi, eax
lea edi, [ebp - 0x10]
pop ecx
push ebx
push 0x47e75c
movsd dword es:[edi], dword [esi]
push 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
push edi
push 0x47e74c
call dword [ebp - 0xc]
mov esi, eax
test esi, esi
js 0x467397
mov ecx, dword [ebx]
lea edx, [ebx + 4]
push edx
push edi
push edi
mov eax, dword [ecx]
push edi
push edi
push edi
push edi
mov edi, dword [ebp + 8]
push edi
push ecx
call dword [eax + 0xc]
mov esi, eax
test esi, esi
js 0x46739a
xor eax, eax
push eax
push eax
push 3
push 3
push eax
push eax
push 0xa
push dword [ebx + 4]
call dword [ebp - 4]
mov esi, eax
jmp 0x46739a
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
jns 0x4673c5
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x4673b2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebx]
test ecx, ecx
je 0x4673be
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [ebx + 4], 0
and dword [ebx], 0
not esi
shr esi, 0x1f
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x468715
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x1c], 0x44
push esi
push edi
test ebx, ebx
je 0x468739
mov dword [ebx], edx
push 0x1c
pop ecx
lea eax, [ebp - 0x94]
mov byte [eax], dl
inc eax
sub ecx, 1
jne 0x468742
push 7
mov dword [ebp - 0x18], 0x28612802
mov edx, 0x286c
mov dword [ebp - 0x14], 0x286c2800
mov dword [ebp - 0x10], 0x286e281e
mov dword [ebp - 0xc], 0x280d280d
pop ecx
mov ax, word [ebp + ecx*2 - 0x1a]
xor word [ebp + ecx*2 - 0x18], ax
dec ecx
test ecx, ecx
jg 0x46876e
xor word [ebp - 0x18], dx
mov eax, 0x7048
push 0x24
mov dword [ebp - 0x68], 0x70157025
mov dword [ebp - 0x64], 0x70417024
mov dword [ebp - 0x60], 0x701e7027
mov dword [ebp - 0x5c], 0x70467027
mov dword [ebp - 0x58], 0x705c706b
mov dword [ebp - 0x54], 0x705b703a
mov dword [ebp - 0x50], 0x7046706b
mov dword [ebp - 0x4c], 0x70467072
mov dword [ebp - 0x48], 0x70117072
mov dword [ebp - 0x44], 0x7005703c
mov dword [ebp - 0x40], 0x700f7036
mov dword [ebp - 0x3c], 0x701b7036
mov dword [ebp - 0x38], 0x7013702a
mov dword [ebp - 0x34], 0x70107071
mov dword [ebp - 0x30], 0x701c7028
mov dword [ebp - 0x2c], 0x704b707a
mov dword [ebp - 0x28], 0x70187079
mov dword [ebp - 0x24], 0x70487029
mov word [ebp - 0x20], ax
pop ecx
mov ax, word [ebp + ecx*2 - 0x6a]
xor word [ebp + ecx*2 - 0x68], ax
dec ecx
test ecx, ecx
jg 0x46880b
mov eax, 0x7017
xor word [ebp - 0x68], ax
push 0x77078340
call fcn.00460d44
push 0xa739b25d
mov esi, eax
call fcn.00460d44
push 0x2892074
mov dword [ebp - 0x6c], eax
call fcn.00460d44
push 0xea88d766
mov dword [ebp - 0x70], eax
call fcn.00460d44
mov edi, eax
push 0x2a37f52e
mov dword [ebp + 8], edi
call fcn.00460d44
push 0xc6a91d8b
mov dword [ebp - 0x74], eax
call fcn.00460d44
add esp, 0x18
mov dword [ebp - 0x78], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x68]
push eax
call esi
mov esi, eax
test esi, esi
jne 0x468927
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call dword [ebp - 0x6c]
mov esi, eax
lea eax, [ebp - 8]
push eax
call dword [ebp - 0x70]
test esi, esi
jne 0x468927
push dword [ebp - 0x1c]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x468921
lea eax, [ebp - 0x1c]
push eax
push edi
push esi
push 0x16
call dword [ebp - 0x74]
test eax, eax
je 0x468910
push 3
pop eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x94]
push eax
push esi
push esi
push 0xa
push 6
push esi
push dword [ebp - 4]
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x7c], edi
call dword [ebp - 0x78]
mov esi, eax
test esi, esi
jne 0x468918
mov eax, dword [ebp - 4]
and dword [ebp - 4], esi
mov dword [ebx], eax
jmp 0x468918
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x468924
push 8
pop esi
mov edi, dword [ebp + 8]
cmp dword [ebp - 4], 0
je 0x468933
lea eax, [ebp - 4]
push eax
call edi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x468b3d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp byte [0x5c95c0], 0
push edi
jne 0x468b7e
mov edx, esi
push ebx
push 8
mov edi, edx
pop ebx
mov ecx, edi
mov eax, edi
shr ecx, 1
mov edi, ecx
xor edi, 0xedb88320
and al, 1
cmove edi, ecx
sub ebx, 1
jne 0x468b55
mov dword [edx*4 + 0x5c91c0], edi
inc edx
cmp edx, 0x100
jb 0x468b50
pop ebx
or edx, 0xffffffff
cmp dword [ebp + 0xc], esi
jbe 0x468ba2
mov edi, dword [ebp + 8]
movzx eax, byte [esi + edi]
xor eax, edx
shr edx, 8
movzx ecx, al
xor edx, dword [ecx*4 + 0x5c91c0]
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x468b89
pop edi
mov eax, edx
pop esi
pop ebp
ret
Function at 0x4037a0
Capabilities:
Enumerate gui resources
Get hostname

Disassembly:
mov eax, 0x1c0c
call fcn.0040e540
mov eax, dword [0x2b89c44]
mov ecx, dword [0x2b89bb8]
shr eax, 3
test eax, eax
jbe 0x4038db
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x4037f0
cmp dword [0x2b89c44], 0x959
jne 0x4038bd
push 0
lea eax, [esp + 0x20]
push eax
push 0
push 0x402dbc
push 0
push 0
call edi
push 0
lea ecx, [esp + 0x1020]
push ecx
push 0
call ebx
push 0
push 0
call esi
push 0x402de8
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
push 0
lea edx, [esp + 0x824]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea eax, [esp + 0x1420]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0x402e50
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0x402e5c
push 0x402e6c
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.004035d0
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x4037f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c0c
ret
Function at 0x4062eb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x431aa8]
jne 0x4062f5
repz ret
jmp fcn.0040a8ec

Function at 0x40cfaf
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.004078b5
and dword [ebp - 4], 0
cmp dword [0x433138], 0
mov ebx, eax
jne 0x40d060
push 0x402ca4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d111
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c98
push edi
call esi
test eax, eax
je 0x40d111
push eax
call fcn.00407843
mov dword [esp], 0x402c88
push edi
mov dword [0x433138], eax
call esi
push eax
call fcn.00407843
mov dword [esp], 0x402c74
push edi
mov dword [0x43313c], eax
call esi
push eax
call fcn.00407843
mov dword [esp], 0x402c58
push edi
mov dword [0x433140], eax
call esi
push eax
call fcn.00407843
pop ecx
mov dword [0x433148], eax
test eax, eax
je 0x40d060
push 0x402c40
push edi
call esi
push eax
call fcn.00407843
pop ecx
mov dword [0x433144], eax
mov eax, dword [0x433144]
cmp eax, ebx
je 0x40d0b8
cmp dword [0x433148], ebx
je 0x40d0b8
push eax
call fcn.004078be
push dword [0x433148]
mov esi, eax
call fcn.004078be
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d0b8
test edi, edi
je 0x40d0b8
call esi
test eax, eax
je 0x40d0af
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d0af
test byte [ebp - 0xc], 1
jne 0x40d0b8
or dword [ebp + 0x10], 0x200000
jmp 0x40d0f1
mov eax, dword [0x43313c]
cmp eax, ebx
je 0x40d0f1
push eax
call fcn.004078be
pop ecx
test eax, eax
je 0x40d0f1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d0f1
mov eax, dword [0x433140]
cmp eax, ebx
je 0x40d0f1
push eax
call fcn.004078be
pop ecx
test eax, eax
je 0x40d0f1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x433138]
call fcn.004078be
pop ecx
test eax, eax
je 0x40d111
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d113
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45c6f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x38000]
push edi
or ebp, 0xffffffff
jmp 0x45c712
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45c719
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45c708
mov eax, 1
add ebx, ebx
jne 0x45c72b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45c720
jne 0x45c73c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45c720
xor ecx, ecx
sub eax, 3
jb 0x45c750
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45c7c2
mov ebp, eax
add ebx, ebx
jne 0x45c75b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x45c768
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45c78c
inc ecx
add ebx, ebx
jne 0x45c778
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45c76d
jne 0x45c789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45c76d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45c7ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45c79d
jmp 0x45c70e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45c7ac
add edi, ecx
jmp 0x45c70e
pop esi
mov edi, esi
mov ecx, 0x1b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45c7ca
cmp byte [edi], 0
jne 0x45c7ca
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 0x45c7cf
lea edi, [esi + 0x5a000]
mov eax, dword [edi]
or eax, eax
je 0x45c83e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x62bac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62c18]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45c7fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62c20]
or eax, eax
je 0x45c838
mov dword [ebx], eax
add ebx, 4
jmp 0x45c819
call dword [esi + 0x62c1c]
mov ebp, dword [esi + 0x62c24]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x45c872
sub esp, 0xffffff80
jmp 0x401a50
Function at 0x538c20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x47c
push ebx
push edi
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x85]
mov byte [esp + 0x84], bl
push 0x400
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x88]
mov dword [esp + 0x1c], 0
push eax
push ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
push str.C:Windows
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x84]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x53ea74], eax
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov dword [0x53ea78], ecx
cmp dword [ecx], 0x4550
jne 0x538fd5
xor edx, edx
push ebp
mov dx, word [ecx + 0x14]
push esi
mov esi, edx
mov edx, dword [0x53ea64]
mov edi, ecx
lea edx, [edx + edx*4]
add edi, esi
lea esi, [edi + edx*8 + 0x18]
mov edx, dword [0x53e030]
mov edi, edx
inc edx
cmp edi, 1
mov dword [0x53ea7c], esi
mov dword [0x53e030], edx
jne 0x538d9d
mov edx, 0x538c00
sub edx, eax
mov dword [0x53ea5c], edx
xor edx, edx
mov dx, word [ecx + 6]
mov dword [0x53ea80], edx
mov edi, dword [ecx + 0x80]
mov ebp, dword [ecx + 0x28]
mov dword [esp + 0x14], edi
mov edi, dword [ecx + 0xa0]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], edi
xor edi, edi
test edx, edx
jmp 0x5431ed
jmp 0x124433e1
pop edi
xor eax, eax
pop ebx
add esp, 0x47c
ret

Function at 0x5393d6
Capabilities:
Terminate process

Disassembly:
cmp dword [0x53ebb0], 2
je 0x5393e4
jmp 0x542941
push dword [esp + 4]
call fcn.0053a769
pop ecx
push 0xff
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x53a769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x53e190
cmp edx, dword [eax]
je 0x53a78b
add eax, 8
inc ecx
cmp eax, 0x53e220
jl 0x53a77c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x53e190]
jne 0x53a8b9
mov eax, dword [0x53ebb0]
cmp eax, 1
je 0x53a893
test eax, eax
jne 0x53a7bc
cmp dword [0x53e0e4], 1
je 0x53a893
cmp edx, 0xfc
je 0x53a8b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x53a7f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0053b670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0053b490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x53a836
lea eax, [ebp - 0x1a4]
push eax
call fcn.0053b490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x53d45c
push edi
call fcn.0053bf00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0053b670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0053b680
lea eax, [ebp - 0xa0]
push 0x53d43c
push eax
call fcn.0053b680
push dword [esi + 0x53e194]
lea eax, [ebp - 0xa0]
push eax
jmp 0x543714
lea eax, [ebp + 8]
lea esi, [esi + 0x53e194]
push 0
push eax
push dword [esi]
call fcn.0053b490
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 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x32f0279
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x645d52ce
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
jmp 0x431219