joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c3f54
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x5c3fce
mov eax, dword [ebx + 8]
call fcn.0052033c
mov ecx, eax
mov dl, 1
mov eax, dword [0x52c8b8]
call fcn.0051a664
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.00531068
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2b8], 0x5c384c
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0052033c
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0052033c
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5c4044
mov eax, dword [ebx + 8]
call fcn.0052033c
mov ecx, eax
mov dl, 1
mov eax, dword [0x52c8b8]
call fcn.0051a664
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.00531068
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2b8], 0x5c3898
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0052033c
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0052033c
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x5c40b0
mov eax, dword [ebx + 8]
call fcn.0052033c
mov ecx, eax
mov dl, 1
mov eax, dword [0x52d338]
call fcn.0051a664
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x290], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.0052033c
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.0052033c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x5c7588
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ebx, edx
test ebx, ebx
js 0x5c75a6
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x5c759f
mov eax, esp
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5c763a
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [ebp - 0xc]
inc ebx
mov edx, ebx
lea eax, [ebp - 4]
xor ecx, ecx
call fcn.00409ee8
mov edi, ebx
dec edi
test edi, edi
jl 0x5c7619
inc edi
xor esi, esi
mov ebx, dword [ebp - 8]
lea eax, [esi + 1]
push eax
mov eax, 0xff
pop edx
mov ecx, edx
cdq
idiv ecx
movzx edx, byte [ebx]
xor al, dl
mov edx, esi
inc edx
lea edx, [edx + edx*2]
movzx ecx, byte [ebp - 0xc]
inc ecx
lea ecx, [ecx + ecx*4]
add dl, cl
xor al, dl
mov byte [ebp - 0x11], al
lea eax, [ebp - 4]
call fcn.00409c0c
movzx edx, byte [ebp - 0x11]
mov byte [eax + esi], dl
inc esi
inc ebx
dec edi
jne 0x5c75dc
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.0040a28c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c7641
lea eax, [ebp - 4]
call fcn.004096a8
ret

Function at 0x5c7b90
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
test eax, 0x4000000
je 0x5c7ba5
or edx, 0x200
test eax, 0x20000000
je 0x5c7bd8
test eax, 0x40000000
je 0x5c7bc4
test eax, 0x80000000
je 0x5c7bbf
or edx, 0x40
jmp 0x5c7bff
or edx, 0x20
jmp 0x5c7bff
test eax, 0x80000000
je 0x5c7bd3
or edx, 0x80
jmp 0x5c7bff
or edx, 0x10
jmp 0x5c7bff
test eax, 0x40000000
je 0x5c7bf0
test eax, 0x80000000
je 0x5c7beb
or edx, 4
jmp 0x5c7bff
or edx, 2
jmp 0x5c7bff
test eax, 0x80000000
je 0x5c7bfc
or edx, 8
jmp 0x5c7bff
or edx, 1
mov eax, edx
pop ebp
ret 4
Function at 0x5c81bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov word [ebp - 2], cx
mov esi, edx
mov ecx, eax
mov ebx, dword [ebp + 8]
cmp esi, 8
jbe 0x5c81ea
mov eax, ecx
add eax, esi
sub eax, 8
cmp dword [eax + 4], 0xff0011ff
jne 0x5c81e8
cmp dword [eax], 0x55112200
je 0x5c81ee
xor eax, eax
jmp 0x5c81f0
mov al, 1
mov byte [ebp - 3], al
cmp byte [ebp - 3], 0
je 0x5c8258
mov edx, ecx
mov eax, ecx
sub esi, 8
xor bx, 0xd39
mov ecx, dword [0x5d5e2c]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x188]
lea ecx, [ecx + ecx*2]
xor cx, word [ebp + 0xc]
mov word [ebp + 0xc], cx
add word [ebp + 0xc], 0x4e6
xor bx, 0xd39
add bx, 0x2157
sub word [ebp - 2], 0x7a6
test esi, esi
jbe 0x5c8258
movzx ecx, bx
shr ecx, 8
xor cl, byte [edx]
mov byte [eax], cl
add bl, byte [eax]
movzx ecx, bl
imul cx, word [ebp - 2]
add cx, word [ebp + 0xc]
mov ebx, ecx
inc edx
inc eax
dec esi
jne 0x5c8239
movzx eax, byte [ebp - 3]
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x5c8264
Capabilities:
Get file size

Disassembly:
push ebx
add esp, 0xfffffff8
mov edx, 0x20
call fcn.00423294
mov ebx, eax
push 0
push ebx
call sub.kernel32.dll_GetFileSize
xor edx, edx
mov dword [esp], eax
mov dword [esp + 4], edx
push ebx
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [esp]
mov edx, dword [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x5c8320
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov byte [ebp - 9], 0
xor edx, edx
push ebp
push 0x5c83d1
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [eax], 0xe9
jne 0x5c8353
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5c83e6
mov ebx, eax
mov eax, dword [ebp - 4]
mov edi, ebx
sub eax, edi
sub eax, 5
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x40
mov edx, 5
mov eax, ebx
call fcn.005c76b0
push 0x40
push 0x3000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov dword [esi], edi
mov edx, esi
add edx, 5
mov cl, 5
mov eax, ebx
call fcn.005c82ec
mov edx, esi
add edx, 4
mov byte [edx], al
mov byte [ebx], 0xe9
inc edi
mov eax, dword [ebp - 0x10]
mov dword [edi], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, 5
mov eax, ebx
call fcn.005c76b0
add esi, 5
mov eax, dword [ebp - 8]
mov dword [eax], esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5c83e2
mov byte [ebp - 9], 1
movzx eax, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40113f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x4010cf
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push dword [0x403110]
pop dword [ebp - 0x1c]
mov dword [ebp - 0x10], 6
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], str.LastWinGL
push 0x3f
call sub.user32.dll_GetSystemMetrics
cmp eax, 3
jne 0x4011af
push 0x400000
push eax
add eax, 0x1d
and eax, eax
nop
nop
jne 0x401198
add eax, 0x66
pop eax
nop
xor eax, eax
push 0
call fcn.0040143f
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x14], eax
push 0x258
push dword [ebp + 8]
call sub.user32.dll_LoadMenuA
push eax
push dword [ebp - 0x50]
call sub.user32.dll_SetMenu
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassExA
push 0
push dword [ebp + 8]
push dword [ebp - 0x54]
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.MyApp
push str.LastWinGL
push 0
call sub.user32.dll_CreateWindowExA
mov dword [ebp - 0x50], eax
push dword [ebp + 0x14]
push dword [ebp - 0x50]
call sub.user32.dll_ShowWindow
push dword [ebp - 0x50]
call sub.user32.dll_UpdateWindow
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_GetMessageA
or eax, eax
je 0x401260
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_DispatchMessageA
jmp 0x401239
mov eax, dword [ebp - 0x44]
leave
ret 0x10
Function at 0x40129b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pushal
mov eax, dword [ebp + 0x14]
add eax, dword [eax + 0x3c]
add eax, 0x14
add eax, 4
mov eax, dword [eax + 0x18]
add eax, str.GetLastError
sub eax, 0x2000
add eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
add eax, dword [eax + 0x3c]
add eax, 0x14
add eax, 4
mov eax, dword [eax + 0x18]
add eax, 0x40301b
sub eax, 0x2000
add eax, dword [ebp + 0x10]
push dword [eax]
mov eax, dword [ebp + 0x14]
add eax, dword [eax + 0x3c]
add eax, 0x14
add eax, 4
mov eax, dword [eax + 0x18]
add eax, 0x4030dc
sub eax, 0x2000
add eax, dword [ebp + 0x10]
call dword [eax]
push eax
mov eax, dword [ebp + 0x14]
add eax, dword [eax + 0x3c]
add eax, 0x14
add eax, 4
mov eax, dword [eax + 0x18]
add eax, 0x403023
sub eax, 0x2000
add eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
add eax, dword [eax + 0x3c]
add eax, 0x14
add eax, 4
mov eax, dword [eax + 0x18]
add eax, 0x40301b
sub eax, 0x2000
add eax, dword [ebp + 0x10]
push dword [eax]
mov eax, dword [ebp + 0x14]
add eax, dword [eax + 0x3c]
add eax, 0x14
add eax, 4
mov eax, dword [eax + 0x18]
add eax, 0x4030dc
sub eax, 0x2000
add eax, dword [ebp + 0x10]
call dword [eax]
pop eax
call eax
or eax, eax
jne 0x40135c
push eax
jmp 0x40136a
cmp eax, 0x7f
jne 0x401368
push 0x100
jmp 0x40136a
push 1
mov esi, dword [ebp + 8]
mov ebx, 0xa
mov ecx, dword [ebp + 0xc]
shr ecx, 2
xor edx, edx
mov eax, dword [ebp + 0xc]
shr eax, 2
sub eax, ecx
push eax
div ebx
inc edx
inc edx
sub dword [esi], edx
xor edx, edx
pop eax
div ebx
add edx, dword [esp]
push edx
add dword [esp], 0x259d23e6
pop edx
xor dword [esi], edx
add esi, 4
loop 0x401378
pop eax
popal
leave
ret 0x10
Function at 0x40143f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Extract resource via kernel32 functions
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov esi, dword [esp + 0x90]
and esi, 0xffff0000
mov eax, esi
cmp word [eax], 0x5a4d
jne 0x40145e
add eax, dword [eax + 0x3c]
sub esi, 0x10000
cmp word [eax], 0x4550
jne 0x401452
add esi, 0x10000
push esi
mov eax, 0x40301b
pop dword [eax]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004013a7
mov dword [0x4030dc], eax
push 0x403023
push 0x3e8
push 0
call sub.kernel32.dll_FindResourceA
or eax, eax
jne 0x4014a2
leave
ret 8
push eax
push eax
push 0
call sub.kernel32.dll_SizeofResource
or eax, eax
jne 0x4014b3
leave
ret 8
mov dword [ebp - 8], eax
pop eax
push eax
push 0
call sub.kernel32.dll_LoadResource
or eax, eax
jne 0x4014c7
leave
ret 8
push eax
call sub.kernel32.dll_LockResource
or eax, eax
jne 0x4014d5
leave
ret 8
mov dword [ebp - 0xc], eax
push 4
push 0x3000
push dword [ebp - 8]
push 0
call sub.kernel32.dll_VirtualAlloc
or eax, eax
jne 0x4014f1
leave
ret 8
push eax
mov esi, dword [ebp - 0xc]
mov edi, eax
mov ecx, dword [ebp - 8]
rep movsb byte es:[edi], byte [esi]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 8]
push dword [esp + 0xc]
call fcn.0040129b
mov ebx, dword [esp]
add ebx, dword [ebx + 0x3c]
lea eax, [ebx + 0x18]
mov ebx, dword [eax + 0x38]
pop eax
push ebx
push 0x8000
push 0
push eax
call sub.kernel32.dll_VirtualFree
mov ebx, dword [ebp + 0xc]
add ebx, dword [ebx + 0x3c]
lea eax, [ebx + 0x18]
mov ebx, dword [eax + 0x38]
mov dword [ebp - 4], ebx
mov ebx, dword [esp]
add ebx, dword [ebp + 0xc]
and ebx, 0xffff0000
add ebx, 0x10000
push 0x40
push 0x3000
push dword [ebp - 4]
push ebx
call sub.kernel32.dll_VirtualAlloc
or eax, eax
je 0x401544
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
push eax
sub eax, dword [ebp + 0xc]
add dword [ebp + 8], eax
mov ebx, 0x4015ba
add ebx, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
mov ebx, 0x401c56
add ebx, dword [ebp + 8]
sub ebx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
lea ebx, [ebp - 0x14]
push ebx
push 0x401037
push dword [ebp + 0xc]
call fcn.00401267
pop eax
pop ebx
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
mov eax, dword [ebp + 8]
add dword [ebp - 0xc], eax
push dword [ebp - 0xc]
mov eax, 0x401825
add eax, dword [ebp + 8]
call eax
leave
ret 8
Function at 0x41f573
Capabilities:
Parse pe header

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

Function at 0x431790
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x6cc75fd6
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0xe19394e
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x405600
Capabilities:
Encode data using xor

Disassembly:
nop
nop
nop
inc eax
nop
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x57]
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x8c25d28], edx
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp
push ebp
mov ebp, esp
push esi
lds esi, [ebp + 8]
test esi, esi
in eax, dx
xor byte [ebx - 0x3f7aeb91], cl
je 0x4055eb
mov ecx, dword [eax]
mov esp, esi
adc al, 0xeb
int1
push 0x10
push esi
call 0x8db60
mov edx, dword [ebp + 0xa]
mov ecx, dword [ebp + 0x10]
mov dword [edx + 4], ebx
mov eax, dword [esi + 0x8ac8914]
mov eax, ebx
sub esi, dword [esi + ecx*2 + 0x10]
mov esp, esp
mov dword [esi + 0x10], eax
pop esi
pop ebp
xchg dword [eax], edx
add byte [ebp - 0x49], dl
rol ecx, cl
push ebp
std
push ebx
push esi
push 0x5f74d285
mov eax, dword [edx + 0x10]
mov esi, dword [ebp - 0x6a]
mov edi, dword [ebp + 0xc]
lea ecx, [edx + 0x10]
test eax, eax
je 0x40567d
cmp dword [eax + 4], edi
add eax, 0x74087039
or cl, byte [ebx - 0x7a999838]
sal byte [ebp + 5], 0xeb
fimul dword [ebx - 0x74ce76e8]
or dl, byte [ecx + ecx*4]
jb 0x405604
inc edx
adc al, 0x8b
inc edx
cmp byte [ebp + 0x5485384a], cl
je 0x4056ac
mov eax, dword [edx + 0x38]
lea ecx, [edx + 0x38]
test dword [esp + esi*2 + 0x25], edx
loope 0x4056d7
add al, 0x75
add eax, 0x74087039
jnp 0x8540e25e
sal byte [ebp - 0x62], 0x5f
cmp bl, byte [ebx + 0x5d]
ret 0xd65c
pop edi
cmp al, 0x5b
pop ebp
mov word [eax + eax], cs
iretd

Function at 0x40a3d0
Capabilities:
Terminate process

Disassembly:
add byte [eax - 0x1d], dl
cmp eax, 0xd202
cmp eax, 2
stosd dword es:[edi], eax
jecxz 0x40a301
dec ecx
or eax, 0x34730851
aad 0x8b
cdq
add al, 0
nop
nop
nop
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x40a370
mov ecx, dword [ebp + 6]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lcall 0x358b, 0x561e759a
cwde
ror byte [edi + ebx - 1], 0xd6
test ecx, edx
xchg ebp, eax
add eax, 0x8c2675e
add bh, bh
salc
je 0x40a382
cld
or al, byte [eax]
les edi, [edi + 0x330008c2]
rcl byte [esi], 0x24
or byte [eax], al
wait
cmp ecx, dword [esi]
add byte [ebp - 0x3e], bl
or byte [eax], al
nop
nop
nop
nop
nop
nop
sbb bl, al
nop
nop
js 0x40a3b5
nop
nop
mov dword [eax - 0x6f0a6f70], edx
aas
xchg ebx, eax
cmp dl, byte [ebp - 0x75]
in al, dx
sub dword [esi + 0x4b4108dc], 0x14
shl dword [ebx], 0x68
sub byte [edi], al
int1
add bh, bh
adc eax, sym.imp.KERNEL32.dll_InitializeCriticalSection
mov esi, 0x20680845
push edi
adc dword [eax], eax
push 0x40a470
push esp
sub byte [edi], al
invalid
Function at 0x401020
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_narrow_argv
call sym.__initialize_narrow_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___argv
mov edi, dword [eax]
call sym.__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call dbg.main
mov dword [esp], eax
call sym._exit
nop
nop
nop
Function at 0x417ed0
Capabilities:
Check os version

Disassembly:
sub esp, 8
mov eax, dword [0x5fe030]
mov dword [esp + 4], 0
lea ecx, [eax + eax]
mov eax, dword [0x5fe034]
or ecx, eax
mov dword [esp], ecx
fild qword [esp]
fadd qword [0x5fe058]
fstp qword [0x5fe058]
call fcn.00417e10
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
xor edx, edx
and ecx, 0xff
mov dl, ah
cmp ecx, 5
mov eax, edx
jne 0x417f2f
cmp eax, 1
jae 0x417f3f
mov dword [0x600fc8], 0x409
add esp, 8
ret
ja 0x417f3f
mov dword [0x600fc8], 0x409
add esp, 8
ret
mov dword [0x600fc8], 0x7f
add esp, 8
ret

Function at 0x4729d8
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffe0
salc
invalid
in eax, 0xe2
xor byte [eax], ah
xchg edx, eax
ret
push ebp
out dx, eax
mov esi, 0xc82846e
adc byte [esi*8 + 0x40f24d34], ah
sqrtps xmm3, xmmword [ecx]
jno 0x4729b2
add byte [eax], dl
push ebp
adc al, 0xdc
mov dh, 0x27
pop ebp
sbb al, 0xa0
push cs
test bh, cl
dec edx
push esi
pop eax
or edx, esp
ror byte [edx + ebx*2 - 0x3b], cl
cdq
inc ebx
dec edi
push eax
push ecx
jae 0x4729ad
fyl2x
push eax
lahf
adc ch, dl
jb 0x4729a6
sub byte [eax + 9], dl
sub eax, 0xe21e222e
fdivr qword [0x38bc5ec1]
out dx, eax
loope 0x472a50
push cs
cmp byte [ebp - 0x20c0c174], al
pop ds
invalid
ffree st(6)
invalid
or al, 0x84
pop ebx
adc dl, byte [ebx]
jbe 0x472a58
leave
sbb bl, byte [edx - 0x13]
mov ebx, esi
clc
push 0x864e
or dh, bh
dec edx
and al, dh
in al, 0x9e
pop ebp
pop edx
dec ebx
xor byte [esi + 0x339d21b], 0xbb
dec edx
jbe 0x472a58
push esi
outsb dx, byte [esi]
sahf
cmp dword [edx + 0x73], 0x61
xor al, 0xb4
loope 0x472a2d
test dword [edx - 0x20], ebx
cmpsd dword [esi], dword es:[edi]
out dx, eax
inc eax
mov edi, 0x13944252
sub esp, 0x62
out dx, al
das
retf
Function at 0x5f5ae1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x5fe3a0
cmp edx, dword [eax]
je 0x5f5b03
add eax, 8
inc ecx
cmp eax, 0x5fe430
jl 0x5f5af4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x5fe3a0]
jne 0x5f5c31
mov eax, dword [0x605d38]
cmp eax, 1
je 0x5f5c0b
test eax, eax
jne 0x5f5b34
cmp dword [0x5fe2c8], 1
je 0x5f5c0b
cmp edx, 0xfc
je 0x5f5c31
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x5f5b6b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.005f64c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.005f6950
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x5f5bae
lea eax, [ebp - 0x1a4]
push eax
call fcn.005f6950
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x5fab74
push edi
call fcn.005f8820
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.005f64c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.005f64d0
lea eax, [ebp - 0xa0]
push 0x5fab54
push eax
call fcn.005f64d0
push dword [esi + 0x5fe3a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.005f64d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.005f8794
add esp, 0x2c
pop edi
jmp 0x5f5c31
lea eax, [ebp + 8]
lea esi, [esi + 0x5fe3a4]
push 0
push eax
push dword [esi]
call fcn.005f6950
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0xcbb72b9
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x4f9b6ed4
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x402a36
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42ec10]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402aca
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x402a87
cmp dword [ebp + 0x10], ebx
jne 0x402abe
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402a36
test eax, eax
jne 0x402a99
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402a6e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00405d2e
cmp eax, ebx
je 0x402ad1
push ebx
push dword [0x42ec10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402aca
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42ec10], ebx
jne 0x402ac7
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402ac7
jmp 0x402aca
Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc

Function at 0x433000
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
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6c084139
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x79486f03
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219