joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409b78
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004066f8
xor eax, eax
push ebp
push 0x409c3a
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00406c44
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00406d74
mov eax, dword [ebx]
call fcn.00409a20
test al, al
jne 0x409c15
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00406c44
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00406d74
mov eax, dword [ebx]
call fcn.00409a20
test al, al
jne 0x409c15
mov eax, ebx
call fcn.00406604
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409c41
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406664
lea eax, [ebp - 4]
call fcn.00406604
pop eax
jmp eax

Function at 0x40b288
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x415570
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.00406bb8
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4155da
test ah, 4
je 0x4155d3
test bl, bl
jne 0x415598
mov al, 1
jmp 0x415601
test al, 0x10
je 0x4155a0
xor eax, eax
jmp 0x415601
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x4155c4
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x415601
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x415601
test al, 0x10
sete al
jmp 0x415601
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x4155fb
cmp ebx, 3
je 0x4155fb
cmp ebx, 0x7b
je 0x4155fb
mov eax, esi
call fcn.00415530
test al, al
jne 0x4155ff
xor eax, eax
jmp 0x415601
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x416f9c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x416fd5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406750
jmp 0x416fde
mov eax, ebx
mov edx, esi
call fcn.004068cc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x416fe8
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov esi, edx
mov ebx, eax
push 3
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x41700c
movzx eax, word [esp]
jmp 0x41700e
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4183c4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x4184eb
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004181cc
mov esi, eax
mov eax, dword [0x4206a4]
cmp byte [eax], 0
je 0x418491
mov eax, dword [0x4205b0]
call fcn.00404c50
call fcn.004045fc
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x418394]
call fcn.00408768
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x418504
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x4184cd
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x42058c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x424634]
call fcn.00408af8
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4184f2
lea eax, [ebp - 4]
mov edx, dword [0x418394]
call fcn.0040888c
pop eax
jmp eax

Function at 0x419770
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.004069b4
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040b268
mov edi, eax
cmp edi, 0x104
jbe 0x41971b
mov eax, edi
add eax, eax
call fcn.004044a8
mov esi, eax
jmp 0x41971d
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040b268
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x419756
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x419740
mov eax, esp
cmp esi, eax
je 0x419763
mov eax, esi
call fcn.004044c4
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x41979c
cmp bl, 0
je 0x419798
cmp bl, 0x41
jl 0x419793
cmp bl, 0x5a
jg 0x419793
or bl, 0x20
xor al, bl
inc esi
jmp 0x419777
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4196dc
Function at 0x419d8c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x419dac
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x419dc6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x419dc1
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x419dcb
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x419e39
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x419e82
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x419df7
inc dword [ebp - 0xc]
jmp 0x419e0f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x419e0f
cmp dword [ebp - 0xc], 0
jle 0x419e0f
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x419e31
xor eax, eax
jmp 0x419e2d
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x419e2c
mov eax, esi
jmp 0x419e85
inc eax
cmp eax, ecx
jle 0x419e19
inc esi
cmp esi, dword [ebp - 8]
jl 0x419de3
jmp 0x419e82
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x419e82
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x419e5a
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x419e7c
xor eax, eax
jmp 0x419e78
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x419e77
mov eax, esi
jmp 0x419e85
inc eax
cmp eax, ecx
jle 0x419e64
inc esi
cmp esi, dword [ebp - 8]
jl 0x419e42
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x419fe8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x41a007
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x41a017
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x41a139
test ebx, ebx
jl 0x41a139
test esi, esi
jle 0x41a139
mov eax, dword [ebp - 8]
call fcn.00406bb8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00406bb8
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x41a0d6
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x41a139
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x41a0bb
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x41a08a
inc dword [ebp - 0x14]
jmp 0x41a09a
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x41a09a
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x41a0a5
or eax, 0xffffffff
jmp 0x41a0bb
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x41a0b8
inc eax
jmp 0x41a0bb
or eax, 0xffffffff
test eax, eax
jl 0x41a0c3
cmp esi, eax
jg 0x41a078
cmp esi, eax
jg 0x41a0ce
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x41a13c
inc edx
dec dword [ebp - 0x1c]
jne 0x41a074
jmp 0x41a139
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x41a139
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x41a120
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x41a0ff
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x41a10a
or eax, 0xffffffff
jmp 0x41a120
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x41a11d
inc eax
jmp 0x41a120
or eax, 0xffffffff
test eax, eax
jl 0x41a128
cmp esi, eax
jg 0x41a0e8
cmp esi, eax
jg 0x41a133
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x41a13c
inc edx
dec dword [ebp - 0x1c]
jne 0x41a0e4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x401000
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor esi, ebx
xor eax, eax
mov ebx, ebx
mov esi, ebx
mov esi, ebx
xor eax, ebx
xor esi, ebx
xor eax, ebx
xor eax, ebx
or esi, 0x98
neg esi
rcr ebx, 0x63
neg ebx
sbb esi, 0xef
not esi
mov ebx, 0x5d
rcr eax, 0x3b
add ebx, 0x1c
not eax
rcr edx, 8
inc eax
dec ebx
bswap edi
bswap eax
dec edi
bswap edx
imul edx
add eax, 0xb7
or eax, 0xba
rcr esi, 0xec
rcr eax, 0x73
inc edi
sub esi, 0x4a
rcl ebx, 0xe2
rcr edx, 0x7c
and edi, 0xa3
rol eax, 0xaf
or edx, 0x9a
inc esi
not esi
inc esi
ror edi, 0x3a
rcr edx, 0x29
inc eax
not edx
and edi, 0x4f
neg ebx
sbb edx, 0xa3
imul edx
neg eax
dec edx
sub eax, 0xd1
not ebx
inc eax
not edx
and ebx, 0x1a
sub esi, 0x3e
neg edx
neg esi
xor ecx, ecx
xor edi, edi
mov ebx, ebx
mov ebx, esi
xor esi, esi
xor eax, esi
xor eax, esi
xor ebx, esi
or ebx, 0x6c
rcl edi, 0x89
neg eax
sub edx, 0x9d
neg ebx
inc esi
or edi, 0x12
bswap esi
sbb edx, 0xb6
bswap edi
or eax, 0x69
inc eax
neg esi
neg eax
ror eax, 0x46
add ebx, 0x85
bswap ebx
ror eax, 0x85
not esi
rcr edi, 0x8e
inc edx
and edi, 0x31
not edx
sbb edi, 0xff
add edi, 0xec
ror edi, 0xf6
mov ebx, 0x7a
dec esi
dec edx
inc ebx
sbb esi, 0x12
bswap ebx
imul eax
not esi
sbb esi, 0xcf
and edx, 0x65
neg edx
not ebx
or esi, 0x87
neg edx
rol esi, 0xfa
dec edx
imul ebx
sub eax, 0xed
bswap edx
imul esi
rcl edx, 0x1a
inc edi
neg edi
bswap eax
mov ebx, ebx
mov eax, eax
xor ebx, eax
xor eax, eax
xor ebx, eax
xor eax, eax
xor eax, eax
mov ebx, ebx
xor esi, ebx
mov ecx, dword [ebp + 0xc]
neg edi
imul ebx
inc ebx
mov edi, 0x84
bswap edi
or esi, 0xd5
imul esi
bswap edx
bswap esi
and edi, 0x2d
neg edx
rcr edi, 0xcd
imul edx
and eax, 0x73
not esi
and edi, 0xfa
sub ebx, 0x63
imul esi
rcr esi, 0xec
rcr edx, 0xd5
dec esi
rcl esi, 0xb6
not edi
rcr ebx, 0x6c
not esi
ror edx, 0xc0
and edi, 0x1b
sub edi, 0xae
ror esi, 0x79
or esi, 0x9d
rcl eax, 0xfb
sub ebx, 0x53
inc ebx
imul edx
rcl ebx, 0x9a
rol ebx, 0x5e
inc edi
imul edi
sub esi, 0xff
neg edx
add esi, 0xc5
sbb edi, 0x5b
neg edx
ror edx, 0xc
rcl eax, 0xa6
mov esi, 0x3c
dec esi
bswap edi
rcr edi, 0x3f
add ebx, 2
mov edi, dword [ebp + 8]
xor eax, ebx
mov ebx, esi
mov eax, ebx
xor ebx, eax
mov eax, ebx
mov esi, esi
mov eax, ebx
mov eax, ebx
mov ebx, esi
not byte [edi]
xor esi, eax
xor ebx, eax
mov ebx, ebx
xor esi, eax
xor esi, esi
xor eax, esi
xor eax, eax
xor ebx, eax
xor eax, eax
mov esi, ebx
mov ebx, ebx
xor ebx, ebx
sub byte [edi], 0x1d
add byte [edi], 0x40
xor esi, esi
mov ebx, ebx
mov ebx, eax
xor ebx, ebx
mov eax, esi
mov eax, ebx
xor eax, ebx
mov ebx, ebx
mov eax, ebx
imul byte [edi]
inc edi
loop 0x4011f2
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4047f8
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x404837
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404837
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404837
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404837
cmp dword [ecx + 0x74], 0xe
jbe 0x404837
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40a529
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40a5c6
push ebx
push esi
call fcn.0040a4f2
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040a486
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40a573
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40a5c5
push edi
push eax
call fcn.00408e8b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40a593
call fcn.00408ed9
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40a5c4
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040a486
add esp, 0x20
test eax, eax
jne 0x40a5b2
push edi
call fcn.00408ed9
jmp 0x40a5ba
push ebx
call fcn.00408ed9
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40b7d5
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4627e0
push 0x4627d8
push str.FlsAlloc
push 0x1f
call fcn.0040b694
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b809
push dword [ebp + 8]
mov ecx, esi
call dword [0x412130]
call esi
jmp 0x40b80f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40b853
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4627f0
push 0x4627e8
push str.FlsGetValue
push 0x21
call fcn.0040b694
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b88a
push dword [ebp + 8]
mov ecx, esi
call dword [0x412130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40b892
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4627f8
push 0x4627f0
push str.FlsSetValue
push 0x22
call fcn.0040b694
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b8cc
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x412130]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x410c90
Capabilities:
Parse pe header

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

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x449d30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x44000]
push edi
jmp 0x449d4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x449d51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x449d40
mov eax, 1
add ebx, ebx
jne 0x449d63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x449d58
jne 0x449d74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x449d58
xor ecx, ecx
sub eax, 3
jb 0x449d88
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x449dfa
mov ebp, eax
add ebx, ebx
jne 0x449d93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x449da0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x449dc4
inc ecx
add ebx, ebx
jne 0x449db0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x449da5
jne 0x449dc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x449da5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x449de4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x449dd5
jmp 0x449d46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x449de4
add edi, ecx
jmp 0x449d46
pop esi
mov edi, esi
mov ecx, 0x6200
jmp 0x449e36
mov al, byte [edi]
add edi, 1
cmp al, 0x80
jb 0x449e17
cmp al, 0x8f
ja 0x449e17
cmp byte [edi - 2], 0xf
je 0x449e1d
sub al, 0xe8
cmp al, 1
ja 0x449e40
cmp byte [edi], 1
jne 0x449e40
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
mov dword [edi], eax
add edi, 4
sub ecx, 4
mov al, byte [edi]
add edi, 1
loop 0x449e17
sub ecx, 1
jg 0x449e04
lea edi, [esi + 0x47000]
mov eax, dword [edi]
or eax, eax
je 0x449e96
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4daf8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4dbb0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x449e4b
mov ecx, edi
jns 0x449e7a
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 + 0x4dbb8]
or eax, eax
je 0x449e90
mov dword [ebx], eax
add ebx, 4
jmp 0x449e68
call dword [esi + 0x4dbb4]
mov ebp, dword [esi + 0x4dbbc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x449eca
sub esp, 0xffffff80
jmp 0x40344a
Function at 0x40185a
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
call sym._GetUserDefaultUILanguage_0
mov word [ebp - 0xa], ax
cmp word [ebp - 0xa], 0x804
jne 0x401878
mov eax, 1
jmp 0x40187d
mov eax, 0
leave
ret

Function at 0x40187f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
sub esp, 0x224
mov dword [esp + 4], 0x1e0
lea eax, [ebp - 0x20c]
mov dword [esp], eax
call sym._GetSystemDirectoryA_8
sub esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4018d3
call sym._GetLastError_0
mov dword [esp + 8], eax
mov dword [esp + 4], str.Error_in_GetSystemDirectory:__x
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._fprintf
mov eax, 0
jmp 0x40194f
lea eax, [ebp - 0x20c]
mov ecx, 0xffffffff
mov edx, eax
mov eax, 0
mov edi, edx
repne scasb al, byte es:[edi]
mov eax, ecx
not eax
lea edx, [eax - 1]
lea eax, [ebp - 0x20c]
add eax, edx
mov dword [eax], 0x63704e5c
mov word [eax + 4], 0x7061
mov byte [eax + 6], 0
lea eax, [ebp - 0x20c]
mov dword [esp], eax
call sym._SetDllDirectoryA_4
sub esp, 4
test eax, eax
sete al
test al, al
je 0x40194a
call sym._GetLastError_0
mov dword [esp + 8], eax
mov dword [esp + 4], str.Error_in_SetDllDirectory:__x
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._fprintf
mov eax, 0
jmp 0x40194f
mov eax, 1
mov edi, dword [ebp - 4]
leave
ret

Function at 0x401a05
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x20], 0x65f4164d
mov dword [esp + 4], 0
lea eax, [ebp - 0x18]
mov dword [esp], eax
call sym._gettimeofday
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
sub edx, eax
mov eax, edx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, 0xc22e4507
mov eax, ecx
imul edx
lea eax, [edx + ecx]
sar eax, 0x10
mov edx, eax
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xb3
jle 0x401a89
mov dword [esp], str.This__Version_is_obsolete__check_channel_for_update
call sym._puts
call sym.PrintCopyright__
call sym.LaunchChannel__
mov dword [esp], str.pause
call sym._system
mov dword [esp], 0
call sym._exit
cmp dword [ebp - 0x10], 0x59
jle 0x401aa0
mov dword [esp], str.This_version_is_too_old__check_channel_for_update
call sym._puts
call sym.LaunchChannel__
nop
leave
ret
Function at 0x402d74
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0
mov dword [esp], 0x44240e0
call sym._memset
mov dword [ebp - 0xc], 0
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], pe_nt_image_headers32
mov dword [esp + 8], 0x44240e0
mov dword [esp + 4], pe_nt_image_headers32
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._getnameinfo_28
sub esp, 0x1c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x402e12
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._gai_strerrorA
mov dword [esp + 8], eax
mov dword [esp + 4], str.getnameinfo:__s_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._fprintf
mov eax, str.ERROR_
jmp 0x402e17
mov eax, 0x44240e0
leave
ret