joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10051610
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x1007e00c]
xor eax, esp
mov dword [esp + 0x60], eax
push esi
push 0x40
lea eax, [esp + 0x24]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0x20
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x2c]
shr eax, 3
mov edx, 0x3f
and eax, 0x3f
mov dword [esp + 0x18], 0xefcdab89
add ecx, eax
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
sub edx, eax
mov dword [esp + 0x28], 0
add esp, 0xc
mov dword [esp + 0x20], esi
mov byte [ecx], 0x80
inc ecx
cmp edx, 8
jae 0x100516b2
push edx
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
call fcn.10050f90
push 0x38
lea eax, [esp + 0x30]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
jmp 0x100516c1
lea eax, [edx - 8]
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
mov dword [esp + 0x58], eax
lea ecx, [esp + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
call fcn.10050f90
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0xe]
pop esi
xor ecx, esp
call fcn.100658a0
mov esp, ebp
pop ebp
ret

Function at 0x100548c0
Capabilities:
Hash data using fnv

Disassembly:
mov eax, dword [0x1014c5bc]
add ecx, 4
push esi
mov esi, dword [eax + 0x34]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edx, dword [esi]
mov ecx, esi
push eax
mov edx, dword [edx + 0xc]
call edx
pop esi
mov cl, byte [eax]
test cl, cl
je 0x10054919
movsx ecx, cl
xor ecx, 0x811c9dc5
imul edx, ecx, 0x1000193
lea ecx, [eax + 1]
call fcn.10014130
cmp eax, 0x7c4a5426
ja 0x1005491c
je 0x1005495a
cmp eax, 0x19acc50e
je 0x1005495a
cmp eax, 0x43d6266e
je 0x1005495a
cmp eax, 0x4d7aa8c1
je 0x1005495a
xor al, al
ret
cmp eax, 0xc941ff64
ja 0x10054943
je 0x1005495a
cmp eax, 0x9d08c4c8
ja 0x1005493c
je 0x1005495a
cmp eax, 0x7f11af2d
je 0x1005495a
cmp eax, 0x84ea2fe5
jmp 0x10054917
cmp eax, 0xa7eab73f
jmp 0x10054917
cmp eax, 0xe80bc214
ja 0x1005495d
je 0x1005495a
cmp eax, 0xd614ea2e
je 0x1005495a
cmp eax, 0xe1525a25
jne 0x10054919
mov al, 1
ret
cmp eax, 0xf8573d98
sete al
ret

Function at 0x10054970
Capabilities:
Hash data using fnv

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 8]
call eax
cmp dword [eax + 0x14], 0xb5
je 0x100549f5
mov eax, dword [0x1014c5bc]
lea ecx, [edi + 4]
push esi
mov esi, dword [eax + 0x34]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edx, dword [esi]
mov ecx, esi
push eax
mov edx, dword [edx + 0xc]
call edx
pop esi
mov cl, byte [eax]
test cl, cl
je 0x100549e0
movsx ecx, cl
xor ecx, 0x811c9dc5
imul edx, ecx, 0x1000193
lea ecx, [eax + 1]
call fcn.10014130
cmp eax, 0x5978b32e
ja 0x100549e4
je 0x100549f5
cmp eax, 0x1b20e275
je 0x100549f5
cmp eax, 0x3cb8abb3
je 0x100549f5
cmp eax, 0x4c849f3c
je 0x100549f5
xor al, al
pop edi
ret
cmp eax, 0x97113ea7
je 0x100549f5
cmp eax, 0xa8d619ea
pop edi
sete al
ret
mov al, 1
pop edi
ret
Function at 0x100636d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp dword [ebp + 0xc], 1
jne 0x10063703
push 0
push 0
push dword [ebp + 8]
push 0x10063660
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10063703
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc
Function at 0x448380
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x448518
cmp ebp, ebx
jle 0x448518
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x4483de
dec eax
or eax, 0xfffffff8
inc eax
je 0x4483e5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x4483f4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4483fb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004ac4b1
add esp, 4
cmp eax, ebx
je 0x44841c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.004ac4b1
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x44850e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x4484f5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4484e1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4484d6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x4484e4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4484e4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x448480
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x448471
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret

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

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
Function at 0x4010c6
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
xor ebx, ebx
push edi
mov dword [0x40301c], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, ebx
jne 0x4010fd
xor eax, eax
jmp 0x4011a9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [esi], 0x22
jne 0x401124
inc esi
mov dword [0x40301c], esi
mov al, byte [esi]
cmp al, bl
je 0x40111e
cmp al, 0x22
je 0x40111e
inc esi
jmp 0x401111
cmp byte [esi], bl
jne 0x40113f
jmp 0x4010f6
mov dword [0x40301c], esi
mov al, byte [esi]
cmp al, bl
je 0x40113b
cmp al, 0x20
je 0x40113b
cmp al, 9
je 0x40113b
inc esi
jmp 0x40112a
cmp byte [esi], bl
je 0x401142
mov byte [esi], bl
inc esi
push 1
mov ecx, 0x403020
pop eax
mov dl, byte [esi]
cmp dl, bl
je 0x401155
cmp dl, 0x20
je 0x40115a
cmp dl, 9
jne 0x40115d
inc esi
jmp 0x40114a
mov dl, byte [esi]
cmp dl, bl
je 0x4011a9
cmp dl, 0x22
jne 0x40117f
inc esi
inc eax
mov dword [ecx], esi
add ecx, 4
mov dword [ecx], ebx
mov dl, byte [esi]
cmp dl, bl
je 0x40119a
cmp dl, 0x22
je 0x40119a
inc esi
jmp 0x401171
mov dword [ecx], esi
inc eax
add ecx, 4
mov dword [ecx], ebx
mov dl, byte [esi]
cmp dl, bl
je 0x40119a
cmp dl, 0x20
je 0x40119a
cmp dl, 9
je 0x40119a
inc esi
jmp 0x401187
cmp byte [esi], bl
je 0x4011a9
mov byte [esi], bl
inc esi
cmp ecx, 0x40321c
jl 0x40114a
pop edi
pop esi
pop ebx
ret

Function at 0x401205
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push ebx
push edi
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x22c
mov edi, eax
lea eax, [ebp - 0x230]
push ebx
push eax
call fcn.00401580
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push edi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x401273
push str.explorer.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x401279
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40124f
jmp 0x40127f
mov ebx, dword [ebp - 0x228]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x40129b
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret
Function at 0x414f5a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x414f69
pop dword [ebp - 0x20]
mov eax, 0xbc07c1bd
sub eax, 0xbbc67254
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x503aa
push 0
mov eax, 0x2f00784b
add eax, 0xd1443a65
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x4866
mov edi, eax
mov ebx, 0x818c28ce
add ebx, 0x7ebc6532
add ebx, dword [ebp - 0x20]
mov esi, 0xde045943
mov dword [ebp - 4], 0x72d89e08
mov edx, dword [ebx]
sub dword [ebp - 0x10], 0xa0413569
sub edx, esi
mov dword [ebp - 0x10], 0xfe49eaf7
mov dword [edi], edx
xor dword [ebp - 0x1c], 0xe9806a10
add edi, 0x5c5aeefc
add edi, 0xa3a51108
add ebx, 0x15a133ae
sub ebx, 0x15a133aa
loop 0x414fbc
add eax, 0xb552615a
sub eax, 0xb5514cef
xor ebx, ebx
add ebx, eax
add eax, 0x167369e0
sub eax, 0x167369db
mov ecx, 0x5b24bddc
add ecx, 0xa51b4224
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x40d29a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x40d2a9
pop dword [ebp - 0x30]
mov eax, 0x517691c6
add eax, 0xaeca40e3
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x37484
push 0
mov eax, 0x3d6ac89a
sub eax, 0x3d29e7c2
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x3994eb89
sub ecx, 0x3994abcc
mov esi, eax
mov edi, 0x70f7928
sub edi, 0x6ce3d64
add edi, dword [ebp - 0x30]
mov edx, 0x28ecb04b
sub edx, 0x117beca1
xor dword [ebp - 0x10], 0x125224f1
mov ebx, dword [edi]
add dword [ebp - 0x24], 0x701fdb87
xor ebx, edx
add dword [ebp - 8], 0xe58c8c66
mov dword [esi], ebx
xor dword [ebp - 0x14], ebx
add esi, 0xfc30a187
add esi, 0x3cf5e7d
add edi, 0x22618b9c
sub edi, 0x22618b98
loop 0x40d308
add eax, 0x2c38bb1f
sub eax, 0x2c37c958
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x98870ea5
sub ecx, 0x98470ea5
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x10001aed
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x10001afc
pop dword [ebp - 0x14]
mov eax, 0x8dd0b915
sub eax, 0x7dd09e19
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x1dafe39e
add dword [ebp - 0x24], 0x30a261ad
mov dword [ebp - 0x20], 0x4569fc22
sub dword [ebp - 0x20], 0x1336afdd
mov dword [ebp - 0x1c], 0xb4d43e
add dword [ebp - 0x1c], 0x4b976ff0
mov dword [ebp - 0x18], 0xb378de63
add dword [ebp - 0x18], 0x4c87219d
lea eax, [ebp - 0x24]
push eax
mov eax, 0x66cab6c5
add eax, 0xa935c997
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xd274dcca
sub dword [ebp - 0x24], 0x5e027374
mov dword [ebp - 0x20], 0xb4a843bc
add dword [ebp - 0x20], 0x8cc41db9
mov dword [ebp - 0x1c], 0xbaa7097f
add dword [ebp - 0x1c], 0xa8c862ed
mov dword [ebp - 0x18], 0xaf0e84f5
add dword [ebp - 0x18], 0x50f17b0b
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xd2c535c7
sub eax, 0xc2c4b55f
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x372b3
push 0
call eax
mov ecx, 0xb1bb2f6f
sub ecx, 0xb1bae810
xor ebx, ebx
add ebx, eax
mov esi, 0xb002aa2e
add esi, 0x5ffe31d2
add esi, dword [ebp - 0x14]
mov edx, 0x2cf08382
sub dword [ebp - 0xc], edx
mov edi, dword [esi]
xor dword [ebp - 0xc], edx
add edi, edx
sub dword [ebp - 0xc], 0xecf9d668
mov dword [ebx], edi
sub dword [ebp - 4], 0x7a9204c5
add ebx, 0x67652bad
add ebx, 0x989ad457
add esi, 0xf2c0f6bc
add esi, 0xd3f0948
loop 0x10001c1a
add eax, 0xe5a015b3
add eax, 0x1a60fa9c
mov ebx, eax
add eax, 0xa88f5cc7
sub eax, 0xa88f5cc2
mov ecx, 0xa72ed7e9
add ecx, 0x68d12817
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401006
push esi
push edi
push 0x40
sub eax, edx
push 0x1000
lea esi, [eax + 1]
mov eax, dword [0x438028]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
je 0x40106a
mov edx, dword [0x438028]
lea ecx, [esp + 8]
push ecx
push esi
push ebx
push edi
push edx
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x401070
cmp dword [esp + 8], esi
je 0x401070
mov eax, dword [0x438028]
push 0x4000
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov eax, edi
pop edi
pop esi
pop ecx
ret

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

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov ebx, eax
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401100
mov ecx, dword [0x438028]
sub eax, edx
push 0x40
mov esi, eax
push 0x1000
lea eax, [esi + 1]
push eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x40116d
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
mov dword [ecx], eax
mov eax, dword [0x438028]
lea edx, [esp + 0x10]
push edx
push esi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push edi
push eax
call ebx
test eax, eax
je 0x401177
cmp dword [esp + 0x10], esi
je 0x401177
mov ecx, dword [0x438028]
push 0x4000
push esi
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov ecx, dword [0x438028]
lea edx, [esp + 0x10]
push edx
push 4
lea eax, [esp + 0x1c]
push eax
push ebp
push ecx
call ebx
test eax, eax
je 0x4011b6
cmp dword [esp + 0x10], 4
je 0x4011b6
mov edx, dword [0x438028]
push 0x4000
push esi
push edi
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x402320
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x70]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x31
mov esi, ecx
lea ecx, [esp + 0x49]
push ebx
push ecx
mov dword [esp + 0x1c], eax
xor edi, edi
mov byte [esp + 0x50], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
xor eax, eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov byte [esp + 0x41], al
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov byte [esp + 0x1d], al
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov byte [esp + 0x29], al
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], eax
mov byte [esp + 0x35], al
mov al, byte [esi]
mov byte [esp + 0x38], bl
mov byte [esp + 0x14], bl
mov byte [esp + 0x20], bl
mov byte [esp + 0x2c], bl
inc esi
mov byte [esp + edi + 0x44], al
mov al, byte [esi]
inc edi
cmp al, 0x2c
jne 0x402398
mov al, byte [esi + 1]
inc esi
lea edx, [edi + 1]
xor ecx, ecx
lea ecx, [ecx]
inc esi
mov byte [esp + ecx + 0x38], al
mov al, byte [esi]
inc ecx
cmp al, 0x2c
jne 0x4023b0
mov al, byte [esi + 1]
inc esi
lea edx, [edx + ecx + 1]
xor ecx, ecx
inc esi
mov byte [esp + ecx + 0x14], al
mov al, byte [esi]
inc ecx
cmp al, 0x2c
jne 0x4023c6
mov al, byte [esi + 1]
inc esi
lea edx, [edx + ecx + 1]
xor ecx, ecx
lea esp, [esp]
inc esi
mov byte [esp + ecx + 0x20], al
mov al, byte [esi]
inc ecx
cmp al, 0x2c
jne 0x4023e0
mov al, byte [esi + 1]
inc esi
lea ebp, [edx + ecx + 1]
xor ecx, ecx
inc esi
mov byte [esp + ecx + 0x2c], al
mov al, byte [esi]
inc ecx
cmp al, 0xd
je 0x40240a
cmp al, 0xa
je 0x40240a
cmp al, 0x20
jne 0x4023f6
lea ebx, [esp + 0x44]
add ebp, ecx
call fcn.00401000
mov ebx, dword [esp + 0x10]
mov edi, dword [sym.imp.MSVCR90.dll_sscanf]
lea edx, [ebx + 4]
push edx
mov dword [ebx], eax
lea eax, [esp + 0x3c]
push str._08X
push eax
call edi
lea ecx, [ebx + 8]
push ecx
lea edx, [esp + 0x24]
push str._08X
push edx
call edi
lea eax, [ebx + 0xc]
push eax
lea ecx, [esp + 0x3c]
push str._08X
push ecx
call edi
add ebx, 0x10
push ebx
lea edx, [esp + 0x54]
push str._08X
push edx
call edi
add esp, 0x30
mov al, byte [esi]
cmp al, 0xd
je 0x402472
cmp al, 0xa
je 0x402472
cmp al, 0x20
jne 0x402476
inc esi
inc ebp
jmp 0x402464
mov ecx, dword [esp + 0x78]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.004098be
add esp, 0x6c
ret
Function at 0x403500
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
mov ecx, dword [0x438028]
push ebx
mov al, 0x90
push esi
mov byte [esp + 0x1c], al
mov byte [esp + 0x1d], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x20], al
push fcn.00401000
lea eax, [esp + 0x14]
push eax
push ecx
mov eax, 0x500000
mov ebx, 7
mov dword [esp + 0x18], 0
mov byte [esp + 0x1c], 0x8b
mov byte [esp + 0x1d], 0xc1
mov byte [esp + 0x1e], 0xf
mov byte [esp + 0x1f], 0x95
mov byte [esp + 0x20], 0xc2
mov byte [esp + 0x21], 0x89
mov byte [esp + 0x22], 0x15
call fcn.004011c0
mov esi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add esp, 0xc
lea edx, [esp + 0xc]
push edx
mov edx, dword [0x438028]
push 5
lea ecx, [esp + 0x24]
push ecx
sub eax, 5
push eax
push edx
call esi
mov ecx, dword [0x438028]
push fcn.00401000
lea eax, [esp + 0x14]
push eax
push ecx
mov eax, 0x500000
mov ebx, 8
mov byte [esp + 0x1c], 0x5f
mov byte [esp + 0x1d], 0xf
mov byte [esp + 0x1e], 0x95
mov byte [esp + 0x1f], 0xc2
mov byte [esp + 0x20], 0x5e
mov byte [esp + 0x21], 0x5d
mov byte [esp + 0x22], 0x89
mov byte [esp + 0x23], 0x15
call fcn.004011c0
add esp, 0xc
lea edx, [esp + 0xc]
push edx
mov edx, dword [0x438028]
push 5
lea ecx, [esp + 0x24]
push ecx
sub eax, 5
push eax
push edx
call esi
mov ecx, dword [0x438028]
push fcn.00401000
lea eax, [esp + 0x14]
push eax
push ecx
mov eax, 0x500000
mov ebx, 7
mov byte [esp + 0x1c], 0x8b
mov byte [esp + 0x1d], 0x44
mov byte [esp + 0x1e], 0x24
mov byte [esp + 0x1f], 0
mov byte [esp + 0x20], 0x33
mov byte [esp + 0x21], 0xd2
mov byte [esp + 0x22], 0x3d
call fcn.004011c0
add esp, 0xc
add eax, 6
lea edx, [esp + 0xc]
push edx
mov edx, dword [0x438028]
push 5
lea ecx, [esp + 0x24]
push ecx
push eax
push edx
call esi
mov al, 0x66
xor cl, cl
mov byte [esp + 0x10], al
mov byte [esp + 0x17], al
push fcn.00401000
lea eax, [esp + 0x14]
mov byte [esp + 0x19], cl
mov byte [esp + 0x1a], cl
mov ecx, dword [0x438028]
push eax
push ecx
mov eax, 0x500000
mov ebx, 0xc
mov byte [esp + 0x1d], 0x8b
mov byte [esp + 0x1e], 0x82
mov byte [esp + 0x1f], 8
mov byte [esp + 0x20], 1
mov byte [esp + 0x24], 0x3b
mov byte [esp + 0x25], 0x41
mov byte [esp + 0x26], 0x18
mov byte [esp + 0x27], 0x74
call fcn.004011c0
add esp, 0xc
lea edx, [esp + 0xc]
push edx
mov edx, dword [0x438028]
push 1
lea ecx, [esp + 0x13]
push ecx
add eax, 0xb
push eax
push edx
mov byte [esp + 0x1f], 0xeb
call esi
mov ecx, dword [esp + 0x24]
pop esi
pop ebx
xor ecx, esp
call fcn.004098be
add esp, 0x20
ret
Function at 0x4036f0
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [0x438084], 0
jne 0x40371a
call fcn.00407590
test al, al
jne 0x40371a
mov eax, dword [0x438094]
push 0
push str.kawaks_loader
push str.RemoteLoadLibrary__false.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [0x438084], 1
jne 0x403728
call fcn.00407500
cmp dword [0x438084], 2
jne 0x403759
push esi
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
push edi
mov edi, dword [0x438030]
nop
push edi
push 0x403b90
call esi
test eax, eax
jne 0x403740
mov edi, dword [0x438088]
call fcn.00404820
pop edi
pop esi
ret

Function at 0x403760
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [str.DllDbgView]
mov ecx, dword [0x40d434]
mov dx, word [0x40d438]
push ebx
mov dword [esp + 0x48], eax
mov al, byte [0x40d43a]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov byte [esp + 0x56], al
xor eax, eax
push edi
mov dword [esp + 0x10], eax
push eax
mov dword [esp + 0x58], ecx
mov word [esp + 0x5c], dx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], 0x4038f0
call esi
push 1
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
lea edx, [esp + 0xc]
lea ecx, [esp + 0x50]
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], 3
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x403830
push 0x10
lea eax, [esp + 0x54]
push eax
push 0x40d43c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.004098be
mov esp, ebp
pop ebp
ret
push 0
push 0
call esi
push eax
push 0
push 0
push 0x64
push 0xc8
push 0xc8
push 0xc8
push 0xcc0000
push str.DLL
lea ecx, [esp + 0x78]
push ecx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, dword [0x438018]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 1
push edx
call esi
mov eax, dword [0x438018]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [0x438094]
push 0
push ecx
call esi
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea edx, [esp + 0x40]
push edx
call esi
test eax, eax
je 0x4038cf
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
mov edi, edi
lea eax, [esp + 0x34]
push eax
call edi
lea ecx, [esp + 0x34]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [esp + 0x40]
push edx
call esi
test eax, eax
jne 0x4038b0
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004098be
mov esp, ebp
pop ebp
ret