joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42159e
Capabilities:
Persist via run registry key

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x4d6080]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x20
mov eax, 0x4a1545
call fcn.004646e0
xor ebx, ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
mov edi, 0x2001f
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionInstallerRunOnceEntries
mov esi, 0x80000002
push esi
lea ecx, [ebp - 0x28]
call fcn.004014e0
test eax, eax
je 0x421620
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401490
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.004646d1
add ebp, 0x414
leave
ret 4
xor eax, eax
push 0x40e
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
mov dword [ebp - 0x18], ebx
call fcn.00465a70
add esp, 0xc
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 0x1c], 0x208
push ebx
jmp 0x4216cc
inc dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 1
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push esi
lea ecx, [ebp - 0x14]
call fcn.004014e0
test eax, eax
jne 0x421688
mov ecx, dword [ebp - 0x20]
lea eax, [ebp]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042111d
test eax, eax
jne 0x4216e2
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnceEx
push esi
lea ecx, [ebp - 0x14]
call fcn.004014e0
test eax, eax
jne 0x4216af
mov ecx, dword [ebp - 0x20]
lea eax, [ebp]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042111d
test eax, eax
jne 0x4216e2
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00401490
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x28]
call dword [0x4ac038]
test eax, eax
je 0x421654
jmp 0x4215ed
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00401490
xor ebx, ebx
inc ebx
jmp 0x4215ed
Function at 0x432c9d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x432cd4
mov edx, dword [ecx + 0xd8]
mov ecx, dword [ebp + 8]
push esi
movzx eax, byte [ecx]
xor eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x10]
dec dword [ebp + 0xc]
and eax, 0xff
mov eax, dword [edx + eax*4]
shr esi, 8
xor esi, eax
inc ecx
cmp dword [ebp + 0xc], 0
mov dword [ebp + 0x10], esi
jne 0x432cb0
pop esi
mov eax, dword [ebp + 0x10]
pop ebp
ret 0xc
Function at 0x440420
Capabilities:
Parse pe header

Disassembly:
push 0x38
mov eax, 0x4a7012
call fcn.004646e0
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 2
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
call dword [0x4ac340]
push eax
lea ecx, [ebp - 0x18]
call fcn.004174d9
cmp dword [ebp - 0x18], 0xffffffff
jne 0x44049d
call dword [0x4ac35c]
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0043fe7e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.00402da0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402da0
mov eax, esi
call fcn.004647b8
ret
push ebx
push ebx
push ebx
push 2
push ebx
push dword [ebp - 0x18]
call dword [0x4ac348]
push eax
lea ecx, [ebp - 0x10]
call fcn.004174d9
cmp dword [ebp - 0x10], ebx
je 0x44046a
lea eax, [ebp - 0x44]
push eax
call dword [0x4ac15c]
mov eax, dword [ebp - 0x40]
push eax
push ebx
push ebx
push 4
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
call dword [0x4ac34c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00440276
mov edi, dword [ebp - 0x14]
cmp edi, ebx
je 0x44046a
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x44056e
mov esi, dword [edi + 0x3c]
push 0xf8
add esi, edi
push esi
call dword [0x4ac1a4]
test eax, eax
jne 0x440564
cmp dword [esi], 0x4550
jne 0x440564
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], eax
jae 0x440571
push edi
call dword [0x4ac350]
push dword [ebp - 0x20]
push ebx
push ebx
push 4
push dword [ebp - 0x10]
call dword [0x4ac34c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00440276
mov edi, dword [ebp - 0x14]
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x440564
mov esi, dword [edi + 0x3c]
push 0xf8
add esi, edi
push esi
call dword [0x4ac1a4]
test eax, eax
jne 0x440564
cmp dword [esi], 0x4550
je 0x440571
mov esi, 0xc1
jmp 0x440472
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x44057d
mov dword [eax], edi
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x44058c
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x44059b
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x4405a4
mov dword [eax], esi
xor esi, esi
jmp 0x440472
Function at 0x414e60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x414e7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414e81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414e70
mov eax, 1
add ebx, ebx
jne 0x414e93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414e88
jne 0x414ea4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414e88
xor ecx, ecx
sub eax, 3
jb 0x414eb8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414f2a
mov ebp, eax
add ebx, ebx
jne 0x414ec3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414ed0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414ef4
inc ecx
add ebx, ebx
jne 0x414ee0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414ed5
jne 0x414ef1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414ed5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414f14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414f05
jmp 0x414e76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414f14
add edi, ecx
jmp 0x414e76
pop esi
mov edi, esi
mov ecx, 0x5a7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414f32
cmp byte [edi], 5
jne 0x414f32
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 0x414f37
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x414fa6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x15454]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1551c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414f64
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15520]
or eax, eax
je 0x414fa0
mov dword [ebx], eax
add ebx, 4
jmp 0x414f81
call dword [esi + 0x15530]
mov ebp, dword [esi + 0x15524]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x414fda
sub esp, 0xffffff80
jmp 0x40a764

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 0x401000
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
jne 0x4011cd
push 3
pop esi
push esi
call fcn.00401730
test eax, eax
pop ecx
je 0x40102d
cmp esi, 0x1a
jg 0x40102d
inc esi
jmp 0x40101a
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x14c]
push 0x105
push eax
mov dword [0x407c28], ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x14c]
push 0x4050b0
push eax
push 0x407c40
call fcn.004016d5
lea eax, [ebp - 0x14c]
push 0x4050a0
mov esi, 0x407b20
push eax
push esi
call fcn.004016d5
lea eax, [ebp - 0x14c]
push 0x405090
push eax
push 0x407d60
call fcn.004016d5
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push 0x40507c
call esi
push 0x405064
mov dword [0x407710], eax
call esi
push 0x40504c
mov dword [0x407708], eax
call esi
mov dword [ebp - 0x18], ebx
mov ebx, 0x405028
push ebx
mov dword [0x40770c], eax
push dword [ebp + 8]
mov dword [ebp - 0x28], 3
mov dword [ebp - 0x24], sym._DELIS.EXE_WndProc
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0xc], 6
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
je 0x4011cd
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push dword [ebp + 8]
push edi
push edi
push 1
call esi
cdq
sub eax, edx
sar eax, 1
push eax
push edi
call esi
lea eax, [eax + eax*2]
push 4
cdq
pop ecx
idiv ecx
push eax
push 1
call esi
push 4
cdq
pop ecx
idiv ecx
push eax
push edi
call esi
push 8
cdq
pop ecx
idiv ecx
push eax
push 0x80c00000
push 0x405034
push ebx
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, edi
je 0x4011cd
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
mov dword [0x407d48], eax
push edi
push edi
lea eax, [ebp - 0x44]
push edi
push eax
call esi
test eax, eax
je 0x401197
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
push edi
lea eax, [ebp - 0x44]
push edi
push eax
jmp 0x401174
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x407b20
call esi
push 0x407c40
call esi
push 0x407d60
call esi
push edi
push edi
push dword [0x407710]
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x4011d6
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
mov eax, ecx
push esi
dec eax
push edi
je 0x4012f8
sub eax, 0x10
je 0x4012f3
sub eax, 5
je 0x4012b2
sub eax, 0xfd
je 0x401289
cmp ecx, dword [0x407708]
jne 0x40122a
mov eax, dword [ebp + 0x10]
mov dword [0x405020], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x15f90
mov dword [0x407700], eax
jmp 0x401319
cmp ecx, dword [0x40770c]
jne 0x401274
cmp dword [ebp + 0x14], 0xa4d23f78
jne 0x401274
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401319
xor esi, esi
cmp dword [0x4076fc], esi
jne 0x401319
push 0x832fbc3
push esi
push dword [0x40770c]
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401319
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DefWindowProcA]
jmp 0x40131b
xor esi, esi
cmp dword [0x407704], esi
jne 0x401319
push dword [ebp + 8]
mov dword [0x407704], 1
call fcn.00401322
pop ecx
mov dword [0x407704], esi
jmp 0x401319
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x401319
push 1
mov edi, 0x407c40
pop ebx
push edi
call fcn.0040169e
test eax, eax
je 0x4012da
push esi
call fcn.004013e9
and ebx, eax
inc esi
cmp esi, 0x14
pop ecx
jl 0x4012cb
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x407b20
call esi
push edi
call esi
push 0x407d60
call esi
jmp 0x401319
push 1
pop eax
jmp 0x40131b
xor esi, esi
push esi
push 0xbb8
push 0x578
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
jne 0x401319
push esi
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x401322
Capabilities:
Delete file

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push edi
push 0x8001
call esi
push 0x4050c0
call fcn.0040169e
test eax, eax
je 0x401351
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 1
pop eax
jmp 0x4013e4
xor ebx, ebx
push ebx
call esi
cmp dword [0x405020], ebx
push 1
pop esi
jne 0x401375
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [0x407700]
jbe 0x401349
mov dword [0x405020], esi
push 0x407c40
call fcn.0040169e
test eax, eax
push ebx
jne 0x401392
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov dword [0x4076fc], esi
jmp 0x4013e2
push 0x80
push 2
push ebx
push esi
mov edi, 0x407b20
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
mov dword [0x4076f0], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, esi
push ebx
call fcn.004013e9
and ebp, eax
inc ebx
cmp ebx, 0x14
pop ecx
jl 0x4013ba
test ebp, ebp
je 0x4013db
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov dword [0x4076fc], esi
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4013e9
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
lea eax, [ebp - 0x108]
push dword [ebp + 8]
push 0x4050f8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ebx, 0x407c40
mov esi, 0x407e80
mov edi, 0x4050e4
push ebx
push 0x105
push esi
push edi
lea eax, [ebp - 0x108]
push 0x4050dc
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x401447
push 1
pop eax
jmp 0x4014a2
mov edi, 0xea
push ebx
push edi
lea eax, [ebp - 0x108]
push 0x4050d0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, edi
mov dword [0x407718], eax
jne 0x401473
mov dword [0x407718], 6
push esi
call fcn.0040169e
test eax, eax
je 0x40148f
push dword [0x407718]
push esi
call fcn.0040161e
pop ecx
test eax, eax
pop ecx
jne 0x4014a0
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.004014a7
pop ecx
pop ecx
jmp 0x4014a2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4014a7
Capabilities:
Delete file
Read .ini file

Disassembly:
sub esp, 0x218
push ebx
push ebp
push esi
push edi
push 0x8000
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push dword [esp + 0x230]
call fcn.0040169e
test eax, eax
mov edi, 0x407c40
je 0x40150b
push dword [esp + 0x230]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
neg eax
dec eax
cmp eax, 0xffffffff
je 0x40161a
push edi
push 0
push 0x4050dc
push dword [esp + 0x238]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
and dword [esp + 0x10], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov esi, 0x4050e4
push dword [esp + 0x10]
lea eax, [esp + 0x124]
push 0x405104
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x18]
push edi
push 0x105
push eax
lea eax, [esp + 0x12c]
push esi
push eax
push dword [esp + 0x240]
call ebx
lea eax, [esp + 0x18]
push esi
push eax
call ebp
test eax, eax
je 0x4015a8
lea eax, [esp + 0x18]
push eax
call fcn.0040169e
test eax, eax
je 0x4015a8
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
neg eax
dec eax
cmp eax, 0xffffffff
je 0x4015a3
push edi
lea eax, [esp + 0x124]
push 0
push eax
push dword [esp + 0x238]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x4015a8
and dword [esp + 0x14], 0
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 5
jl 0x401521
push 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [esp + 0x14], 0
je 0x40160b
push edi
lea eax, [esp + 0x1c]
push 0x105
push eax
push esi
push 0x405100
push dword [esp + 0x240]
call ebx
lea eax, [esp + 0x18]
push esi
push eax
call ebp
test eax, eax
je 0x40160b
lea eax, [esp + 0x18]
push eax
call fcn.00401790
test eax, eax
pop ecx
jne 0x40160b
push edi
push eax
push eax
push dword [esp + 0x238]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret
xor eax, eax
jmp 0x40160f
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 0x4150f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x7000]
push edi
or ebp, 0xffffffff
jmp 0x415112
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x415119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x415108
mov eax, 1
add ebx, ebx
jne 0x41512b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x415120
jne 0x41513c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415120
xor ecx, ecx
sub eax, 3
jb 0x415150
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4151c2
mov ebp, eax
add ebx, ebx
jne 0x41515b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x415168
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41518c
inc ecx
add ebx, ebx
jne 0x415178
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41516d
jne 0x415189
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41516d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4151ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41519d
jmp 0x41510e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4151ac
add edi, ecx
jmp 0x41510e
pop esi
mov edi, esi
mov ecx, 0xa1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4151ca
cmp byte [edi], 5
jne 0x4151ca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x4151cf
lea edi, [esi + 0x13000]
mov eax, dword [edi]
or eax, eax
je 0x415247
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x159fc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x15a88]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4151fc
mov ecx, edi
jns 0x41522b
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 + 0x15a8c]
or eax, eax
je 0x415241
mov dword [ebx], eax
add ebx, 4
jmp 0x415219
call dword [esi + 0x15a90]
popal
jmp 0x4021d0
Function at 0x406de0
Capabilities:
Hide graphical window

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

Function at 0x401222
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 0x84, 0
sub ebp, 0x82
mov esi, eax
mov cl, byte [0x404050]
mov edx, eax
mov ebx, eax
shl edx, cl
mov eax, 0x404054
add edx, dword [0x404050]
call fcn.00401163
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, esi
or al, 0x40
mov edi, 0x4032ed
push eax
sub edi, fcn.00402a87
push edi
push fcn.00402a87
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x401299
mov eax, fcn.00402a87
mov ebx, esi
mov edx, edi
call fcn.00401163
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.00401932
lea edx, [ebp - 2]
mov eax, esi
mov dword [ebp - 2], 0
call fcn.00402461
lea eax, [esi + 0x1c000]
lea edi, [esi + 1]
imul edi, eax
mov ebx, 0x404054
or bl, 1
xor edx, edx
mov eax, esi
div ebx
lea ebx, [ebp - 2]
add eax, 0x404054
mov edx, edi
call fcn.00402a87
lea esp, [ebp + 0x82]
pop ebp

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x10012a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
or dword [ebp - 4], 0xffffffff
push esi
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x10010f8
push 0x80000002
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
neg esi
sbb esi, esi
neg esi
jne 0x10012fa
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push 0
push 0x10010ec
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
neg esi
sbb esi, esi
neg esi
cmp dword [ebp - 4], 0xffffffff
je 0x1001309
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
leave
ret 4

Function at 0x1001310
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
or dword [ebp - 4], 0xffffffff
push esi
push edi
push 0x10
pop ecx
mov esi, 0x1001150
lea edi, [ebp - 0x110]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x110]
mov dword [ebp - 8], 0x104
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100133f
mov eax, 0x100114c
mov esi, eax
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x110]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001357
mov esi, 0x100119c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x110]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001370
mov esi, eax
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x110]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001383
lea eax, [ebp - 4]
push eax
push 0xf003f
mov esi, 0x1001194
push 0
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x110]
push eax
push 0x80000002
movsd dword es:[edi], dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
neg esi
sbb esi, esi
neg esi
jne 0x10013dc
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push 0
push 0x10010ec
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
neg esi
sbb esi, esi
neg esi
cmp dword [ebp - 4], 0xffffffff
je 0x10013eb
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
leave
ret 4