joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004660
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x4084cb
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
mov byte [0x4084cb], 0x5d
push eax
push dword [ebp - 4]
push 1
push 0x4084cb
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret

Function at 0x100046a0
Capabilities:
Create thread
Get graphical window text
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x1000b040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push str.vcdzzklF
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor edi, edi
push edi
push edi
push edi
push edi
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
je 0x10004770
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x100
lea eax, [ebp - 0x204]
push eax
push esi
call ebx
mov eax, str.vcdzzklF
lea ecx, [ebp - 0x204]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10004726
test dx, dx
je 0x10004722
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10004726
add ecx, 4
add eax, 4
test dx, dx
jne 0x10004700
xor ecx, ecx
jmp 0x1000472b
sbb ecx, ecx
or ecx, 1
push 0
push 0
test ecx, ecx
lea eax, [edi + 1]
push esi
cmovne eax, edi
push 0
mov edi, eax
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
jne 0x100046e4
pop ebx
cmp edi, 1
jle 0x10004770
push eax
push eax
push eax
push 0x10004640
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10004d37
mov esp, ebp
pop ebp
ret
Function at 0x100047f0
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x1000489d
push esi
call dword [sym.imp.KERNEL32.dll_AllocConsole]
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
push eax
mov dword [0x1000b538], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
push eax
push 0x100085e0
push str.CONOUT_
call esi
push 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push eax
push 0x100085ec
push str.CONIN_
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
add esp, 0x20
push 0
push 0
push 0
push 0x10004780
push 0
push 0
call esi
push 0
push 0
push 0
push 0x100044e0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x100047b0
push 0
push 0
call esi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.10004030
push 0x10003f40
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
pop esi
mov eax, 1
pop ebp
ret 0xc

Function at 0x100048e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
lea eax, [ebp - 4]
mov edi, ecx
push eax
push 0x40
push 1
push edi
mov bl, dl
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
mov byte [edi], bl
push eax
push dword [ebp - 4]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x524e7967
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x469d03f5
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x409c40
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x20
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0xe92a875b
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
sub eax, 0x87a20f60
je 0x409e55
jmp 0x409c7a
mov eax, dword [ebp - 0x20]
sub eax, 0xa0acf3bb
je 0x409d67
jmp 0x409c8d
mov eax, dword [ebp - 0x20]
sub eax, 0xe92a875b
je 0x409d17
jmp 0x409ca0
mov eax, dword [ebp - 0x20]
sub eax, 0xfb23091f
je 0x409e61
jmp 0x409cb3
mov eax, dword [ebp - 0x20]
sub eax, 0x1cc6d1
je 0x409e95
jmp 0x409cc6
mov eax, dword [ebp - 0x20]
sub eax, 0x7136908
je 0x409e73
jmp 0x409cd9
mov eax, dword [ebp - 0x20]
sub eax, 0x2c50f61c
je 0x409d4c
jmp 0x409cec
mov eax, dword [ebp - 0x20]
sub eax, 0x30e3ce5a
je 0x409e9c
jmp 0x409cff
mov eax, dword [ebp - 0x20]
sub eax, 0x49557eae
je 0x409dd2
jmp 0x409d12
jmp 0x409ea3
mov eax, dword [ebp - 0x18]
xor eax, 0xffffffff
mov edx, 0xffffffff
xor edx, 2
mov ecx, 0xffffffff
xor ecx, 0xba3c49df
or eax, edx
or ecx, 0xba3c49df
xor eax, 0xffffffff
and eax, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0x2c50f61c
jmp 0x409ea3
mov edx, dword [ebp - 0x14]
mov eax, 0x1cc6d1
mov ecx, 0xa0acf3bb
cmp edx, 0
cmove eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x409ea3
mov ecx, dword [0x43b55c]
mov eax, dword [0x43b558]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and bl, cl
mov ch, ah
and ch, 0
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0x30e3ce5a
mov ecx, 0x49557eae
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x409ea3
mov ecx, dword [ebp - 0x18]
mov eax, ecx
and eax, 2
xor ecx, 2
or eax, ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [0x43b55c]
mov eax, dword [0x43b558]
mov edx, ecx
add edx, 0xda52885b
sub edx, 1
sub edx, 0xda52885b
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0x30e3ce5a
mov ecx, 0x87a20f60
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x409ea3
mov dword [ebp - 0x1c], 0xfb23091f
jmp 0x409ea3
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x7136908
jmp 0x409ea3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
sub esp, 8
mov dword [ebp - 0x1c], 0x1cc6d1
jmp 0x409ea3
add esp, 0x20
pop esi
pop ebx
pop ebp
ret
mov dword [ebp - 0x1c], 0x49557eae
jmp 0x409c64
Function at 0x423b8b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x423bca
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x423bca
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x423bca
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x423bca
cmp dword [ecx + 0x74], 0xe
jbe 0x423bca
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x42b32b
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 0x42b3c8
push ebx
push esi
call fcn.0042b2f4
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.0042b288
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x42b375
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42b3c7
push edi
push eax
call fcn.00429dc0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x42b395
call fcn.00429e0e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42b3c6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042b288
add esp, 0x20
test eax, eax
jne 0x42b3b4
push edi
call fcn.00429e0e
jmp 0x42b3bc
push ebx
call fcn.00429e0e
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 0x42c5d7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x434ea0
push 0x434e98
push str.FlsAlloc
push 0x1f
call fcn.0042c496
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42c60b
push dword [ebp + 8]
mov ecx, esi
call dword [0x432144]
call esi
jmp 0x42c611
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x42c655
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x434eb0
push 0x434ea8
push str.FlsGetValue
push 0x21
call fcn.0042c496
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42c68c
push dword [ebp + 8]
mov ecx, esi
call dword [0x432144]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x42c694
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x434eb8
push 0x434eb0
push str.FlsSetValue
push 0x22
call fcn.0042c496
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42c6ce
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x432144]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4319a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4319cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4319cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4dfff0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x89000]
push edi
jmp 0x4e000a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e0011
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e0000
mov eax, 1
add ebx, ebx
jne 0x4e0023
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e0034
jne 0x4e0053
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e0053
dec eax
add ebx, ebx
jne 0x4e0040
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4e0018
add ebx, ebx
jne 0x4e004f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4e00a5
xor ecx, ecx
sub eax, 3
jb 0x4e006b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e00da
sar eax, 1
mov ebp, eax
jmp 0x4e0076
add ebx, ebx
jne 0x4e0076
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e0044
inc ecx
add ebx, ebx
jne 0x4e0084
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e0044
add ebx, ebx
jne 0x4e0091
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e0086
jne 0x4e00a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e0086
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e00c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e00b6
jmp 0x4e0006
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e00c4
add edi, ecx
jmp 0x4e0006
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e00e2
cmp byte [edi], 0x11
jne 0x4e00e2
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 0x4e00e7
lea edi, [esi + 0xd8000]
mov eax, dword [edi]
or eax, eax
je 0x4e015f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe653c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe66b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e0114
mov ecx, edi
jns 0x4e0143
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 + 0xe66bc]
or eax, eax
je 0x4e0159
mov dword [ebx], eax
add ebx, 4
jmp 0x4e0131
call dword [esi + 0xe66cc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4e0190
cmp al, 0xef
ja 0x4e0183
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4e0165
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4e0172
mov ebp, dword [esi + 0xe66c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4e01c4
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x10015c2
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 4]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100162b
push esi
lea eax, [ebp - 0xc]
push eax
push 0x10011c4
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1001621
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push esi
push esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
push 0x80010002
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
leave
ret
Function at 0x1004224
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x10014c8
call fcn.01004410
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x100425f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100425f
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1004277
cmp eax, 0x20b
je 0x1004264
mov dword [ebp - 0x1c], edi
jmp 0x100428b
cmp dword [ecx + 0x84], 0xe
jbe 0x100425f
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1004285
cmp dword [ecx + 0x74], 0xe
jbe 0x100425f
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1005164], 0xffffffff
or dword [0x1005168], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1005160]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100515c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100516c], eax
call fcn.0100440c
cmp dword [0x1005150], edi
jne 0x10042e6
push fcn.0100440c
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010043fa
push 0x100119c
push 0x1001198
call sub.msvcrt.dll__initterm
mov eax, dword [0x1005158]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1005154]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x30], eax
push 0x1001194
push 0x1001190
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x24]
mov ecx, dword [sym.imp.msvcrt.dll___winitenv]
mov dword [ecx], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01001dc2
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x1c], edi
jne 0x100435d
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1004392
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01004449
ret
Function at 0xb97d34
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00b97d34
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..pdata
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0xbeb76ef
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..pdata_1
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4449108f
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x43e1b1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
shl eax, 4
or eax, eax
xchg dword [esp], eax
sub dword [esp], eax
jmp 0x43a12e
sub al, 0x4f
mov eax, ecx
mov edi, dword [edx + 0x1c]
adc ah, dl
lea eax, [esi]
mov esi, dword [edx + 0x24]
test edx, 0x8b2f23f0
not edx
nop
not dl
not dl
add esi, ebx
add edi, ebx
mov eax, dword [esi + ecx*2]
jmp 0x43e0e4
mov edi, edi
and edi, 0x3622daa3
add al, ah
sub al, ah
lodsd eax, dword [esi]
cld
lea edi, [edi]
not ebp
not ebp
nop
not ch
not ch
lea edi, [eax + ebx]
cmp ecx, dword [edx + 0x18]
jmp 0x43e0a1
movzx eax, byte [edi]
inc edi
xor esp, 0
sub dword [esp], eax
pop eax
cmp byte [edi], 0
jmp 0x43e115
mov ah, ah
je 0x43e1aa
xor eax, eax
cld
push eax
jmp 0x43a089
mov esi, dword [edx + 0x20]
or ecx, 0xffffffff
or edi, 0x350caa16
add esi, ebx
inc ecx
jmp 0x43a10a
and eax, 0xffff
mov esi, dword [edi + eax*4]
add esi, ebx
ret 4
not esi
not esi
jne 0x43e0ac
mov edx, edx
wait
xchg edx, ebx
xchg edx, ebx
lea ebx, [ebx]
cld
xchg edx, esi
xchg edx, esi
xor eax, 0x43b040cd
cmp eax, dword [esp + 4]
jne 0x43e0c0
jmp 0x43a0e3
ret
mov eax, dword [ebx + 0x3c]
xchg edi, ecx
mov edx, dword [eax + ebx + 0x78]
and al, 0xe6
lea edi, [edi + 0x6c]
and ch, al
lea edx, [edx + ebx]
jmp 0x43e0b2
Function at 0x40bf40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov eax, dword [ebx + 4]
mov edi, ecx
sub esp, 0x10