joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a750
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4cdbf8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x5502bc], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, str.UNKNOWN
je 0x45a8ab
test edi, edi
je 0x45a8ab
cmp dword [ebp + 8], 1
je 0x45a84b
xor ebx, ebx
mov dword [ebp - 8], ebx
cmp byte [edi], bl
je 0x45a8ab
mov esi, edi
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x45a7a0
sub esi, ecx
lea eax, [esi + 4]
push eax
call fcn.00487397
mov dword [ebp - 0xc], eax
lea eax, [esi + 1]
push eax
push edi
mov edi, dword [ebp - 0xc]
push edi
call fcn.00481690
mov eax, esi
add esp, 0x10
and eax, 3
je 0x45a7e7
push eax
mov eax, esi
and eax, 0xfc
add eax, edi
push eax
lea eax, [ebp - 8]
push eax
call fcn.00481690
mov ebx, dword [ebp - 8]
add esp, 0xc
sar esi, 2
test esi, esi
je 0x45a7f9
nop
xor ebx, dword [edi + esi*4 - 4]
dec esi
test esi, esi
jne 0x45a7f0
mov esi, dword [ebp - 0xc]
mov eax, 0x446f8657
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
imul eax, eax, 0x65
sub ebx, eax
mov eax, dword [0x5502bc]
mov edi, dword [eax + ebx*4 + 4]
test edi, edi
je 0x45a839
push dword [edi]
push esi
call fcn.0048eaa2
add esp, 8
test eax, eax
je 0x45a839
mov edi, dword [edi + 0x1a0]
test edi, edi
jne 0x45a820
push esi
call fcn.0048737c
add esp, 4
test edi, edi
je 0x45a8ab
mov ebx, str.UNKNOWN
mov ecx, dword [edi + 4]
mov eax, 0x446f8657
mov esi, dword [ebp + 0x10]
test ecx, ecx
cmovne ebx, ecx
mov ecx, esi
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
imul eax, eax, 0x65
sub ecx, eax
mov eax, dword [edi + ecx*4 + 0xc]
test eax, eax
je 0x45a898
cmp esi, dword [eax]
je 0x45a895
mov eax, dword [eax + 8]
test eax, eax
jne 0x45a877
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret
mov ebx, dword [eax + 4]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, str.UNKNOWN
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret
Function at 0x45af90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4cdbf8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edi
test ebx, ebx
je 0x45b117
cmp byte [ebx], 0
je 0x45b117
cmp dword [0x5502bc], edi
jne 0x45aff1
push 0x198
call fcn.00487397
add esp, 4
mov dword [0x5502bc], eax
test eax, eax
je 0x45aff1
push 0x198
push edi
push eax
call fcn.00481c10
add esp, 0xc
push esi
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x45aff7
sub esi, ecx
lea eax, [esi + 4]
push eax
call fcn.00487397
lea ecx, [esi + 1]
mov ebx, eax
push ecx
push dword [ebp - 0xc]
push ebx
call fcn.00481690
mov eax, esi
add esp, 0x10
and eax, 3
je 0x45b03c
push eax
mov eax, esi
and eax, 0xfc
add eax, ebx
push eax
lea eax, [ebp - 8]
push eax
call fcn.00481690
mov edi, dword [ebp - 8]
add esp, 0xc
sar esi, 2
test esi, esi
jle 0x45b04c
xor edi, dword [ebx + esi*4 - 4]
dec esi
test esi, esi
jg 0x45b043
mov eax, 0x446f8657
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
imul eax, eax, 0x65
sub edi, eax
mov eax, dword [0x5502bc]
mov esi, dword [eax + edi*4 + 4]
test esi, esi
je 0x45b08d
push dword [esi]
push ebx
call fcn.0048eaa2
add esp, 8
test eax, eax
je 0x45b10c
mov esi, dword [esi + 0x1a0]
test esi, esi
jne 0x45b070
push 0x1a4
call fcn.00487397
mov esi, eax
add esp, 4
test esi, esi
je 0x45b0b3
push 0x1a0
lea eax, [esi + 4]
push 0
push eax
call fcn.00481c10
add esp, 0xc
mov dword [esi], ebx
mov eax, dword [0x5502bc]
mov eax, dword [eax + edi*4 + 4]
mov dword [esi + 0x1a0], eax
mov eax, dword [0x5502bc]
mov dword [eax + edi*4 + 4], esi
mov eax, dword [0x5502bc]
inc dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x45b0f9
push 0xe7
push str.D:MyProjectsProPilotLibMessage.c
push fcn.004845db
push 0
push eax
lea ecx, [esi + 4]
push ecx
call fcn.0041e700
add esp, 0x18
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret
push ebx
call fcn.0048737c
add esp, 4
jmp 0x45b0d4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret
Function at 0x45ee00
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
movzx edi, si
lea eax, [esi - 0x70]
cmp ax, 0xb
ja 0x45ee2f
lea eax, [edi - 0x6f]
push eax
push 0x4a2748
push 0x550798
call fcn.00401045
add esp, 0xc
jmp 0x45eecf
push 0x32
push 0x550798
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
or eax, 0x100
shl eax, 0x10
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
jne 0x45eecf
call fcn.00436990
test eax, eax
je 0x45eecf
call fcn.00436990
cmp dword [eax], 0
je 0x45eecf
mov eax, dword [0x4eeee0]
push ebx
test eax, eax
je 0x45ee77
mov ebx, dword [eax + 0x190]
jmp 0x45ee7d
mov ebx, dword [0x4eeee4]
call fcn.00436990
test eax, eax
je 0x45ee92
call fcn.00436990
mov eax, dword [eax]
mov dword [ebp + 8], eax
jmp 0x45ee99
mov dword [ebp + 8], 0
push str.Error_getting_virtual_key_name_for_scan_key__02X:__s
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00420fd0
add esp, 8
push eax
push edi
push str.Error_getting_virtual_key_name_for_scan_key__02X:__s
push dword [0x4eeee0]
push ebx
push 0
push 0x62
push str.D:MyProjectsProPilotLibMainMenu.c
push 2
call dword [ebp + 8]
add esp, 0x28
pop ebx
pop edi
cmp si, 0xd
pop esi
jne 0x45eeed
push 0x20
push 0x550798
call fcn.0048ed89
add esp, 8
test eax, eax
je 0x45eeed
inc eax
jmp 0x45eef2
mov eax, 0x550798
cmp byte [eax], 0
mov dword [0x5507cc], eax
je 0x45ef0b
inc eax
push eax
call fcn.0048ec5b
mov eax, dword [0x5507cc]
add esp, 4
pop ebp
ret
Function at 0x46f010
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
pop ebp
ret
Function at 0x474210
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x4cdbf8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x2c]
mov eax, dword [edi]
cmp ecx, 0xf
jne 0x474246
lea ecx, [ebp - 0x54]
push ecx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
movups xmm0, xmmword [ebp - 0x4c]
mov ebx, eax
movups xmmword [ebp - 0x64], xmm0
jmp 0x474293
cmp ecx, 0x85
jne 0x47426f
push 0x81
push dword [edi + 0x24]
push eax
call dword [sym.imp.USER32.dll_GetDCEx]
mov ebx, eax
lea eax, [ebp - 0x64]
push 0
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetUpdateRect]
jmp 0x474293
cmp ecx, 0x14
jne 0x47427e
mov ebx, dword [edi + 0x24]
lea ecx, [ebp - 0x64]
push ecx
push eax
jmp 0x47428d
push eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ebx, eax
lea eax, [ebp - 0x64]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x58]
mov esi, eax
sub ecx, dword [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0x5c]
sub ecx, dword [ebp - 0x64]
push ecx
push ebx
mov dword [ebp - 0x68], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
movups xmm0, xmmword [ebp - 0x64]
mov esi, dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x14]
push 2
push eax
push dword [edi]
movups xmmword [ebp - 0x14], xmm0
call esi
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [ebp - 0x14]
push eax
push dword [edi]
call esi
push eax
call dword [sym.imp.USER32.dll_ValidateRect]
mov esi, dword [ebp - 0x68]
push edi
mov dword [edi + 0x18], esi
call fcn.00474520
mov eax, dword [edi + 0x10]
add esp, 4
cmp dword [eax], 5
jne 0x474315
call fcn.00436990
test dword [eax + 4], 0x20000
jne 0x47433a
xor eax, eax
cmp dword [edi + 0x2c], 0x85
setne al
lea eax, [eax*2 + 2]
push eax
push esi
push 0x318
push dword [edi]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_CallWindowProcA]
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x60]
push 0xcc0020
push 0
push 0
push esi
push eax
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x64]
push eax
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
call fcn.00474070
push edi
call fcn.00474520
add esp, 8
push dword [ebp - 0x6c]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [edi + 0x2c]
pop esi
cmp eax, 0xf
jne 0x47439b
lea eax, [ebp - 0x54]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x4743a9
cmp eax, 0x14
je 0x4743a9
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 4]
mov dword [edi + 0x18], 0
xor ecx, ebp
pop edi
pop ebx
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret
Function at 0x47a550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x100
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
or esi, edi
nop dword [eax]
mov eax, esi
add ebx, ebx
shr eax, 7
mov ecx, edi
and eax, 1
and ecx, ebx
push eax
mov eax, esi
add ecx, edi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
lea edx, [edx + eax*2]
call fcn.0047b830
mov edx, dword [ebp - 8]
add esi, esi
mov eax, esi
xor eax, ebx
not eax
and edi, eax
cmp esi, 0x10000
jb 0x47a570
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x47a5c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
or edx, 0x100
mov ecx, edx
mov eax, edx
shr ecx, 7
add edx, edx
shr eax, 8
and ecx, 1
neg ecx
sar ecx, 4
and ecx, 0x7f
movzx esi, word [ebx + eax*2]
mov eax, dword [ebp + 8]
shr esi, 4
xor esi, ecx
add edi, dword [eax + esi*4]
cmp edx, 0x10000
jb 0x47a5d0
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x47a610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, 0x100
mov dword [ebp - 4], ecx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
or edx, esi
add edi, edi
mov ecx, esi
and ecx, edi
mov eax, edx
add ecx, esi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
movzx ecx, word [ecx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0xc]
add ebx, dword [eax + ecx*4]
mov ecx, edx
xor ecx, edi
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x47a626
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x47ba90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
bts esi, edx
mov ebx, ecx
cmp esi, 1
je 0x47bacb
push edi
mov edi, dword [ebp + 0xc]
mov edx, esi
and esi, 1
shr edx, 1
neg esi
sar esi, 4
and esi, 0x7f
movzx ecx, word [ebx + edx*2]
shr ecx, 4
xor ecx, esi
mov esi, edx
add eax, dword [edi + ecx*4]
cmp esi, 1
jne 0x47baa8
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x47bb30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
xor eax, eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
push edi
lea edi, [eax + 1]
test edx, edx
je 0x47bb7f
push ebx
mov ebx, dword [ebp + 8]
push esi
nop dword [eax + eax]
movzx edx, word [ecx + edi*2]
mov esi, ebx
and esi, 1
shr edx, 4
mov ecx, esi
shr ebx, 1
neg ecx
add edi, edi
sar ecx, 4
or edi, esi
and ecx, 0x7f
xor edx, ecx
mov ecx, dword [ebp + 0xc]
add eax, dword [ecx + edx*4]
sub dword [ebp - 4], 1
mov ecx, dword [ebp - 8]
jne 0x47bb50
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x47e610
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0x20], 0
call fcn.0047eb00
xor edx, edx
lea esi, [ecx + 0x6c]
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x47e630
pop esi
ret

Function at 0x47fe10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4cdbf8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
lea ecx, [ebp - 8]
push ecx
push 0
push eax
push edx
push 0
push 0
call fcn.0049053c
add esp, 0x18
mov dword [esi], eax
mov ecx, eax
call fcn.0047fc40
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret 4

Function at 0x483c1b
Capabilities:
Parse pe header

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

Function at 0x49365e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4aa22c
push 0x4aa224
push str.FlsAlloc
push 0x1f
call fcn.004934dd
mov esi, eax
add esp, 0x10
test esi, esi
je 0x493692
push dword [ebp + 8]
mov ecx, esi
call dword [0x4a069c]
call esi
jmp 0x493698
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4936dc
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4aa23c
push 0x4aa234
push str.FlsGetValue
push 0x21
call fcn.004934dd
mov esi, eax
add esp, 0x10
test esi, esi
je 0x493713
push dword [ebp + 8]
mov ecx, esi
call dword [0x4a069c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x49371b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4aa244
push 0x4aa23c
push str.FlsSetValue
push 0x22
call fcn.004934dd
mov esi, eax
add esp, 0x10
test esi, esi
je 0x493755
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4a069c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x49841d
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 0x4984ba
push ebx
push esi
call fcn.004983e6
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.0049837a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x498467
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4984b9
push edi
push eax
call fcn.0049483f
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x498487
call fcn.00493370
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4984b8
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0049837a
add esp, 0x20
test eax, eax
jne 0x4984a6
push edi
call fcn.00493370
jmp 0x4984ae
push ebx
call fcn.00493370
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 0x4984bd
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4984ce
pop esi
ret
push ebx
push edi
push esi
call fcn.004983e6
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0049483f
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4984f6
push ebx
push esi
push edi
call fcn.00481690
add esp, 0xc
push 0
call fcn.00493370
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4988c6
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049850b
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0xe82171c
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x19d725dc
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..00cfg
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x534e7cee
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x5f4833a0
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x415f63
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x433b84
push 0x433b7c
push str.FlsGetValue
push 2
call fcn.00415e68
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x415f94
mov ecx, esi
call fcn.00411065
call esi
jmp 0x415f9a
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x415f9d
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x433b8c
push 0x433b84
push str.FlsSetValue
push 3
call fcn.00415e68
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x415fd1
mov ecx, esi
call fcn.00411065
call esi
jmp 0x415fd7
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x412590
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x4125aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4125b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4125a0
mov eax, 1
add ebx, ebx
jne 0x4125c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4125b8
jne 0x4125d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4125b8
xor ecx, ecx
sub eax, 3
jb 0x4125e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41265a
mov ebp, eax
add ebx, ebx
jne 0x4125f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412600
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x412624
inc ecx
add ebx, ebx
jne 0x412610
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x412605
jne 0x412621
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412605
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x412644
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x412635
jmp 0x4125a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x412644
add edi, ecx
jmp 0x4125a6
pop esi
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x4126ac
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12708]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x127c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412661
mov ecx, edi
jns 0x412690
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 + 0x127cc]
or eax, eax
je 0x4126a6
mov dword [ebx], eax
add ebx, 4
jmp 0x41267e
call dword [esi + 0x127c8]
mov ebp, dword [esi + 0x127d0]
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 0x4126e0
sub esp, 0xffffff80
jmp 0x403ac6