joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40895f
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop edx
sub esp, 4
mov dword [esp], esi
pop esi
sub ecx, esi
call fcn.00408996
sub ecx, 0xac7a997f
mov ecx, esi
xor dword [eax], edx
sub esi, 0xfc3af4e9
or ecx, esi
inc eax
add esi, esi
inc esi
cmp eax, ebx
jne fcn.0040895f
sub esi, 1
ret

Function at 0x43b64e
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
mov eax, dword [esp]
add esp, 4
sub esp, 4
mov dword [esp], edx
mov ebx, dword [esp]
add esp, 4
add ebx, 1
sub edx, ebx
call fcn.0043b699
or edx, ebx
xor dword [ecx], eax
add edx, 0xc186d775
sub ebx, 0x477c0541
inc ecx
inc ebx
cmp ecx, edi
jne fcn.0043b64e
sub ebx, 0x859d4e8e
mov edx, edx
add ebx, edx
ret

Function at 0x4068e4
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x4068e6
ret
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x16121601
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..rdata
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7ee96ad2
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..data
nop
nop
nop
push 4
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
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x7ba22787
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data_1
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x38b55478
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret

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

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x7bc570a1
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x36dc23a3
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x21b124de
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x38813888
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x438c95
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
pop edx
sub ebx, 0x9b9251f2
sub ebx, 1
sub esp, 4
mov dword [esp], 0xa7a7e393
mov edi, dword [esp]
add esp, 4
call fcn.00438ce7
add ebx, edi
and edi, ebx
xor dword [eax], edx
add edi, edi
mov ebx, edi
add eax, 1
dec ebx
push 0xf8771112
pop ebx
sub edi, ebx
cmp eax, esi
jne fcn.00438c95
inc ebx
ret
Function at 0x401200
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x10], 0x1000
mov dword [esp + 0x14], ebx
mov edi, 1
push 0x1000
call fcn.0040445b
mov esi, eax
add esp, 4
test ebx, ebx
mov dword [esi], 0x1000
jne 0x401252
lea eax, [esp + 0x10]
push eax
push esi
push ebx
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov ebx, eax
test ebx, ebx
je 0x40126b
mov ecx, dword [esi + 4]
push ecx
jmp 0x401265
lea edx, [esp + 0x10]
push edx
push esi
push ebx
call ebp
mov edi, eax
test edi, edi
je 0x40126b
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
cmp edi, 1
jne 0x40129e
lea ecx, [esp + 0x10]
push ecx
push esi
push ebx
call ebp
mov edi, eax
test edi, edi
je 0x4012a6
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea eax, [esp + 0x10]
push eax
push esi
push ebx
call ebp
mov edi, eax
test edi, edi
je 0x4012a6
mov ecx, dword [esi + 4]
push ecx
jmp 0x401283
mov dword [esp + 0x14], 1
push esi
call fcn.00404450
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x401220
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x4012d0
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
push esi
push edi
xor esi, esi
mov ebx, 0x1000
xor edi, edi
mov eax, 0x7a
test eax, eax
je 0x401342
cmp eax, 0x7a
push esi
jne 0x40136d
call fcn.00404450
push ebx
call fcn.0040445b
mov esi, eax
add esp, 8
test edi, edi
mov dword [esi], ebx
mov dword [esp + 0x10], ebx
jne 0x401325
lea eax, [esp + 0x10]
push eax
push esi
push edi
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov edi, eax
xor eax, eax
test edi, edi
setne al
jmp 0x40132e
lea ecx, [esp + 0x10]
push ecx
push esi
push edi
call ebp
test eax, eax
je 0x401336
xor eax, eax
jmp 0x4012e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [esp + 0x10]
jmp 0x4012e9
test dword [esi + 0xc], 0x100000
je 0x401355
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
push esi
push edi
call ebp
test eax, eax
je 0x401336
xor eax, eax
jmp 0x4012e9
call fcn.00404450
add esp, 4
test edi, edi
je 0x401380
push edi
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4013b0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push ebx
push ebp
mov ebp, dword [esp + 0x138]
push esi
test ebp, ebp
push edi
jne 0x4013d2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x128
ret
xor eax, eax
mov ecx, 0x49
lea edi, [esp + 0x14]
mov dword [esp + 0x10], 0
push eax
push 2
rep stosd dword es:[edi], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x401403
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x128
ret
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x128
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x401512
push ebp
call fcn.00404469
lea ecx, [esp + 0x38]
mov esi, eax
push ecx
call fcn.00404469
add esp, 8
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40145b
test cl, cl
je 0x401457
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40145b
add eax, 2
add esi, 2
test cl, cl
jne 0x401433
xor eax, eax
jmp 0x401460
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4014bd
lea eax, [esp + 0x10]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4014f9
push ebp
call fcn.00404469
lea ecx, [esp + 0x38]
mov esi, eax
push ecx
call fcn.00404469
add esp, 8
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4014b4
test cl, cl
je 0x4014b0
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4014b4
add eax, 2
add esi, 2
test cl, cl
jne 0x40148c
xor eax, eax
jmp 0x4014b9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401464
mov eax, dword [esp + 0x18]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [esp + 0x13c]
push ecx
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret
push edi
mov esi, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret

Function at 0x401530
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
mov esi, dword [esp + 0x5c]
test esi, esi
jne 0x401543
xor eax, eax
pop esi
add esp, 0x54
ret
lea eax, [esp + 0x5c]
push str.EXPLORER.EXE
push eax
call fcn.004013b0
add esp, 8
test eax, eax
jne 0x40155e
pop esi
add esp, 0x54
ret
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
push edx
push eax
push eax
push 0x20
push eax
push eax
push eax
push eax
mov eax, dword [esp + 0x84]
push esi
push eax
mov dword [esp + 0x44], 0x44
mov dword [esp + 0x4c], str.winsta0default
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov ecx, dword [esp + 0x60]
mov esi, eax
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret
Function at 0x4015c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 8]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40160a
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40160a
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret

Function at 0x4016c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
push str.....................
push str....................
push 0
call esi
push 0xffffffffffffffff
push str.....................
push str....................
push 0
call esi
xor ebx, ebx
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401d50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
push edi
push 0xffffffffffffffff
push str.....................
push str....................
push 0
call esi
push 0xffffffffffffffff
push str.....................
push str....................
push 0
call esi
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + edx + 0x78]
add eax, edx
mov ecx, dword [eax + 0x1c]
mov esi, dword [eax + 0x24]
mov ebx, dword [eax + 0x18]
add ecx, edx
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 0x20]
add ecx, edx
add esi, edx
test ebx, ebx
mov dword [ebp - 0x14], esi
jbe 0x401e3a
lea eax, [ecx + ebx*4]
jmp 0x401db3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov esi, dword [eax - 4]
sub eax, 4
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
lea edi, [esi + edx]
or ecx, 0xffffffff
xor eax, eax
dec ebx
mov dword [ebp - 8], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 0x10], ebx
je 0x401e22
mov eax, dword [ebp - 8]
xor ecx, ecx
add esi, eax
mov cl, byte [esi + edx]
mov edx, dword [ebp - 4]
sub edx, ecx
mov dword [ebp - 4], edx
pushal
mov eax, dword [ebp - 4]
ror eax, 3
ror eax, 4
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov esi, dword [eax]
xor eax, eax
inc edx
lea edi, [esi + ecx]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 8], edx
cmp edx, ecx
mov edx, dword [ebp + 8]
jb 0x401ddc
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
test eax, eax
je 0x401e36
test ebx, ebx
ja 0x401db0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
ja 0x401e43
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
xor eax, eax
pop edi
pop esi
mov ax, word [ecx + ebx*2]
mov ecx, dword [ebp - 0x18]
pop ebx
mov eax, dword [ecx + eax*4]
add eax, edx
mov esp, ebp
pop ebp
ret
Function at 0x402a50
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Create process suspended

Disassembly:
sub esp, 0x560
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x165]
mov byte [esp + 0x164], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x36d]
mov byte [esp + 0x36c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x61]
mov byte [esp + 0x60], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x269]
mov byte [esp + 0x268], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x60]
push eax
push ebx
push str.SOFTWAREClassesHTTP_shellopencommand
push 0x80000002
call fcn.004015c0
lea ecx, [esp + 0x71]
push 0x410cc8
push ecx
call fcn.00404510
mov byte [eax], bl
lea edi, [esp + 0x79]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x280]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x280]
push ecx
call fcn.00407b66
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x180]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x590]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x58c]
lea ecx, [esp + 0x180]
mov dword [esp + 0x40], edx
push eax
push ecx
lea edx, [esp + 0x390]
push str.__s____s_
push edx
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x74], 0x101
mov word [esp + 0x7a], bx
mov dword [esp + 0x7c], ebx
mov word [esp + 0x78], 5
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x2c
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x36c]
push eax
push ecx
push ebx
push ebx
push 0x4000000
push ebx
push ebx
push ebx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [esp + 0xc]
pop edi
neg eax
sbb eax, eax
pop esi
and eax, ecx
pop ebx
add esp, 0x560
ret
Function at 0x403b60
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4081b0
push 0x404784
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffbd0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x304], 0
mov dword [ebp - 4], 0
jmp 0x403bd6
popal
popfd
push 0x403b9c
retf
lcall 0x3e3, 0
pushfd
pushal
rdtsc
xchg ecx, eax
rdtsc
sub eax, ecx
mov dword [ebp - 0x304], eax
push 0xf74843ff
call ebx
or eax, eax
je 0x403bce
mov edi, eax
mov ecx, 0x14
mov al, 0x8b
cld
repne scasb al, byte es:[edi]
or ecx, ecx
je 0x403bce
mov esi, dword [edi + 1]
push 0xb7483068
call ebx
or eax, eax
je 0x403bce
call eax
or eax, eax
je 0x403bce
mov dword [eax + esi], 1
jmp 0x403bce

Function at 0x407a2b
Capabilities:
Encode data using xor

Disassembly:
invalid
call 0x4078ec
mov ecx, 0x1f9
call 0x407a2b
rcr dword [esi + 0x30], 0x4c
push cs
pop es
xor byte [esi + ecx + 7], cl
loop 0x407a2e
imul edi, dword [ebx + 0x5a], 0xffffffdd
jmp 0x407a19
Function at 0x8fa370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x8fa38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x923074
push ecx
mov edi, eax
call fcn.0090e198
mov esi, eax
add esp, 8
test esi, esi
jne 0x8fa3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0090e02e
push esi
call fcn.0090dfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x8fd850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x8fd8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x928720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x8fd8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.0090e1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x8fd8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x928720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x8fd92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.0090f082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x8fd957
mov word [eax], si
add eax, 2
push eax
call fcn.0090f030
add esp, 4
jmp 0x8fd959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x8fd8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x8fd8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x8fdff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x8fe080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x8fe0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x923458
push ecx
call fcn.0090e1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.0090e1e1
add esp, 0x10
jmp 0x8fe0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0090e20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.0090ddff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.008fe050
mov eax, dword [0x928728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x8fe13b
push esi
call fcn.008fdfb0
add esp, 4
mov dword [0x928728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x8fe14c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.008fdff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x901440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x9014b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x90148e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x901471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x90147e
add edx, ecx
cmp ebx, edx
jb 0x90148a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x901467
xor ecx, ecx
jmp 0x9014a2
test eax, eax
jne 0x901492
xor ecx, ecx
jmp 0x9014a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.009013c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret