joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47ae40
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x8e68
call fcn.00494570
mov eax, dword [esp + 0x8e74]
push ebx
push ebp
mov ebp, dword [esp + 0x8e74]
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x47ae64
mov dword [eax], edi
cmp dword [ebp + 8], edi
je 0x47b004
mov cl, 1
mov eax, ebp
call fcn.0047b1e0
test eax, eax
je 0x47b02a
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [0x4aa988]
push eax
push esi
mov ecx, ebp
call fcn.0047b270
test eax, eax
setne cl
mov byte [esp + 0x17], cl
test cl, cl
jne 0x47aeaa
xor eax, eax
mov dword [0x4af254], eax
jmp 0x47aeaf
mov eax, dword [0x4af254]
cmp byte [esp + 0x8e80], 0
mov dword [esp + 0xc44], edi
mov dword [esp + 0xc48], edi
mov dword [esp + 0xc4c], edi
mov dword [esp + 0xc58], edi
mov dword [esp + 0xc64], edi
mov dword [esp + 0xc68], edi
je 0x47aeef
mov byte [esp + 0xc41], 0
test cl, cl
je 0x47aef7
mov byte [esp + 0xc41], 1
mov edx, dword [0x4af250]
mov ecx, 0x49b8cd
mov dword [esp + 0x824], ecx
mov dword [esp + 0x82c], ecx
mov dword [esp + 0x830], ecx
mov ecx, dword [0x4aa988]
cmp eax, edi
mov dword [esp + 0x828], edi
mov edi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0xc50], edx
mov dword [esp + 0xc54], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x83c], ebp
mov dword [esp + 0x18], 0x10
setg bl
cmp byte [esp + 0x17], 0
je 0x47af7a
xor ecx, ecx
test eax, eax
jle 0x47af6a
lea ecx, [ecx]
cmp dword [edx + ecx*4], esi
je 0x47af7a
inc ecx
cmp ecx, eax
jl 0x47af60
cmp eax, 0x1f4
jge 0x47af7a
mov dword [edx + eax*4], esi
inc eax
mov dword [0x4af254], eax
lea edx, [esp + 0x18]
push edx
push 0x479540
mov dword [esp + 0xc5c], eax
call edi
mov eax, dword [esp + 0xc48]
test eax, eax
jne 0x47afab
test bl, bl
je 0x47b016
mov edx, dword [0x4af250]
mov dword [0x4af254], eax
xor bl, bl
jmp 0x47af50
call fcn.00478db0
mov ecx, dword [0x4af254]
mov edx, dword [esp + 0xc48]
mov esi, dword [0x4af250]
xor eax, eax
test ecx, ecx
jle 0x47afda
lea esp, [esp]
cmp dword [esi + eax*4], edx
je 0x47afec
inc eax
cmp eax, ecx
jl 0x47afd0
cmp ecx, 0x1f4
jge 0x47afec
mov dword [esi + ecx*4], edx
inc ecx
mov dword [0x4af254], ecx
mov eax, dword [0x4aa988]
mov eax, dword [eax + 0x54]
cmp eax, 0xffffffff
jle 0x47b004
push 1
push eax
call fcn.00401420
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8e68
ret 0xc
mov ecx, dword [esp + 0x8e84]
test ecx, ecx
je 0x47b02a
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x47b02a
mov dword [ecx], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x8e68
ret 0xc
Function at 0x47b040
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x8e68
call fcn.00494570
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x47b1c0
xor cl, cl
mov eax, edi
call fcn.0047b1e0
test eax, eax
jne 0x47b075
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8e68
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
mov eax, dword [0x4aa988]
push eax
push ebp
mov ecx, edi
call fcn.0047b270
test eax, eax
je 0x47b098
xor eax, eax
mov dword [0x4af254], eax
jmp 0x47b09d
mov eax, dword [0x4af254]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x824], 0x49b8cd
mov dword [esp + 0xc44], ebx
mov dword [esp + 0xc48], ebx
mov dword [esp + 0xc4c], ebx
mov dword [esp + 0xc64], ebx
mov dword [esp + 0xc68], ebx
cmp byte [esp + 0x8e7c], bl
je 0x47b0e3
mov byte [esp + 0xc41], bl
cmp eax, ebx
je 0x47b0eb
mov byte [esp + 0xc41], 1
mov ecx, dword [0x4af250]
mov edx, dword [edi + 8]
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0xc54], eax
lea eax, [esp + 0x18]
push eax
push 0x47b340
mov dword [esp + 0xc58], ecx
mov dword [esp + 0xc60], edx
call esi
mov eax, dword [esp + 0xc48]
cmp eax, ebx
je 0x47b198
lea ecx, [esp + 0x10]
push ecx
push 0x479d80
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call esi
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x47b155
mov edx, dword [esp + 0xc48]
call fcn.0047a960
mov dword [esp + 0xc48], esi
mov eax, dword [esp + 0xc48]
call fcn.00478db0
mov edx, dword [esp + 0xc48]
call fcn.0047a960
mov edx, dword [0x4aa988]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x47b1c0
push 1
push eax
call fcn.00401420
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8e68
ret 4
mov eax, dword [0x4af254]
cmp eax, ebx
je 0x47b1c0
cmp eax, 1
setg al
mov dword [0x4af254], ebx
cmp al, bl
je 0x47b1c0
mov edx, ebp
call fcn.0047a960
push ebx
mov ecx, edi
call fcn.0047b040
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x8e68
ret 4
Function at 0x48ec64
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a9b30]
jne 0x48ec6e
repz ret
jmp fcn.00493717

Function at 0x4918a1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a9b30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0048be42
and dword [ebp - 0x14], 0
cmp dword [0x4acb0c], 0
mov dword [ebp - 0x18], eax
jne 0x491954
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4919fc
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4919fc
mov esi, dword [fcn.00487e70]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4acb0c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4acb10], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4acb14], eax
call edi
push eax
call esi
mov dword [0x4acb1c], eax
test eax, eax
je 0x491954
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4acb18], eax
mov eax, dword [0x4acb18]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.00487e74]
cmp eax, ecx
je 0x4919ad
cmp dword [0x4acb1c], ecx
je 0x4919ad
push eax
call esi
push dword [0x4acb1c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4919ad
test ebx, ebx
je 0x4919ad
call edi
test eax, eax
je 0x4919a4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4919a4
test byte [ebp - 8], 1
jne 0x4919ad
or dword [ebp + 0x10], 0x200000
jmp 0x4919e0
mov eax, dword [0x4acb10]
cmp eax, dword [ebp - 0x18]
je 0x4919e0
push eax
call esi
test eax, eax
je 0x4919e0
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4919e0
mov eax, dword [0x4acb14]
cmp eax, dword [ebp - 0x18]
je 0x4919e0
push eax
call esi
test eax, eax
je 0x4919e0
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4acb0c]
call esi
test eax, eax
je 0x4919fc
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4919fe
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048ec64
leave
ret
Function at 0x43c27d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x461f88
cmp edx, dword [eax]
je 0x43c29f
add eax, 8
inc ecx
cmp eax, str.__t__r_
jl 0x43c290
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x461f88]
jne 0x43c3cd
mov eax, dword [0x4650f8]
cmp eax, 1
je 0x43c3a7
test eax, eax
jne 0x43c2d0
cmp dword [0x461dd4], 1
je 0x43c3a7
cmp edx, 0xfc
je 0x43c3cd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43c307
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0043fa50
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0043b880
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x43c34a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0043b880
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x451cec
push edi
call fcn.00438a90
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0043fa50
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0043fa60
lea eax, [ebp - 0xa0]
push 0x449cb4
push eax
call fcn.0043fa60
push dword [esi + 0x461f8c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0043fa60
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004408db
add esp, 0x2c
pop edi
jmp 0x43c3cd
lea eax, [ebp + 8]
lea esi, [esi + 0x461f8c]
push 0
push eax
push dword [esi]
call fcn.0043b880
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 0x43fa09
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x43fa29
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043f38e
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x43fa4a
test byte [esp + 8], 2
je 0x43fa4a
mov dword [0x4650a4], 0xd
mov dword [0x4650a8], 5
jmp 0x43fa25
xor eax, eax
ret

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 0x172027
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x1adc54]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push esi
push eax
mov dword [ebp - 0x7c], esi
call fcn.0018c9e0
add esp, 0xc
mov dword [ebp - 0x78], esi
cmp ebx, esi
je 0x1720d9
push edi
mov edi, 0x1a65fc
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x172072
sub eax, edx
sar eax, 1
je 0x1720d8
lea eax, [ebp - 0x74]
push eax
mov esi, 0x104
push esi
call dword [fcn.001a1238]
push edi
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.0018af27
push 0x1a65f4
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0018a9ce
add esp, 0x18
cmp dword [ebp - 0x78], 0
je 0x1720d8
push dword [ebp - 0x78]
xor esi, esi
inc esi
push esi
push 0x200
push ebx
call fcn.0018b244
push dword [ebp - 0x78]
call fcn.0018ac7c
add esp, 0x14
mov dword [ebp - 0x7c], esi
pop edi
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x7c]
xor ecx, ebp
pop esi
call fcn.0018a752
add ebp, 0x198
leave
ret

Function at 0x172266
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
push 0x3e8
mov dword [ebp - 4], edi
call dword [0x1a1250]
push 0x1a65f4
mov esi, 0x1d2960
lea eax, [ebp - 4]
push esi
push eax
call fcn.0018a9ce
add esp, 0xc
cmp dword [ebp - 4], edi
je 0x172374
push ebx
push 2
push edi
push dword [ebp - 4]
call fcn.0018b6bf
push dword [ebp - 4]
call fcn.0018b8e1
mov edi, eax
push edi
call fcn.001803e8
push 0
push 0
push dword [ebp - 4]
mov ebx, eax
mov dword [ebp - 8], ebx
call fcn.0018b6bf
push dword [ebp - 4]
push edi
push 1
push ebx
call fcn.0018b244
add esp, 0x30
cmp edi, eax
jne 0x172355
call dword [0x1a123c]
push eax
call fcn.0018b601
pop ecx
call fcn.0018b613
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fmul qword [0x1a87e0]
fmul qword [0x1a87d8]
fadd qword [0x1a87d0]
call fcn.0018d280
cmp edi, eax
jl 0x172355
sub ebx, eax
push eax
add ebx, edi
call fcn.00172224
push dword [ebp - 4]
call fcn.0018ac7c
pop ecx
pop ecx
push esi
call dword [0x1a1230]
push 0x1a6304
lea eax, [ebp - 4]
push esi
push eax
call fcn.0018a9ce
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x172373
push dword [ebp - 4]
push edi
push 1
push dword [ebp - 8]
call fcn.0018ab83
add esp, 0x10
cmp dword [ebp - 4], 0
je 0x172364
push dword [ebp - 4]
call fcn.0018ac7c
pop ecx
cmp dword [ebp - 8], 0
je 0x172373
push dword [ebp - 8]
call fcn.001803dd
pop ecx
pop ebx
pop edi
pop esi
leave
ret
Function at 0x173d3e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
push edi
mov esi, eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 8], ebx
je 0x173e03
cmp esi, 0xa
jb 0x173e03
shl eax, 2
mov dword [ebp - 0xc], eax
inc eax
push eax
call fcn.0018a7b0
pop ecx
mov ebx, eax
push ebx
push esi
push dword [ebp + 8]
lea edi, [ebp - 0xc]
call fcn.00173cd0
add esp, 0xc
test eax, eax
je 0x173dfa
push 0x1a6304
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.0018a9ce
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x173daa
mov dword [ebp - 8], 0xfffffffe
jmp 0x173e16
push dword [ebp - 4]
push dword [ebp - 0xc]
push 1
push ebx
call fcn.0018ab83
add esp, 0x10
cmp eax, dword [ebp - 0xc]
je 0x173dc9
mov dword [ebp - 8], 0xfffffffe
jmp 0x173e07
mov esi, dword [0x1a123c]
call esi
xor edx, edx
mov ecx, 0x1f4
div ecx
mov edi, edx
call esi
xor edx, edx
mov ecx, 0x3e8
div ecx
push dword [ebp - 4]
push edi
push 1
add edx, ebx
push edx
call fcn.0018ab83
add esp, 0x10
jmp 0x173e07
mov dword [ebp - 8], 0xfffffffd
jmp 0x173e07
or dword [ebp - 8], 0xffffffff
cmp dword [ebp - 4], 0
je 0x173e16
push dword [ebp - 4]
call fcn.0018ac7c
pop ecx
test ebx, ebx
je 0x173e21
push ebx
call fcn.0018a87a
pop ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1755b5
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x1755c0
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x175672
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1a8170]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1a8170]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1a8170]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1a8170]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1a8170]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1a8170]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1a8170]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1a8170]
inc ecx
sub edi, 8
dec esi
jne 0x1755d7
pop ebx
test edi, edi
je 0x17568b
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x1a8170]
inc ecx
dec edi
jne 0x175676
pop esi
not eax
pop edi
ret

Function at 0x175690
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x1a8170]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x1a8170]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x40288e
pop dword [ebp - 0x24]
mov eax, 0x40288e
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x4407a488
sub dword [ebp - 0x34], 0xf5b55f3d
mov dword [ebp - 0x30], 0x887f1f2b
sub dword [ebp - 0x30], 0x564bd2e6
mov dword [ebp - 0x2c], 0x28837c72
add dword [ebp - 0x2c], 0x23c8c7bc
mov dword [ebp - 0x28], 0xa925c010
add dword [ebp - 0x28], 0x56da3ff0
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xa3c2b526
add dword [ebp - 0x34], 0xd0afb430
mov dword [ebp - 0x30], 0x8c11904a
sub dword [ebp - 0x30], 0x4aa52ed5
mov dword [ebp - 0x2c], 0xc399f7bd
add dword [ebp - 0x2c], 0x9fd574af
mov dword [ebp - 0x28], 0xc3dcdfa9
sub dword [ebp - 0x28], 0xc3dcdfa9
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0xe8a2103
add eax, 0xf1b65fd1
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x32a26
push 0
call eax
mov ecx, 0x93d1b7c1
sub ecx, 0x93d17f9a
xor edx, edx
add edx, eax
mov edi, 0x27e51b15
sub edi, 0x27a40b15
add edi, dword [ebp - 0x24]
mov esi, 0x42916171
sub esi, 0x8ed0cd1f
mov ebx, dword [edi]
xor dword [ebp - 8], edi
sub ebx, esi
sub dword [ebp - 0xc], 0x37c3215f
mov dword [edx], ebx
add dword [ebp - 0x20], 0x7c7ae8ee
add edx, 4
add edi, 0x7f3b0998
add edi, 0x80c4f66c
loop 0x4029a8
add eax, 0xdc763293
sub eax, 0xdc755f24
mov ebx, eax
add eax, 0x402dbcc2
sub eax, 0x402dbcbd
mov ecx, 0x522da16a
add ecx, 0xae125e96
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x1001224e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1001225d
pop dword [ebp - 0xc]
mov eax, 0x1001225d
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x4332e395
add dword [ebp - 0x1c], 0xb1f61b6
mov dword [ebp - 0x18], 0x3b068f98
sub dword [ebp - 0x18], 0x8d34353
mov dword [ebp - 0x14], 0xdfd378f6
add dword [ebp - 0x14], 0x6c78cb38
mov dword [ebp - 0x10], 0x27916400
add dword [ebp - 0x10], 0xd86e9c00
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x97253b42
sub eax, 0x8723eaaa
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xb5ec5016
add dword [ebp - 0x1c], 0xbe861940
mov dword [ebp - 0x18], 0x2d335b62
add dword [ebp - 0x18], 0x14390613
mov dword [ebp - 0x14], 0x28340703
sub dword [ebp - 0x14], 0xc4c49a97
mov dword [ebp - 0x10], 0x77c97db7
add dword [ebp - 0x10], 0x88368249
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x4ad7b3ad
add eax, 0xc5299cef
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3b41a
push 0
call eax
mov ecx, 0x52b8
xor edx, edx
add edx, eax
mov ebx, 0x11e1ca46
sub ebx, 0x1ddae46
add ebx, dword [ebp - 0xc]
mov edi, 0x72eafabc
sub dword [ebp - 8], ebx
mov esi, dword [ebx]
sub dword [ebp - 8], eax
add esi, edi
xor dword [ebp - 4], 0x8826e2f0
mov dword [edx], esi
xor dword [ebp - 4], edx
add edx, 0x12cbc4bf
add edx, 0xed343b45
add ebx, 0x3d60e155
sub ebx, 0x3d60e151
loop 0x10012370
add eax, 0x13db3
mov ebx, eax
add eax, 0xc35c9d4b
add eax, 0x3ca362ba
mov ecx, 0x10000000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x431330
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2c000]
push edi
jmp 0x43134a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x431351
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x431340
mov eax, 1
add ebx, ebx
jne 0x431363
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x431358
jne 0x431374
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x431358
xor ecx, ecx
sub eax, 3
jb 0x431388
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4313fa
mov ebp, eax
add ebx, ebx
jne 0x431393
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4313a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4313c4
inc ecx
add ebx, ebx
jne 0x4313b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4313a5
jne 0x4313c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4313a5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4313e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4313d5
jmp 0x431346
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4313e4
add edi, ecx
jmp 0x431346
pop esi
mov edi, esi
mov ecx, 0x23e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x431402
cmp byte [edi], 1
jne 0x431402
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 0x431407
lea edi, [esi + 0x2f000]
mov eax, dword [edi]
or eax, eax
je 0x43147f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3370c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x337d8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x431434
mov ecx, edi
jns 0x431463
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 + 0x337e0]
or eax, eax
je 0x431479
mov dword [ebx], eax
add ebx, 4
jmp 0x431451
call dword [esi + 0x337dc]
mov ebp, dword [esi + 0x337e4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x4314b3
sub esp, 0xffffff80
jmp 0x40312e
Function at 0x402b60
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0xad9064]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x402ba9
push str.SetDefaultDllDirectories
push 0xa94750
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402ba9
push 0xc00
call eax
test eax, eax
jne 0x402c47
push 0x106
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x402c47
cmp eax, 0x104
ja 0x402c47
cmp word [ebp + eax*2 - 0x2d6], 0x5c
je 0x402be7
mov ecx, 0x5c
mov word [ebp + eax*2 - 0x2d4], cx
inc eax
cmp byte [str.userenv], 0
push esi
mov esi, str.userenv
je 0x402c46
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
lea edi, [ebp - 0x2d4]
lea edi, [edi + eax*2]
mov al, byte [esi]
mov ecx, edi
inc esi
test al, al
je 0x402c20
movzx eax, al
mov word [ecx], ax
add ecx, 2
mov al, byte [esi]
inc esi
test al, al
jne 0x402c10
xor eax, eax
mov dword [ecx], 0x64002e
push 8
push eax
mov word [ecx + 8], ax
lea eax, [ebp - 0x2d4]
push eax
mov dword [ecx + 4], 0x6c006c
call ebx
cmp byte [esi], 0
jne 0x402c07
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009fd684
mov esp, ebp
pop ebp
ret