joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4026fe
Capabilities:
Get common file path

Disassembly:
sub esp, 0x400
push esi
push edi
xor edi, edi
xor esi, esi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, 0x9f60fc3
jg 0x402724
inc esi
cmp esi, 0x1e70dee2
jl 0x40270a
cmp dword [0x47543c], 0x400
jne 0x40274c
push edi
call fcn.0040289e
push edi
push edi
call fcn.00402d03
push edi
call fcn.00402b62
push edi
call fcn.00402de1
add esp, 0x14
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x58bba6
jg 0x40276b
inc esi
cmp esi, 0xe147
jl 0x40274e
mov eax, dword [0x46d40c]
mov dword [0x47543c], eax
call fcn.0040247d
mov esi, 0x3078f
cmp dword [0x47543c], 0x51f
jne 0x402797
push edi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
dec esi
jne 0x40277f
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x405954
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c5b0]
jne 0x40595e
repz ret
jmp fcn.00407275
Function at 0x4064c4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40c5b0]
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.0040525f
and dword [ebp - 0x14], 0
cmp dword [0x46f034], 0
mov dword [ebp - 0x18], eax
jne 0x406577
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40661f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40661f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46f034], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46f038], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46f03c], eax
call edi
push eax
call esi
mov dword [0x46f044], eax
test eax, eax
je 0x406577
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46f040], eax
mov eax, dword [0x46f040]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4065d0
cmp dword [0x46f044], ecx
je 0x4065d0
push eax
call esi
push dword [0x46f044]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4065d0
test ebx, ebx
je 0x4065d0
call edi
test eax, eax
je 0x4065c7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4065c7
test byte [ebp - 8], 1
jne 0x4065d0
or dword [ebp + 0x10], 0x200000
jmp 0x406603
mov eax, dword [0x46f038]
cmp eax, dword [ebp - 0x18]
je 0x406603
push eax
call esi
test eax, eax
je 0x406603
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406603
mov eax, dword [0x46f03c]
cmp eax, dword [ebp - 0x18]
je 0x406603
push eax
call esi
test eax, eax
je 0x406603
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46f034]
call esi
test eax, eax
je 0x40661f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406621
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405954
leave
ret
Function at 0x404ace
Capabilities:
Accept command line arguments

Disassembly:
push esi
push 1
call fcn.00404972
pop ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
call fcn.00404735
test al, al
jne 0x404afd
xor eax, eax
inc eax
jmp 0x404b0c
push esi
call fcn.00404935
pop ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop esi
ret 0x10

Function at 0x405ba0
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x408640
call fcn.00406160
push 1
call fcn.00405547
pop ecx
test al, al
je 0x405b88
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00405515
mov byte [ebp - 0x24], al
mov eax, dword [0x40a2a0]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x405b88
test eax, eax
jne 0x405aac
mov dword [0x40a2a0], ecx
push 0x407270
push 0x407260
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x405a8f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x405b78
push 0x40725c
push 0x407244
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x40a2a0], 2
jmp 0x405ab1
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0040569b
pop ecx
call fcn.004062b8
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x405ae2
push esi
call fcn.00405607
pop ecx
test al, al
je 0x405ae2
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x407240]
call esi
call fcn.004062be
mov esi, eax
cmp dword [esi], edi
je 0x405b00
push esi
call fcn.00405607
pop ecx
test al, al
je 0x405b00
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.00406064
movzx esi, ax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push esi
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.004060a3
test al, al
je 0x405b8f
test bl, bl
jne 0x405b2e
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.004056b8
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x405b78
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.00405f4a
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
call fcn.00579000
jmp 0x405a22
Function at 0x10002100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 1
xor eax, eax
mov dl, byte [edi + eax + 0x3ed419b4]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xb
jb 0x10002111
pop edi
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100021b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 9
xor eax, eax
mov dl, byte [edi + eax - 0x7bd60ae8]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x1a
jb 0x100021c1
pop edi
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100021f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 9
xor eax, eax
mov dl, byte [edi + eax - 0x1abd646a]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x28
jb 0x10002201
pop edi
mov byte [esi + 0x28], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100022c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x15
xor eax, eax
mov dl, byte [edi + eax + 0x43f2140e]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xf
jb 0x100022d1
pop edi
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x19
xor eax, eax
mov dl, byte [edi + eax + 0x1bf4bbef]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x88
jb 0x10002311
pop edi
mov byte [esi + 0x88], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100023d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x1b
xor eax, eax
mov dl, byte [edi + eax - 0x56714f1a]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x1b
jb 0x100023e1
pop edi
mov byte [esi + 0x1b], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002410
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x1e
xor eax, eax
mov dl, byte [edi + eax - 0x69914085]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xd
jb 0x10002421
pop edi
mov byte [esi + 0xd], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100024d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x2d
xor eax, eax
mov dl, byte [edi + eax + 0x5d9825a0]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x25
jb 0x100024e1
pop edi
mov byte [esi + 0x25], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10002510
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x34
xor eax, eax
mov dl, byte [edi + eax + 0x32593faf]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xf
jb 0x10002521
pop edi
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x36
xor eax, eax
mov dl, byte [edi + eax - 0x5023d40c]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x3b
jb 0x10002561
pop edi
mov byte [esi + 0x3b], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x37
xor eax, eax
mov dl, byte [edi + eax + 0x1ea2c6cb]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x1b
jb 0x100025a1
pop edi
mov byte [esi + 0x1b], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100025d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x3f
xor eax, eax
mov dl, byte [edi + eax - 0x4bcee95d]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xe
jb 0x100025e1
pop edi
mov byte [esi + 0xe], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x50
xor eax, eax
mov dl, byte [edi + eax + 0x5abdd636]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xb
jb 0x100027a1
pop edi
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x68
xor eax, eax
mov dl, byte [edi + eax - 0x2cf13859]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xe
jb 0x10002861
pop edi
mov byte [esi + 0xe], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x70
xor eax, eax
mov dl, byte [edi + eax - 0x2a0c3c7f]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x2c
jb 0x10002921
pop edi
mov byte [esi + 0x2c], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002950
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x77
xor eax, eax
mov dl, byte [edi + eax + 0x6648017d]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x1a
jb 0x10002961
pop edi
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10002a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xab
xor eax, eax
mov dl, byte [edi + eax - 0x7b84b047]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x12
jb 0x10002a11
pop edi
mov byte [esi + 0x12], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xaf
xor eax, eax
mov dl, byte [edi + eax + 0x1f0ff0d2]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x23
jb 0x10002a51
pop edi
mov byte [esi + 0x23], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002af0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xba
xor eax, eax
mov dl, byte [edi + eax - 0x5fdb605b]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xf
jb 0x10002b01
pop edi
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002ba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xc3
xor eax, eax
mov dl, byte [edi + eax + 0x575628d2]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xe
jb 0x10002bb1
pop edi
mov byte [esi + 0xe], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002dc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xd9
xor eax, eax
mov dl, byte [edi + eax - 0x1a2e1036]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xd
jb 0x10002dd1
pop edi
mov byte [esi + 0xd], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002e00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xe8
xor eax, eax
mov dl, byte [edi + eax + 0x3566316e]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x2a
jb 0x10002e11
pop edi
mov byte [esi + 0x2a], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10003020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xf0
xor eax, eax
mov dl, byte [edi + eax + 0xab77782]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x17
jb 0x10003031
pop edi
mov byte [esi + 0x17], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10004690
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + 4]
cmp eax, 5
ja case.default.0x100046a3
jmp dword [eax*4 + 0x10004728]
pop ebp
jmp fcn.100072f0
cmp dword [0x10048094], 0
jne case.default.0x100046a3
mov dword [0x10048094], 1
push 0
push 0
push 0
push 0x10004e70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
cmp dword [0x10048094], 0
jne case.default.0x100046a3
mov dword [0x10048094], 2
jmp 0x100046c3
cmp dword [0x10048094], 0
jne case.default.0x100046a3
mov dword [0x10048094], 3
jmp 0x100046c3
cmp dword [0x10048094], 0
jne case.default.0x100046a3
mov dword [0x10048094], 4
jmp 0x100046c3
cmp byte [ecx + 0x10], 0
setne byte [0x10048384]
pop ebp
ret

Function at 0x100046aa
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + 4]
cmp eax, 5
ja case.default.0x100046a3
jmp dword [eax*4 + 0x10004728]
pop ebp
jmp fcn.100072f0
cmp dword [0x10048094], 0
jne case.default.0x100046a3
mov dword [0x10048094], 1
push 0
push 0
push 0
push 0x10004e70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
cmp dword [0x10048094], 0
jne case.default.0x100046a3
mov dword [0x10048094], 2
jmp 0x100046c3
cmp dword [0x10048094], 0
jne case.default.0x100046a3
mov dword [0x10048094], 3
jmp 0x100046c3
cmp dword [0x10048094], 0
jne case.default.0x100046a3
mov dword [0x10048094], 4
jmp 0x100046c3
cmp byte [ecx + 0x10], 0
setne byte [0x10048384]
pop ebp
ret

Function at 0x100046b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + 4]
cmp eax, 5
ja case.default.0x100046a3
jmp dword [eax*4 + 0x10004728]
pop ebp
jmp fcn.100072f0
cmp dword [0x10048094], 0
jne case.default.0x100046a3
mov dword [0x10048094], 1
push 0
push 0
push 0
push 0x10004e70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
cmp dword [0x10048094], 0
jne case.default.0x100046a3
mov dword [0x10048094], 2
jmp 0x100046c3
cmp dword [0x10048094], 0
jne case.default.0x100046a3
mov dword [0x10048094], 3
jmp 0x100046c3
cmp dword [0x10048094], 0
jne case.default.0x100046a3
mov dword [0x10048094], 4
jmp 0x100046c3
cmp byte [ecx + 0x10], 0
setne byte [0x10048384]
pop ebp
ret

Function at 0x10004704
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + 4]
cmp eax, 5
ja case.default.0x100046a3
jmp dword [eax*4 + 0x10004728]
pop ebp
jmp fcn.100072f0
cmp dword [0x10048094], 0
jne case.default.0x100046a3
mov dword [0x10048094], 1
push 0
push 0
push 0
push 0x10004e70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
cmp dword [0x10048094], 0
jne case.default.0x100046a3
mov dword [0x10048094], 2
jmp 0x100046c3
cmp dword [0x10048094], 0
jne case.default.0x100046a3
mov dword [0x10048094], 3
jmp 0x100046c3
cmp dword [0x10048094], 0
jne case.default.0x100046a3
mov dword [0x10048094], 4
jmp 0x100046c3
cmp byte [ecx + 0x10], 0
setne byte [0x10048384]
pop ebp
ret
Function at 0x10005ce0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10039548
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x10148be4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10148780]
cmp eax, 0x927c0
jb 0x10005d25
call esi
mov dword [0x10148780], eax
cmp dword [edi + 4], 0
je 0x10005db9
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], 0
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call sub.gdiplus.dll_GdiplusStartup
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push dword [edi + 8]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.10012f50
mov esi, dword [ebp - 0x1c]
test al, al
je 0x10005d9e
cmp esi, dword [ebp - 0x18]
je 0x10005d9e
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.1000f8c0
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x10]
call sub.gdiplus.dll_GdiplusShutdown
test esi, esi
je 0x10005db9
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
sub eax, esi
push eax
push esi
call fcn.100125c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10005dd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10148be4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10005eaf
push esi
push 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
xorps xmm0, xmm0
push edi
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetModuleInformation
xor esi, esi
mov dword [ebp - 0x10], 0xff6aff6a
mov dword [ebp - 0xc], 0xffffffff
mov word [ebp - 8], 0xffff
mov byte [ebp - 6], 0xe8
cmp dword [ebp - 0x1c], esi
jbe 0x10005eae
push ebx
xor eax, eax
mov dl, byte [ebp + eax - 0x10]
cmp dl, 0xff
je 0x10005e46
lea ecx, [eax + edi]
cmp byte [ecx + esi], dl
jne 0x10005ea7
inc eax
cmp eax, 0xb
jl 0x10005e35
mov al, byte [edi + esi + 1]
test al, al
je 0x10005e58
cmp al, 1
jne 0x10005ea7
mov al, byte [edi + esi + 3]
test al, al
je 0x10005e64
cmp al, 1
jne 0x10005ea7
lea ebx, [edi + 0xa]
add ebx, esi
mov eax, dword [ebx + 1]
add eax, 5
add eax, ebx
cmp eax, 0x404d70
jne 0x10005ea7
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x1000f500
mov byte [ebx], 0xe8
sub eax, ebx
sub eax, 5
mov dword [ebx + 1], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
push 5
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc esi
cmp esi, dword [ebp - 0x1c]
jb 0x10005e33
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1001baaf
mov esp, ebp
pop ebp
ret
Function at 0x10005ec0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10148be4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10005f8b
push esi
push 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
xorps xmm0, xmm0
push edi
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetModuleInformation
xor esi, esi
mov dword [ebp - 0x10], 0xff6aff6a
mov dword [ebp - 0xc], 0xffffffff
mov word [ebp - 8], 0xffff
mov byte [ebp - 6], 0xff
cmp dword [ebp - 0x1c], esi
jbe 0x10005f8a
push ebx
nop
xor eax, eax
mov dl, byte [ebp + eax - 0x10]
cmp dl, 0xff
je 0x10005f33
lea ecx, [eax + edi]
cmp byte [ecx + esi], dl
jne 0x10005f83
inc eax
cmp eax, 0xb
jl 0x10005f22
mov al, byte [edi + esi + 1]
test al, al
je 0x10005f45
cmp al, 1
jne 0x10005f83
mov al, byte [edi + esi + 3]
test al, al
je 0x10005f51
cmp al, 1
jne 0x10005f83
lea ebx, [edi + 5]
add ebx, esi
cmp dword [ebx], 0x404d70
jne 0x10005f83
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
mov dword [ebx], 0x1000f500
push eax
push dword [ebp - 0x14]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc esi
cmp esi, dword [ebp - 0x1c]
jb 0x10005f20
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1001baaf
mov esp, ebp
pop ebp
ret

Function at 0x10005fa0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10006033
mov eax, dword [0x10149edc]
xorps xmm0, xmm0
push edi
push 0xc
mov dword [ebp - 0x10], 0
mov dword [eax], 0xffffffff
lea eax, [ebp - 0x10]
push eax
push esi
movq qword [ebp - 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetModuleInformation
mov edi, dword [ebp - 0xc]
mov dword [ebp + 8], 0xe61730
test edi, edi
je 0x10006032
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
mov cl, byte [esi + eax]
cmp cl, byte [ebp + eax + 8]
jne 0x1000602b
inc eax
cmp eax, 4
jl 0x10005ff7
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
call ebx
mov eax, dword [0x10149edc]
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push esi
call ebx
mov dword [ebp - 4], 0
inc esi
sub edi, 1
jne 0x10005ff5
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10006040
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x100060d3
push edi
push 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
xorps xmm0, xmm0
push esi
movq qword [ebp - 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetModuleInformation
mov edi, dword [ebp - 0xc]
test edi, edi
jne 0x10006083
mov eax, dword [esi + 0x3c]
mov edi, dword [eax + esi + 0x1c]
mov dword [ebp + 8], 0x7bc4f04
test edi, edi
je 0x100060d2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
mov cl, byte [esi + eax]
cmp cl, byte [ebp + eax + 8]
jne 0x100060cb
inc eax
cmp eax, 4
jl 0x10006097
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
call ebx
mov eax, dword [0x10149ee0]
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push esi
call ebx
mov dword [ebp - 4], 0
inc esi
sub edi, 1
jne 0x10006095
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret