joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49ef60
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x20], 0x67452301
mov dword [ecx + 0x24], 0xefcdab89
mov dword [ecx + 0x28], 0x98badcfe
mov dword [ecx + 0x2c], 0x10325476
mov dword [ecx + 0x30], 0xc3d2e1f0
ret

Function at 0x49ef90
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [0x4c1624]
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x20], 0x67452301
mov dword [ecx + 0x24], 0xefcdab89
mov dword [ecx + 0x28], 0x98badcfe
mov dword [ecx + 0x2c], 0x10325476
mov dword [ecx + 0x30], 0xc3d2e1f0
ret

Function at 0x49f720
Capabilities:
Hash data using sha1

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
and eax, 0x3f
mov byte [eax + esi + 0x40], 0x80
inc eax
push edi
mov edi, edx
cmp eax, 0x38
jbe 0x49f762
cmp eax, 0x40
je 0x49f754
mov edx, 0x40
sub edx, eax
push edx
lea ecx, [eax + esi + 0x40]
push 0
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [esi]
push 1
lea edx, [esi + 0x40]
lea ecx, [esi + 0x20]
call eax
xor eax, eax
mov ecx, 0x38
sub ecx, eax
push ecx
lea edx, [eax + esi + 0x40]
push 0
push edx
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
bswap ecx
bswap eax
add esp, 0xc
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
mov eax, dword [esi]
push 1
lea edx, [esi + 0x40]
lea ecx, [esi + 0x20]
call eax
mov ecx, dword [esi + 0x20]
bswap ecx
mov dword [edi], ecx
mov edx, dword [esi + 0x24]
bswap edx
mov dword [edi + 4], edx
mov eax, dword [esi + 0x28]
bswap eax
mov dword [edi + 8], eax
mov ecx, dword [esi + 0x2c]
bswap ecx
mov dword [edi + 0xc], ecx
mov edx, dword [esi + 0x30]
bswap edx
mov dword [edi + 0x10], edx
pop edi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x67452301
mov dword [esi + 0x24], 0xefcdab89
mov dword [esi + 0x28], 0x98badcfe
mov dword [esi + 0x2c], 0x10325476
mov dword [esi + 0x30], 0xc3d2e1f0
pop esi
pop ebx
ret

Function at 0x49f960
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
ret

Function at 0x49f9b0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [0x4c1628]
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
ret
Function at 0x49ffd0
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
and eax, 0x3f
mov byte [eax + esi + 0x40], 0x80
inc eax
push edi
mov edi, edx
cmp eax, 0x38
jbe 0x4a0013
cmp eax, 0x40
je 0x4a0005
mov edx, 0x40
sub edx, eax
push edx
lea ecx, [eax + esi + 0x40]
push 0
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [esi]
push 1
lea edx, [esi + 0x40]
lea ecx, [esi + 0x20]
call eax
xor eax, eax
mov ecx, 0x38
sub ecx, eax
push ecx
lea edx, [eax + esi + 0x40]
push 0
push edx
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
bswap ecx
bswap eax
add esp, 0xc
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
mov eax, dword [esi]
push 1
lea edx, [esi + 0x40]
lea ecx, [esi + 0x20]
call eax
lea ecx, [esi + 0x20]
mov edx, 4
mov eax, dword [ecx + 4]
mov ebp, dword [ecx]
bswap ebp
bswap eax
mov dword [edi], ebp
mov dword [edi + 4], eax
add edi, 8
add ecx, 8
dec edx
jne 0x4a0058
xor eax, eax
pop edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x20], 0x6a09e667
mov dword [esi + 0x24], 0xbb67ae85
mov dword [esi + 0x28], 0x3c6ef372
mov dword [esi + 0x2c], 0xa54ff53a
mov dword [esi + 0x30], 0x510e527f
mov dword [esi + 0x34], 0x9b05688c
mov dword [esi + 0x38], 0x1f83d9ab
mov dword [esi + 0x3c], 0x5be0cd19
pop esi
pop ebp
pop ebx
ret

Function at 0x4a0574
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2868
push 0x4a056e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x4c833c], 0xffffffff
or dword [0x4c8340], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x4c42f8]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x4c42f4]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x4c8338], eax
call fcn.004a06b7
cmp dword [0x4c1650], 0
jne 0x4a05f7
push 0x4a06b4
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.004a06a2
push 0x4c10d4
push 0x4c10d0
call sub.MSVCRT.dll__initterm
mov eax, dword [0x4c42f0]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x4c42ec]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x4c10cc
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00444bcd
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x438ca5
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x438a14
mov eax, esi
inc esi
sub esp, 4
mov dword [esp], eax
pop eax
call fcn.00438cdd
or esi, eax
xor dword [ecx], edi
mov eax, esi
inc ecx
dec esi
inc esi
sub eax, esi
cmp ecx, ebx
jne fcn.00438ca5
sub esi, 0x432c4206
sub esi, eax
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 0x401210
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sbb eax, 0x8f
not ebx
inc edx
rol edx, 0x3c
neg edx
ror ebx, 0x36
sub edx, 0x1d
imul eax
sub esi, 0xcb
and ebx, 0xa2
neg ebx
mov edx, 0xc1
dec edx
and edx, 0x61
not edi
rol ebx, 0x3e
mov esi, 0xc6
rcl edx, 0x32
not eax
neg edx
rcr eax, 0xdd
sbb eax, 0xe
dec ebx
not ebx
inc esi
rcl esi, 0xe0
bswap eax
mov edx, 0xf3
inc eax
inc edi
inc esi
inc edx
inc eax
sub ebx, 0xdd
not edx
bswap edx
bswap ebx
bswap edx
bswap esi
dec eax
rcr ebx, 0x7e
not edx
sbb esi, 0x80
rcl edx, 0x52
neg ebx
inc esi
sub eax, 0x43
dec eax
or esi, 0x6b
imul edx
xor ecx, ecx
xor edi, edi
imul ebx
bswap edx
rcr edi, 0x36
rcr esi, 0xd6
imul esi
and eax, 0x89
add ebx, 0x1b
ror edx, 5
neg edx
ror edx, 0xca
neg esi
mov edx, 0x4c
sub eax, 0x8c
bswap eax
rcr ebx, 0x8a
neg esi
neg eax
rol edx, 0x2b
bswap ebx
not eax
dec edx
bswap ebx
bswap esi
add ebx, 0x57
rcl esi, 0x4f
dec esi
mov edi, 0xc8
neg eax
ror edx, 0x60
rcl edx, 0xaf
rcl ebx, 0x84
inc edx
dec edi
bswap eax
not esi
mov eax, 0xac
mov eax, 0xe1
neg edi
inc ebx
dec edx
rol edi, 0xb3
neg ebx
or edi, 0x1d
bswap edi
ror edi, 0xf0
rol ebx, 0x11
not edx
sub ebx, 0x5b
add edi, 0x86
imul esi
mov ecx, dword [ebp + 0xc]
neg eax
and ebx, 0xbb
and eax, 0x64
rol ebx, 0x9b
bswap esi
sbb edi, 0x35
imul ebx
rcl edx, 0x23
and ebx, 0xe2
ror eax, 0x9e
bswap edi
rcr esi, 0xb8
mov eax, 0xa7
or ebx, 0x21
bswap edx
and eax, 0xf9
ror ebx, 0xb5
add eax, 0xef
dec esi
imul eax
mov edi, 0x8a
dec edi
rol ebx, 0x3b
ror esi, 9
not ebx
neg ebx
rol eax, 0x7b
add eax, 0x18
sbb eax, 0x96
rcr eax, 0x3d
sub edi, 0x50
inc esi
rcl edx, 0xf8
inc ebx
or esi, 0xd2
bswap esi
rcr eax, 0x39
rcr eax, 0xd3
neg edi
not esi
sbb edi, 0xaf
mov edi, 0x6e
dec edx
dec edx
bswap eax
imul edi
bswap esi
imul edi
dec ebx
inc ebx
mov edi, dword [ebp + 8]
mov esi, ebx
xor eax, ebx
xor esi, esi
not byte [edi]
mov esi, eax
xor ebx, eax
xor eax, esi
xor ebx, eax
xor esi, esi
xor esi, ebx
mov ebx, eax
mov esi, eax
mov ebx, eax
add byte [edi], 0x79
mov ebx, ebx
xor eax, esi
mov ebx, eax
mov eax, eax
xor ebx, ebx
xor eax, esi
xor eax, esi
xor esi, esi
mov eax, ebx
sub byte [edi], 0x30
mov ebx, ebx
mov eax, esi
xor esi, esi
mov ebx, eax
xor eax, eax
xor ebx, ebx
xor esi, ebx
xor ebx, eax
xor esi, esi
imul byte [edi]
inc edi
loop 0x4013bb
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4042c5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x462fd0]
jne 0x4042cf
repz ret
jmp fcn.00406045
Function at 0x404956
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.004036f1
and dword [ebp - 4], 0
cmp dword [0x463e68], 0
mov ebx, eax
jne 0x404a07
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x404ab8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x404ab8
push eax
call fcn.0040367f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x463e68], eax
call esi
push eax
call fcn.0040367f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x463e6c], eax
call esi
push eax
call fcn.0040367f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x463e70], eax
call esi
push eax
call fcn.0040367f
pop ecx
mov dword [0x463e78], eax
test eax, eax
je 0x404a07
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040367f
pop ecx
mov dword [0x463e74], eax
mov eax, dword [0x463e74]
cmp eax, ebx
je 0x404a5f
cmp dword [0x463e78], ebx
je 0x404a5f
push eax
call fcn.004036fa
push dword [0x463e78]
mov esi, eax
call fcn.004036fa
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404a5f
test edi, edi
je 0x404a5f
call esi
test eax, eax
je 0x404a56
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404a56
test byte [ebp - 0xc], 1
jne 0x404a5f
or dword [ebp + 0x10], 0x200000
jmp 0x404a98
mov eax, dword [0x463e6c]
cmp eax, ebx
je 0x404a98
push eax
call fcn.004036fa
pop ecx
test eax, eax
je 0x404a98
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x404a98
mov eax, dword [0x463e70]
cmp eax, ebx
je 0x404a98
push eax
call fcn.004036fa
pop ecx
test eax, eax
je 0x404a98
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x463e68]
call fcn.004036fa
pop ecx
test eax, eax
je 0x404ab8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x404aba
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40dddf
Capabilities:
Encode data using xor

Disassembly:
mov cs, ebp
dec ebx
add ch, ah
push ds
mov byte [esi - 0xa], bl
jge 0x40ddd2
and al, 0x7b

Function at 0x434a87
Capabilities:
Encode data using xor

Disassembly:
cmp eax, 0x71a29768
jno 0x434aa8
inc edx
add dl, byte [esi - 0x3c]
inc edi
invalid
mov edi, 0xd2c1d2b2
loope 0x434a60
rcl dword [edx + 0x52c1d2e1], 0x61
pop edx
loope 0x434a64
rcl dword [edx + 0x61], 0x5a
cmp dword [esi], esp
and eax, 0x65a66506
inc esi
and eax, 0xe586a526
movsd dword es:[edi], dword es:[esi]
xchg ch, ah
cmpsb byte [esi], byte es:[edi]
inc esi
and eax, 0x6d062526
scasb al, byte es:[edi]
insd dword es:[edi], dx
and eax, 0x6dae6d06
inc esp
jno 0x434ad6
invalid
jb 0x434b24
pop es
adc dword [ecx], eax
and byte [edx - 0xd37c0c2], dh
aas
enter 0x2ff2, 0x71
outsb dx, byte [esi]
bound esi, qword [ecx + 0x155b8c71]
xor dword [edx + ecx*2 - 0xe], esp
sub byte [eax + 0x70af53e0], 0xd2
lodsb al, byte [esi]
add ch, byte [edi]
cmp dword [edi], edx
jns 0x434a90
jns 0x434ae5
adc dword [edx], esi
arpl dx, dx
pushfd
daa
pop ebx
or al, 0x3b
invalid
Function at 0x469da3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x472108
cmp edx, dword [eax]
je 0x469dc5
add eax, 8
inc ecx
cmp eax, 0x472198
jl 0x469db6
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x472108]
jne 0x469ef3
mov eax, dword [0x1084488]
cmp eax, 1
je 0x469ecd
test eax, eax
jne 0x469df6
cmp dword [0x47206c], 1
je 0x469ecd
cmp edx, 0xfc
je 0x469ef3
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x469e2d
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0046a350
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0046a4c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x469e70
lea eax, [ebp - 0x1a4]
push eax
call fcn.0046a4c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x46e9c8
push edi
call fcn.0046b150
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0046a350
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0046a360
lea eax, [ebp - 0xa0]
push 0x46e9a8
push eax
call fcn.0046a360
push dword [esi + 0x47210c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0046a360
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0046b0be
add esp, 0x2c
pop edi
jmp 0x469ef3
lea eax, [ebp + 8]
lea esi, [esi + 0x47210c]
push 0
push eax
push dword [esi]
call fcn.0046a4c0
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 0x414dc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.IaDsgWGk
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x414de2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414de9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414dd8
mov eax, 1
add ebx, ebx
jne 0x414dfb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414df0
jne 0x414e0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414df0
xor ecx, ecx
sub eax, 3
jb 0x414e20
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414e92
mov ebp, eax
add ebx, ebx
jne 0x414e2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414e38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414e5c
inc ecx
add ebx, ebx
jne 0x414e48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414e3d
jne 0x414e59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414e3d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414e7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414e6d
jmp 0x414dde
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414e7c
add edi, ecx
jmp 0x414dde
pop esi
mov edi, esi
mov ecx, 2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414e9a
cmp byte [edi], 5
jne 0x414e9a
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 0x414e9f
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x414f17
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19bb8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19bf4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414ecc
mov ecx, edi
jns 0x414efb
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 + 0x19bfc]
or eax, eax
je 0x414f11
mov dword [ebx], eax
add ebx, 4
jmp 0x414ee9
call dword [esi + 0x19bf8]
mov ebp, dword [esi + 0x19c00]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x414f4b
sub esp, 0xffffff80
jmp 0x401134
Function at 0x43b2f0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
jmp 0x43b308
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x43b3ac
mov edx, dword [ebp - 4]
sub edx, 0x231d
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + eax*2 + 0x463a]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shr eax, 0xc
cmp eax, 3
jne 0x43b3a7
mov ecx, dword [ebp - 8]
push ecx
call fcn.0043b2d0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x43b366
push 0x154b
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x43b366
xor eax, eax
jmp 0x43b3ac
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax - 0x4c3f8]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx]
add ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov edx, dword [ebp + 0x10]
mov dword [edx + eax], ecx
mov eax, dword [ebp - 8]
sub eax, 0x4c3f8
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
sub edx, eax
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
jmp 0x43b2ff
mov esp, ebp
pop ebp
ret

Function at 0x5d8ad0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x5d87dc
add ecx, ecx
call fcn.005d8b05
inc edi
and edi, ecx
xor dword [ebx], edx
or ecx, ecx
add ebx, 2
mov ecx, ecx
add edi, 0xe81aa88c
cmp ebx, eax
jl fcn.005d8ad0
add ecx, 0x61678fa3
ret
Function at 0x431ddb
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x439a10
call fcn.0042e2e0
xor esi, esi
cmp dword [0x43e76c], esi
jne 0x431e1f
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x431e0a
mov dword [0x43e76c], edi
jmp 0x431e1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x431e1f
mov dword [0x43e76c], 2
mov eax, dword [0x43e76c]
cmp eax, 2
je 0x431f00
cmp eax, esi
je 0x431f00
cmp eax, 1
jne 0x431e64
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x431e4d
mov eax, dword [0x43e4d8]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x431e6b
xor eax, eax
jmp 0x431f12
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.00424ea0
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x431ea1
cmp edi, esi
jne 0x431ebc
lea eax, [ebx + ebx]
push eax
call fcn.0042372d
pop ecx
mov edi, eax
cmp edi, esi
je 0x431e64
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x431eef
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x431ed9
push esi
push esi
jmp 0x431edf
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x431efb
push edi
call fcn.00423779
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x431f12
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.0042e31b
ret

Function at 0x4ca258
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4c9fca
or ecx, ebx
call fcn.004ca287
add ecx, 0x6fd5f9e5
add ecx, ebx
mov ebx, ecx
xor dword [eax], edi
sub ebx, ecx
sub ecx, 0xb8e068ec
inc eax
and ecx, ebx
cmp eax, esi
jne fcn.004ca258
add ebx, ecx
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x43b657
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x43b3c1
pop edi
push edx
pop edx
dec eax
call fcn.0043b692
sub edx, edx
mov eax, edx
xor dword [ecx], edi
add edx, 0x99e94b90
inc ecx
dec eax
and edx, edx
push 0xe35cf0bd
mov edx, dword [esp]
add esp, 4
cmp ecx, esi
jne fcn.0043b657
inc edx
add eax, eax
inc eax
ret
Function at 0x404729
Capabilities:
Shutdown system

Disassembly:
call fcn.00426dd0
push 2
mov eax, str.SeShutdownPrivilege
push eax
call fcn.00407f78
movsx eax, byte [esp + 4]
push eax
push 0
push 1
mov eax, str.Exit
push eax
push 0
call sub.ADVAPI32.dll_InitiateSystemShutdownW
xor eax, eax
ret 4
Function at 0x40512b
Capabilities:
Get disk information

Disassembly:
push ebx
push edi
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00426dd0
push dword [esp + 0x20]
call fcn.00414340
mov dword [esp], 0
mov dword [esp + 4], 1
mov edx, 0x42a02e
lea ecx, [esp + 8]
call fcn.00414068
mov edx, 0x42a02e
lea ecx, [esp + 0xc]
call fcn.00414068
call sub.KERNEL32.dll_GetLogicalDrives
mov dword [esp + 0x10], eax
mov dword [esp], 0
jmp 0x40517f
mov eax, 0x19
cmp eax, dword [esp]
jl 0x4051db
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 4]
mov ecx, dword [esp]
shl edi, cl
and ebx, edi
and ebx, ebx
je 0x4051d6
mov edx, dword [esp + 8]
push edx
call fcn.00426bf0
pop edx
push eax
push edx
call fcn.00426d30
push edx
call fcn.00426bf0
pop edx
push eax
push edx
call fcn.00426bf0
pop edx
push eax
mov ebx, dword [esp + 0xc]
add ebx, 0x41
push ebx
call fcn.00425260
pop eax
lea eax, [esp + 0xc]
push eax
call fcn.00426c30
inc dword [esp]
jno 0x40517f
mov eax, 0x42a3a8
push eax
call fcn.00425280
mov dword [esp], eax
jmp 0x4051eb
mov eax, 0x42a418
push eax
call fcn.00425280
cmp eax, dword [esp]
jl 0x4052cb
push edx
call fcn.00426bf0
pop edx
push eax
push edx
call fcn.00426bf0
pop edx
push eax
push edx
call fcn.00426bf0
pop edx
push eax
push dword [esp + 0xc]
call fcn.00425260
call fcn.00426e90
push dword [esp + 0x10]
call fcn.00414322
add dword [esp + 4], edx
call fcn.004250c0
call fcn.00414340
and eax, eax
je 0x405244
xor eax, eax
jmp 0x405249
mov eax, 1
and eax, eax
je 0x4052c2
push edx
call fcn.00426bf0
pop edx
push eax
push edx
call fcn.00426bf0
pop edx
push eax
push edx
call fcn.00426bf0
pop edx
push eax
push dword [esp + 0xc]
call fcn.00425260
mov edx, 0x42a180
push edx
call fcn.00426d30
call fcn.00414322
add dword [esp], edx
call sub.KERNEL32.dll_GetDriveTypeW
call fcn.00414340
mov ebx, eax
cmp ebx, 1
jne 0x4052c2
push edx
call fcn.00426bf0
pop edx
push eax
push edx
call fcn.00426bf0
pop edx
push eax
push dword [esp + 8]
call fcn.00425260
mov edx, 0x42a180
push edx
call fcn.00426d30
lea eax, [esp + 0x10]
push eax
call fcn.00426c30
jmp 0x4052cb
inc dword [esp]
jno 0x4051eb
mov edx, dword [esp + 0xc]
push edx
call fcn.00426bf0
pop edx
push eax
push edx
call fcn.00426d30
pop eax
push eax
call fcn.00414310
pop edx
add eax, edx
jmp 0x4052f3
push dword [esp + 0xc]
call fcn.00426e60
push dword [esp + 8]
call fcn.00426e60
add esp, 0x14
pop edi
pop ebx
ret