joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
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
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x7cfb62f4
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2df22d93
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40ac13
Capabilities:
Encode data using xor

Disassembly:
xchg ebx, eax
inc ebp
adc al, 0x83
cmp byte [eax], al
je 0x40ac77
mov esi, dword [ebp + 0x41]
xor ecx, ecx
mov cx, word [esi]
sub dword [ecx + 2], 0xffffff88
dec ecx
sbb al, byte [eax]
add byte [eax], al
mov ebp, edi
or byte [ebp + 0x16], bh
dec edi
push ebx
cmp cl, byte [ebx + 0x48894e75]
mov eax, dword [ebp + 0x10]
adc byte [eax], cl
inc eax
mov dword [ebp + 0x10], eax
jmp 0x40ad51
pop dword [eax]
add byte [edi], cl
test ebp, esi
add byte [eax], al
add byte [ecx - 0x33fc001f], al
inc ebx
and eax, 0x8a03ff
shl ecx, 0xa
lcall 0x8b99, 0x2c683c1
fmul dword [ebx + 0xc3ddfa]
add dh, ch
add byte [ecx - 0x287cf78b], cl
add bl, ch
pop es
mov eax, ecx
cdq
dec ebx
fmul dword [ebx - 0xdeb7406]
xlatb
mov ecx, 0x6f9c000b
nop
mov bl, 0xe5
add byte [eax], al
mov ecx, eax
mov esi, 0xfd01
mov esi, 0xb91174ca
add eax, 0xe8000000
inc eax
or byte [eax], al
add byte [ebx - 0x35f4b938], cl
mov ecx, 5
call fcn.0040b510
mov ecx, eax
inc esi
or ecx, edx
jne 0x40acc6
mov ebx, dword [edx + 0xf323b26]
and dword [ebx], 0x54
invalid
jmp 0x40ad55
jmp 0x40ad9c
add byte [eax + 0x37689090], dl
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub eax, 2
sbb dword [eax], edx
call [0x40c1b7]
sbb eax, 0x40c1b7
mov dword [eax], 0xbc3f
xor esi, dword [ebx]
sub ebx, eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0xc]
aas
push ecx
push edx
call fcn.0040add0
jecxz 0x40ad82
pop es
pop ebp
ret

Function at 0x40add0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x7a]
mov ecx, dword [ebp + 0xc]
cmp eax, 0x10
jae 0x40adee
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], 0xe749
xor edi, dword [ebp + ebx*2 - 0x74a9ac3d]
jne 0x40adfb
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x12155d04
mov ch, byte [ecx - 0x779cc3ba]
inc ebp
adc byte [eax], bh
sbb cl, byte [edx + 0x45]
inc esi
cmp al, 0x63
mov byte [ebp + 0x10], al
cmp byte [edx], bl
dec edx
inc ebp
adc byte [ebp + 0x64], al
add byte [eax], al
add byte [0xff], ah
or edi, esi
pop ebp
add al, 0x30
mov byte [ebp + 0x10], dl
mov byte [eax + 0x3c04eb94], dl
or dword [esi + 0x24], esi
mov ecx, dword [edi + 0x10]
mov edi, 0xa
and eax, 0xff
fcompi st(7)
sti
add al, 0x30
mov bh, bh
inc ecx
mov al, dl
add al, 0x30
std
add dword [ecx - 0x3a], eax
pop ecx
inc ecx
dec edi
jne 0x40adf9
mov esp, dword [edx - 0x395fa0f4]
lodsb al, byte [esi]
inc dword [eax]
fbstp tbyte [edi - 0x1374aa3d]
sbb dword [ebp + 0xc], 0x53
push esi
push esp
jne 0x40ae6b
push edi
cmp dword [edx], 0x77
adc edi, eax
push es
inc ebx
mov bl, 0
add byte [edi + 0x5e], bl
xor eax, eax
pop ebx
fucom st(5)
pop ebp
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4195f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x41f4cc]
cmp dword [eax + 0x28], 0
jne 0x419608
xor eax, eax
jmp 0x419737
mov ecx, dword [0x41f43c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 0xe
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [0x41f430], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [0x41f42c], eax
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x10], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x41f430]
mov dword [ebp - 0x40], ecx
mov edx, dword [0x41f42c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x40]
shr eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 8]
shr ecx, 1
mov dword [ebp - 0x1c], ecx
push 0
mov edx, dword [0x41f4b8]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x80000000
push 0x41d680
push 0x41d6d0
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [0x41f428], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00419530
push 5
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x4195c0
mov edx, dword [0x41f4cc]
mov eax, dword [edx + 0x34]
imul eax, eax, 0x3e8
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x41f434], eax
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x419737
cmp dword [ebp - 0x38], 0x12
jne 0x41972b
mov dword [0x41f444], 0
call fcn.00419740
xor eax, eax
jmp 0x419737
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x4196fc
mov esp, ebp
pop ebp
ret 4

Function at 0x41ab00
Capabilities:
Read .ini file
Read and send data from client to server
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebp
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
pop ebp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x41b69c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x41d168
sub eax, eax
test esi, esi
je 0x41b774
sub eax, 1
test ecx, ecx
je 0x41b772
test esi, 3
je 0x41b6da
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x41b6bf
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x41b759
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x41b6e4
mov ecx, edx
test ecx, ecx
je 0x41b772
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x41b75f
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x41b77c
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0041b7ff
jae 0x41b78a
xor ecx, ecx
call fcn.0041b7ff
jae 0x41b7b9
xor eax, eax
call fcn.0041b7ff
jae 0x41b7c9
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0041b7ff
adc al, al
jae 0x41b7ab
jne 0x41b7f5
stosb byte es:[edi], al
jmp 0x41b78d
call fcn.0041b80b
sub ecx, ebx
jne 0x41b7d2
call fcn.0041b809
jmp 0x41b7f1
lodsb al, byte [esi]
shr eax, 1
je 0x41b81b
adc ecx, ecx
jmp 0x41b7ee
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.0041b809
cmp eax, 0x7d00
jae 0x41b7ee
cmp ah, 5
jae 0x41b7ef
cmp eax, 0x7f
ja 0x41b7f0
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41b78d
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x41c14c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41f000]
jne 0x41c156
repz ret
jmp fcn.0041c3fd
Function at 0x40699c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.00406988
add esp, 0x208
pop ebx
ret

Function at 0x408eb4
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 0x100
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x408eed
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00404dd4
jmp 0x408ef6
mov eax, ebx
mov edx, esi
call fcn.00404c98
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x408f00
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x408f22
movzx eax, word [esp]
jmp 0x408f24
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4096ac
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 0x4097d1
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004094c0
mov esi, eax
mov eax, dword [0x412c30]
cmp byte [eax], 0
je 0x409779
mov eax, dword [0x412b6c]
call fcn.0040317c
call fcn.00402f6c
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_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x409688]
call fcn.00405ad8
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_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x4097ec
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4097b5
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x412b4c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x415b48]
call fcn.00405b90
push eax
call sub.user32.dll_LoadStringW_1
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 0x4097d8
lea eax, [ebp - 4]
mov edx, dword [0x409688]
call fcn.00405ae4
ret
Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
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 eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4

Function at 0x438c95
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x438a14
inc edx
add edx, 0x2ae117a0
add esi, 1
call fcn.00438ccf
mov esi, 0x946a46b9
push 0x26acfc6c
pop edx
xor dword [edi], ecx
mov edx, 0xd16115a3
add edi, 1
or edx, edx
inc esi
cmp edi, ebx
jne fcn.00438c95
dec esi
ret
Function at 0x501250
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa5000]
push edi
jmp 0x50126a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x501271
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x501260
mov eax, 1
add ebx, ebx
jne 0x501283
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x501294
jne 0x5012b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5012b3
dec eax
add ebx, ebx
jne 0x5012a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x501278
add ebx, ebx
jne 0x5012af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x501305
xor ecx, ecx
sub eax, 3
jb 0x5012cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50133a
sar eax, 1
mov ebp, eax
jmp 0x5012d6
add ebx, ebx
jne 0x5012d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5012a4
inc ecx
add ebx, ebx
jne 0x5012e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5012a4
add ebx, ebx
jne 0x5012f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5012e6
jne 0x501302
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5012e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x501324
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x501316
jmp 0x501266
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x501324
add edi, ecx
jmp 0x501266
pop esi
mov edi, esi
mov ecx, 0x3b6c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x501342
cmp byte [edi], 0x11
jne 0x501342
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 0x501347
lea edi, [esi + 0xfb000]
mov eax, dword [edi]
or eax, eax
je 0x5013b6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x11ff80]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x120014]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x501374
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12001c]
or eax, eax
je 0x5013b0
mov dword [ebx], eax
add ebx, 4
jmp 0x501391
call dword [esi + 0x120018]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5013e7
cmp al, 0xef
ja 0x5013da
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5013bc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5013c9
mov ebp, dword [esi + 0x120020]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x50141b
sub esp, 0xffffff80
jmp 0x435143
Function at 0x47e692
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47e6c0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47e6de
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047e5f8
jmp 0x47e6de
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47e6de
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047e5f8
test edi, edi
mov eax, edi
jne 0x47e6c8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x408908
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
call fcn.00408931
xor dword [edi], esi
add edx, 0xb818ec0f
add eax, 0xb0a1ed31
add edi, 1
cmp edi, ecx
jne fcn.00408908
add edx, edx
ret
Function at 0x40ed5d
Capabilities:
Encode data using xor

Disassembly:
push 0x40eae0
pop ecx
call fcn.0040ed7f
add esi, edx
inc edx
xor dword [ebx], ecx
inc esi
add ebx, 1
cmp ebx, eax
jne fcn.0040ed5d
add esi, 1
ret
Function at 0x40e145
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x40e154
pop dword [ebp - 0x38]
mov eax, 0x40e154
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x3cced
push 0
mov eax, 0xb9770de4
add eax, 0x46cb4434
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x27828d21
add ecx, 0xd87db6b8
xor esi, esi
add esi, eax
mov edi, 0x435400
add edi, dword [ebp - 0x38]
mov edx, 0x38422d94
add edx, 0x364c8105
xor dword [ebp - 0xc], edi
mov ebx, dword [edi]
add dword [ebp - 0x10], eax
xor ebx, edx
sub dword [ebp - 0x10], 0x6a930dd4
mov dword [esi], ebx
add esi, 4
add edi, 0x885376ef
sub edi, 0x885376eb
loop 0x40e1aa
add eax, 0x36905db6
sub eax, 0x368f5b7f
xor ebx, ebx
add ebx, eax
add eax, 0xe1ebe454
add eax, 0x1e141bb1
mov ecx, 0xa6825ec5
sub ecx, 0xa6425ec5
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x847522
Capabilities:
Encode data using xor

Disassembly:
push 0x8472a2
pop ebx
sub esi, 0xca7e5272
call fcn.0084756c
push edi
pop esi
add esi, 0xc9423407
xor dword [ecx], ebx
inc esi
and esi, edi
add ecx, 1
add edi, edi
add esi, 0xbe29cfe5
cmp ecx, eax
jne fcn.00847522
and esi, edi
ret

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x402812
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [edx + 1]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x402862
mov eax, dword [ebp - 8]
inc eax
push esi
push eax
call fcn.0047c771
push dword [ebp - 8]
mov esi, eax
push dword [ebp - 4]
push esi
call fcn.0047e230
mov ecx, dword [ebp - 8]
add esp, 0x10
mov eax, esi
mov byte [ecx + esi], bl
pop esi
jmp 0x402864
xor eax, eax
pop ebx
leave
ret