joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453ef0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.0045a370
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x453fe9
lea ecx, [esp + 0x10]
push ecx
push str..htm
push closesocket
mov ecx, esi
call fcn.00454000
test eax, eax
jne 0x453fe9
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push closesocket
mov ecx, esi
call fcn.00454000
test eax, eax
jne 0x453fe9
lea edx, [esp + 0x10]
push 0x58a738
push edx
call fcn.00476590
mov esi, eax
add esp, 8
test esi, esi
jne 0x453fba
lea eax, [esp + 0x10]
push 0x58a734
push eax
call fcn.00476590
mov esi, eax
add esp, 8
test esi, esi
jne 0x453fba
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x453fbd
mov byte [esi], 0
push 0x589efc
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x454000
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x454062
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x45a2b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4975e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x45a360
mov eax, dword [0x58c090]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.00486a85
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.00486ad4
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.00486a31
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x45a347
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x45a347
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00486655
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x45d460
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x497a70
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x45d607
mov ecx, dword [0x58c090]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x45d55c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.0045c180
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.0048678e
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00486655
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x589efc
call fcn.004866c3
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.0045c540
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.0048678e
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.00486655
lea ecx, [esp + 0xc]
call fcn.00486b69
mov ecx, dword [esp + 0xc]
push 0x58a93c
push ecx
call fcn.004754b4
add esp, 8
test eax, eax
je 0x45d584
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x45d4bd
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.00486655
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00486655
jmp 0x45d60b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.0045d200
test eax, eax
push 0
je 0x45d5ef
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.0045b8a0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x45d5d5
cmp eax, 0x64
jg 0x45d5c3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x45d560
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x45d560
cmp eax, 0x64
jge 0x45d55c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x45d560
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.0045b8a0
mov esi, eax
jmp 0x45d560
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x45d615
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x466b80
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x466c23
test eax, eax
jbe 0x466c23
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x466c23
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x466bce
xor esi, esi
jmp 0x466bd4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x466bff
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00468b20
add esi, eax
push esi
mov ebx, esi
call fcn.00468b20
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x466be0
pop ebp
test edi, edi
pop edi
jne 0x466c23
test ebx, ebx
je 0x466c23
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00475e90
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x466d65
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x466e7d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x466e7d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004880e2
mov esi, eax
test esi, esi
je 0x466e7d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x466e7d
mov ecx, esi
call fcn.00466cd0
cmp edi, eax
jge 0x466e7d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x466e03
mov dword [esp + 0x34], 1
jmp 0x466e5e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x466e7d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00466280
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x468c90
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x468cf6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x468cf6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x468cd7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x469830
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00469980
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x469850
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x469831
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00469980
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x469850
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x469880
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4698d7
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x4698ed
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.00469910
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x469910
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x4699a0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4699e9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4
Function at 0x469e60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x498310
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00469a10
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00469a90
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00469a90
lea ecx, [esi + 0xc]
call fcn.004865e0
lea ecx, [esi + 0x10]
call fcn.004865e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0046c2c0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0046c2c0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0046c2c0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00486655
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00486655
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x46ab08
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x498538
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x46ab18
call fcn.0046b030
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x46abfb
cmp byte [edi], 0
je 0x46abfb
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x46ab3d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.00469830
test eax, eax
jne 0x46ab5d
push 0x58be20
lea ecx, [esi + 0x38]
call fcn.004867de
jmp 0x46abfb
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.00469880
test eax, eax
jne 0x46ab8c
mov ecx, esi
call fcn.00469980
push edi
add esi, 0x38
push 0x58bdfc
push esi
call fcn.00483fea
add esp, 0xc
jmp 0x46abfb
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0046b8b0
test eax, eax
je 0x46abf4
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0046acd0
test eax, eax
jne 0x46ac10
push edi
lea eax, [esi + 0x38]
push 0x58bdd8
push eax
call fcn.00483fea
add esp, 0xc
mov ecx, esi
call fcn.0046b030
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x46acb8
mov ecx, dword [0x58c090]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.00483fea
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.00469930
test eax, eax
jne 0x46ac7a
push 0x58bdbc
lea ecx, [esi + 0x38]
call fcn.004867de
jmp 0x46ac8a
push 0xfa
mov ecx, esi
call fcn.0046b8b0
test eax, eax
jne 0x46aca7
mov ecx, esi
call fcn.0046b030
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00486655
jmp 0x46abfb
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00486655
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x488a85
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x488abd
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00486afc
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00486ad4
jmp 0x488ac9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48a173
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48a1b5
call fcn.004901e8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48a1b5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48a1ac
xor eax, eax
jmp 0x48a1bd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048a1c3
pop edi
pop esi
pop ebx
ret 4

Function at 0x490718
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x490746
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x490764
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049067e
jmp 0x490764
mov eax, dword [esi + 0x14]
test eax, eax
je 0x490764
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049067e
test edi, edi
mov eax, edi
jne 0x49074e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
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 0x41fb93
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x41fba2
pop dword [ebp - 0x3c]
mov eax, 0x41fba2
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x418c0
push 0
mov eax, 0x4fa91336
sub eax, 0x4f66503a
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x42dd
xor esi, esi
add esi, eax
mov edx, 0x448800
add edx, dword [ebp - 0x3c]
mov edi, 0x4dea312e
sub edi, 0xc9a0bf50
xor dword [ebp - 0x24], 0x6ad9f188
mov ebx, dword [edx]
add dword [ebp - 0x28], ebx
xor ebx, edi
sub dword [ebp - 0x14], 0x78418d4
mov dword [esi], ebx
xor dword [ebp - 0xc], ebx
add esi, 4
add edx, 4
loop 0x41fbf2
add eax, 0xfe47
xor ebx, ebx
add ebx, eax
add eax, 0x13e4f9b0
sub eax, 0x13e4f9ab
mov ecx, 0x466233d9
add ecx, 0xb9ddcc27
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x405f20
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x406126
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
xor byte [esi + ebx], 0x13
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
add byte [esi + ebx], 0x98
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
add byte [esi + ebx], 0xb
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
add byte [esi + ebx], 0x61
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
xor byte [esi + ebx], 0xeb
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
xor byte [esi + ebx], 0x52
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
add byte [esi + ebx], 0x45
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
add byte [esi + ebx], 0x3e
add esp, 0x40
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
xor byte [esi + ebx], 0x5a
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
add byte [esi + ebx], 0xc4
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
add byte [esi + ebx], 0x4a
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
add byte [esi + ebx], 0x9c
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
add byte [esi + ebx], 0xea
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
add byte [esi + ebx], 0xba
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
add byte [esi + ebx], 0x86
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
add byte [esi + ebx], 0x5c
add esp, 0x40
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
add byte [esi + ebx], 0x58
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
add byte [esi + ebx], 0xb7
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
xor byte [esi + ebx], 0xb6
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
xor byte [esi + ebx], 0xe3
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
add byte [esi + ebx], 0xdc
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
add byte [esi + ebx], 0x83
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
add byte [esi + ebx], 0xc7
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
add byte [esi + ebx], 0x76
add esp, 0x40
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
add byte [esi + ebx], 0xca
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
add byte [esi + ebx], 0x54
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
xor byte [esi + ebx], 0xb9
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
add byte [esi + ebx], 0x8c
push 0x6f
push str._1d_:_DSuygac
call fcn.00407ea0
add byte [esi + ebx], 0xab
add esp, 0x28
inc esi
cmp esi, edi
jb 0x405f40
pop ebx
pop edi
pop esi
ret
Function at 0x41dde7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041da89

Function at 0x41ddf2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041dc18

Function at 0x41e1ec
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040c210
mov eax, dword [0x43f81c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041ba18
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41e22e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41e38a
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00428ee0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x441598]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041f3bc
mov ecx, dword [esi*4 + 0x441598]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41e383
cmp eax, dword [edi + ecx + 0x24]
jne 0x41e383
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41e383
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041f3bc
add esp, 0x14
test edx, edx
jl 0x41e383
jg 0x41e2f9
test eax, eax
jb 0x41e383
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41e383
jl 0x41e313
cmp dword [ebp - 0x1008], eax
ja 0x41e383
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41e331
test ebx, ebx
je 0x41e36a
cmp ecx, edi
jae 0x41e36a
mov al, byte [ecx]
cmp al, 0xd
jne 0x41e34b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41e357
cmp byte [ecx + 1], 0xa
jne 0x41e357
inc ecx
jmp 0x41e357
movzx eax, al
movsx eax, byte [eax + 0x43fab8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41e331
cmp edx, ebx
jne 0x41e331
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41e388
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040b48c
leave
ret