joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407970
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebx + 8]
mov edi, eax
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
cmp byte [ebx + 0x2f], 0
mov eax, dword [eax]
mov ecx, dword [ebx + 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
setne dl
mov byte [0x8a0048], dl
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x24]
push 1
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x78], ecx
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
call fcn.00409890
add esp, 4
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jge 0x4079dc
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebx]
mov ecx, dword [ebx + 4]
push edx
call fcn.0040d2c0
cmp byte [ebx + 0x2c], 0
jne 0x4079f5
push 0
call dword [sym.imp.USER32.dll_ShowCursor]
cmp byte [ebx + 0x28], 0
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [ebx + 0x4c], 1
je 0x407a49
movzx eax, byte [ebx + 0x2d]
mov ecx, dword [ebx + 0x14]
mov esi, dword [ebx]
push eax
mov eax, dword [ebx + 0x10]
push ecx
call fcn.00414ed0
test al, al
je 0x4079d1
lea esi, [ebx + 0x58]
mov ecx, esi
call fcn.00414d30
lea edx, [esi + 4]
push edx
push 0
push 0
push 0x4083f0
push 0
push 0
call edi
push 0xfffffffffffffff1
push eax
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call fcn.00401430
cmp byte [ebx + 0x29], 0
je 0x407a82
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push ecx
push edx
call fcn.0040d630
test al, al
je 0x4079d1
call fcn.0040d830
test al, al
je 0x4079d1
call fcn.0040d8f0
test al, al
je 0x4079d1
call fcn.0040dae0
cmp byte [ebx + 0x2a], 0
je 0x407a9b
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx]
push eax
call fcn.00418810
test al, al
je 0x4079d1
cmp byte [ebx + 0x2b], 0
je 0x407aa6
call fcn.0040e9a0
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [ebx + 0x74]
mov dword [ebx + 0x38], eax
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [ebx + 0x78]
xor esi, esi
cmp ecx, esi
je 0x407ac7
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x74]
mov dword [ebx + 0xb0], eax
mov dword [ebx + 0x80], esi
mov dword [ebx + 0x7c], esi
mov dword [ebx + 0xb4], 0xffffffff
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x10]
call eax
lea esi, [ebx + 0x6c]
mov ecx, esi
mov dword [ebx + 0x80], eax
call fcn.00414d30
lea ecx, [esi + 4]
push ecx
push 0
push 0
push 0x408440
push 0
push 0
call edi
push 0xfffffffffffffff1
mov edx, eax
push edx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
add ebx, 0x50
mov ecx, ebx
call fcn.00414d30
lea eax, [ebx + 4]
push eax
push 0
push 0
push 0x4083d0
push 0
push 0
call edi
pop edi
mov dword [ebx], eax
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x409890
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x89b660], eax
mov edx, 1
mov eax, 0x89b660
push esi
mov ecx, dword [eax]
mov esi, ecx
shr esi, 0x1e
xor esi, ecx
imul esi, esi, 0x6c078965
add esi, edx
mov dword [eax + 4], esi
add eax, 4
add edx, 1
cmp eax, 0x89c01c
jl 0x4098a4
mov dword [0x896b20], edx
pop esi
ret

Function at 0x4098d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x896b20]
cmp eax, 0x270
jl 0x4099b0
cmp eax, 0x271
jne 0x4098f4
push 0x1571
call fcn.00409890
add esp, 4
xor ecx, ecx
jmp 0x409900
mov eax, dword [ecx*4 + 0x89b664]
xor eax, dword [ecx*4 + 0x89b660]
add ecx, 1
and eax, 0x7fffffff
xor eax, dword [ecx*4 + 0x89b65c]
mov edx, eax
shr eax, 1
and edx, 1
xor eax, dword [edx*4 + 0x896d64]
xor eax, dword [ecx*4 + 0x89bc90]
cmp ecx, 0xe3
mov dword [ecx*4 + 0x89b65c], eax
jl 0x409900
cmp ecx, 0x26f
jge 0x409981
lea ecx, [ecx*4 + 0x89b660]
mov eax, dword [ecx]
xor eax, dword [ecx + 4]
add ecx, 4
and eax, 0x7fffffff
xor eax, dword [ecx - 4]
mov edx, eax
and edx, 1
mov edx, dword [edx*4 + 0x896d64]
xor edx, dword [ecx - 0x390]
shr eax, 1
xor edx, eax
cmp ecx, 0x89c01c
mov dword [ecx - 4], edx
jl 0x409950
mov ecx, dword [0x89c01c]
mov eax, dword [0x89b660]
xor eax, ecx
and eax, 0x7fffffff
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
xor eax, dword [ecx*4 + 0x896d64]
xor eax, dword [0x89bc90]
mov dword [0x89c01c], eax
xor eax, eax
mov ecx, dword [eax*4 + 0x89b660]
add eax, 1
mov edx, ecx
shr edx, 0xb
xor ecx, edx
mov dword [0x896b20], eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov edx, ecx
and edx, 0xffffdf8c
shl edx, 0xf
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
Function at 0x409b50
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x409b5d
xor eax, eax
pop esi
ret
push edi
call fcn.007fd3d0
mov edx, dword [esp + 0x10]
or edi, 0xffffffff
cmp edx, 8
jl 0x409c4e
push ebx
push ebp
mov ebp, edx
shr ebp, 3
mov ecx, ebp
neg ecx
lea edx, [edx + ecx*8]
movzx ebx, byte [esi]
and ebx, 0xffffffdf
xor ebx, edi
and ebx, 0xff
add esi, 1
mov ecx, edi
shr ecx, 8
xor ecx, dword [eax + ebx*4]
movzx ebx, byte [esi]
and ebx, 0xffffffdf
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [eax + ebx*4]
movzx ebx, byte [esi + 1]
and ebx, 0xffffffdf
xor ebx, ecx
and ebx, 0xff
add esi, 1
shr ecx, 8
xor ecx, dword [eax + ebx*4]
movzx ebx, byte [esi + 1]
and ebx, 0xffffffdf
xor ebx, ecx
and ebx, 0xff
add esi, 1
shr ecx, 8
xor ecx, dword [eax + ebx*4]
movzx ebx, byte [esi + 1]
and ebx, 0xffffffdf
xor ebx, ecx
add esi, 1
and ebx, 0xff
shr ecx, 8
xor ecx, dword [eax + ebx*4]
movzx ebx, byte [esi + 1]
add esi, 1
and ebx, 0xffffffdf
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [eax + ebx*4]
movzx ebx, byte [esi + 1]
add esi, 1
and ebx, 0xffffffdf
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [eax + ebx*4]
movzx ebx, byte [esi + 1]
add esi, 1
and ebx, 0xffffffdf
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [eax + ebx*4]
add esi, 1
sub ebp, 1
mov edi, ecx
jne 0x409b81
pop ebp
pop ebx
test edx, edx
je 0x409c6e
movzx ecx, byte [esi]
and ecx, 0xffffffdf
xor ecx, edi
and ecx, 0xff
shr edi, 8
xor edi, dword [eax + ecx*4]
add esi, 1
sub edx, 1
jne 0x409c52
mov eax, edi
pop edi
not eax
pop esi
ret
Function at 0x40d1d0
Capabilities:
Read file on windows

Disassembly:
mov ecx, dword [esp + 4]
jmp fcn.0041bb50

Function at 0x40ead0
Capabilities:
Log keystrokes via input method manager

Disassembly:
sub esp, 0x404
mov eax, dword [0x8943b8]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [0x8a02f0]
push ebx
push ebp
push 0xff
push 0x8a0af8
push 0x800
push eax
call sub.IMM32.dll_ImmGetCompositionStringA
mov ebp, eax
xor ebx, ebx
mov byte [ebp + 0x8a0af8], bl
mov ecx, dword [0x8a0d00]
lea edx, [ecx + 0x8a02f8]
push edx
lea eax, [esp + 0xc]
push 0x400
push eax
call fcn.00820c26
mov eax, 0x8a0af8
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40eb31
push esi
mov esi, dword [0x8a0d00]
mov ecx, 0x400
sub eax, edx
sub ecx, esi
cmp ecx, eax
push edi
jge 0x40eb53
mov eax, ecx
jmp 0x40eb6b
mov eax, 0x8a0af8
lea edi, [eax + 1]
jmp 0x40eb60
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x40eb60
sub eax, edi
push eax
push 0x8a0af8
push ecx
lea ecx, [esi + 0x8a02f8]
push ecx
call fcn.0082116b
mov esi, dword [0x8a0d00]
add esp, 0x10
add esi, ebp
lea eax, [esp + 0x10]
mov dword [0x8a0d00], esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40eb96
mov ecx, 0x400
sub eax, edx
sub ecx, esi
cmp ecx, eax
jge 0x40ebb0
mov eax, ecx
jmp 0x40ebc2
lea eax, [esp + 0x10]
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x40ebb7
sub eax, edi
push eax
lea edx, [esp + 0x14]
push edx
push ecx
lea eax, [esi + 0x8a02f8]
push eax
call fcn.0082116b
mov ecx, dword [0x8a0cf8]
add esp, 0x10
cmp dword [0x8a0d00], ecx
pop edi
pop esi
jle 0x40ebee
sub dword [0x8a0d00], ebp
mov al, byte [ecx + 0x8a02f7]
cmp al, 0x81
jb 0x40ec18
cmp al, 0xa0
jb 0x40ec04
cmp al, 0xe0
jb 0x40ec18
cmp al, 0xff
jae 0x40ec18
mov byte [ecx + 0x8a02f7], bl
mov ecx, dword [0x8a0cf8]
mov byte [ecx + 0x8a02f8], bl
jmp 0x40ec1e
mov byte [ecx + 0x8a02f8], bl
push 0x100
push ebx
push 0x8a0af8
call fcn.008201b0
mov ecx, dword [esp + 0x414]
add esp, 0xc
pop ebp
pop ebx
xor ecx, esp
mov byte [0x8a0cfd], 1
call fcn.0081fb35
add esp, 0x404
ret

Function at 0x40f2d0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push esi
mov esi, ecx
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x871244
push 0x104
push esi
call fcn.00820bb5
mov eax, dword [esp + 0x14]
push eax
push 0x104
push esi
call fcn.00820bb5
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
pop esi
je 0x40f318
test al, 0x10
jne 0x40f318
mov al, 1
ret 4
xor al, al
ret 4

Function at 0x40f340
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 8]
push ecx
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push ecx
push 0x871030
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
ret 0x10
Function at 0x40f420
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x854de0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x8943b8]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
push esi
mov eax, dword [0x8943b8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov ecx, edi
mov byte [edi + 0x2c], bl
mov byte [edi + 0x2d], bl
mov ebp, esi
call fcn.0040ffd0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x80], ebx
mov edx, 0xf
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov byte [esp + 0x80], 1
cmp byte [esi], bl
je 0x40f628
jmp 0x40f4a4
mov edx, dword [esp + 0x70]
mov al, byte [ebp]
movsx ecx, al
add ecx, 0xfffffff6
cmp ecx, 0x22
ja case.0x40f4bd.11
movzx ecx, byte [ecx + 0x40f678]
jmp dword [ecx*4 + 0x40f660]
mov byte [edi + 0x2c], 1
jmp 0x40f608
cmp byte [edi + 0x2c], bl
jne 0x40f608
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x20]
call fcn.0040fb10
lea esi, [esp + 0x58]
call fcn.0040f9f0
jmp 0x40f608
cmp byte [edi + 0x2d], bl
sete al
mov byte [edi + 0x2d], al
jmp 0x40f608
cmp byte [edi + 0x2d], bl
je 0x40f608
cmp byte [edi + 0x2c], bl
jne 0x40f608
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1c], al
call fcn.0040fe10
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x3c]
jmp 0x40f5fe
cmp byte [edi + 0x2d], bl
je 0x40f56e
cmp byte [edi + 0x2c], bl
jne 0x40f608
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x14], al
call fcn.0040fe10
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x5c]
jmp 0x40f5fe
cmp byte [edi + 0x2c], bl
jne 0x40f59f
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x20]
call fcn.0040fb10
lea esi, [esp + 0x58]
call fcn.0040f9f0
lea edx, [esp + 0x1c]
push edx
mov esi, edi
call fcn.0040fa60
lea ecx, [esp + 0x1c]
call fcn.004101b0
mov byte [edi + 0x2c], bl
jmp 0x40f608
cmp byte [edi + 0x2c], bl
jne 0x40f608
cmp edx, 0x10
mov ecx, dword [esp + 0x5c]
mov byte [esp + 0x14], al
mov eax, ecx
jae 0x40f5bc
lea eax, [esp + 0x5c]
mov esi, dword [esp + 0x6c]
add esi, eax
cmp esi, ebx
je 0x40f5ea
cmp edx, 0x10
mov eax, ecx
jae 0x40f5d1
lea eax, [esp + 0x5c]
cmp eax, esi
ja 0x40f5ea
cmp edx, 0x10
mov eax, ecx
jae 0x40f5e0
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x6c]
add eax, ecx
cmp esi, eax
jbe 0x40f5ef
call fcn.0081ff70
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x5c]
push esi
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x68]
call fcn.0040fc00
add ebp, 1
cmp byte [ebp], bl
jne 0x40f4a0
cmp dword [esp + 0x70], 0x10
jb 0x40f628
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0081f6fa
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.004101b0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0081fb35
add esp, 0x74
ret
Function at 0x413090
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x8943b8]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x108]
mov edi, 1
push eax
lea edx, [esp + 0x10]
mov dword [esi + 0x144], edi
mov dword [esi + 0x11c], 0x10
mov dword [esp + 0x20], 0xffffffff
call fcn.00413bb0
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 0x118], ebx
mov ecx, dword [eax]
mov dword [esi + 4], ecx
mov edx, dword [eax + 4]
mov dword [esi + 8], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0xc], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x10], edx
mov ecx, dword [eax]
mov dword [esi + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x18], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x1c], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x20], edx
call fcn.0041d8c0
test al, al
je 0x413161
push ebx
push 2
push 2
call dword [0x857288]
cmp eax, 0xffffffff
mov dword [esi + 0x28], eax
jne 0x413177
mov esi, 0x871288
call fcn.0041d9f0
push 0x896b94
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x89f9f0], ebx
jbe 0x413156
sub dword [0x89f9f0], edi
jne 0x413156
call dword [0x857268]
push 0x896b94
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0081fb35
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
mov ecx, esi
call fcn.00413300
test al, al
jne 0x4131a0
call fcn.0041d9c0
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0081fb35
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x78]
cmp eax, ebx
je 0x4131b3
push eax
call fcn.00820846
add esp, 4
mov dword [esi + 0x78], ebx
lea ecx, [esi + 0x168]
mov byte [esi + 0x74], 1
call fcn.00413c70
lea edi, [esi + 0x5c]
mov ecx, edi
call fcn.00414d30
lea eax, [edi + 4]
push eax
push ebx
push esi
push 0x417060
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
call ebx
push 0xf
mov ecx, eax
push ecx
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea edi, [esi + 0x64]
mov ecx, edi
call fcn.00414d30
lea edx, [edi + 4]
push edx
push 0
push esi
push 0x41da50
push 0
push 0
call ebx
push 0xf
push eax
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea edi, [esi + 0x6c]
mov ecx, edi
call fcn.00414d30
lea ecx, [edi + 4]
push ecx
push 0
push esi
push 0x417210
push 0
push 0
call ebx
mov ecx, dword [esp + 0x2c]
mov dword [edi], eax
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.0081fb35
mov esp, ebp
pop ebp
ret 8
Function at 0x413a00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x854c21
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x8943b8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor edi, edi
mov dword [esi], vtable.CHandleManager_struct_NET_PACKET_UDP_BUFFER_.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
lea ebx, [esi + 0x38]
mov ecx, ebx
mov byte [esp + 0x18], 2
call fcn.00412c80
mov dword [ebx + 4], eax
lea eax, [esi + 0x4c]
mov dword [ebx + 8], edi
push eax
mov dword [esi + 0x48], vtable.CCriticalSection.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x44], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x414cf0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.00414d30
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esi + 4]
push eax
push 0
push ecx
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
test eax, eax
mov dword [esi], eax
setne cl
mov al, cl
pop esi
ret 8
Function at 0x415610
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x854ba8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x8943b8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x13c]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
test eax, eax
je 0x41566d
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x10], 0x103
sete al
test al, al
jne 0x415817
lea eax, [edi + 0xe0]
lea ebx, [eax + 4]
push ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x38], 0
mov eax, dword [edi + 0x144]
cmp eax, 2
je 0x415810
cmp eax, 3
je 0x415810
mov si, word [ebp + 0x14]
cmp si, 0xffff
jae 0x4156f3
mov eax, dword [edi + 0x78]
test eax, eax
je 0x4156c0
push eax
call fcn.00820846
add esp, 4
test si, si
mov word [edi + 0x7c], si
je 0x4156ec
movzx edx, si
push edx
call fcn.007fb991
movzx ecx, word [edi + 0x7c]
mov edx, dword [ebp + 0x10]
add esp, 4
push ecx
push edx
push eax
mov dword [edi + 0x78], eax
call fcn.00820850
add esp, 0xc
jmp 0x4156f3
mov dword [edi + 0x78], 0
mov esi, dword [ebp + 8]
test esi, esi
mov eax, dword [edi + 0x78]
mov cx, word [edi + 0x7c]
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
mov word [esp + 0x20], cx
je 0x415763
mov edx, dword [ebp + 0xc]
push edx
mov word [edi + 0xa0], 2
call fcn.0081f6d0
push esi
mov word [edi + 0xa2], ax
call fcn.0081f6d6
cmp eax, 0xffffffff
mov dword [edi + 0xa4], eax
jne 0x415763
push esi
call fcn.0081f6ee
test eax, eax
je 0x415810
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x415810
mov eax, dword [eax]
mov dword [edi + 0xa4], eax
mov ecx, dword [edi + 0xa0]
mov edx, dword [edi + 0xa4]
mov eax, dword [edi + 0xa8]
lea ebx, [edi + 0xa0]
mov dword [edi + 0x3c], ecx
mov ecx, dword [ebx + 0xc]
mov dword [edi + 0x40], edx
mov edx, dword [ebx]
mov dword [edi + 0x44], eax
mov eax, dword [ebx + 4]
mov dword [edi + 0x4c], edx
mov edx, dword [ebx + 0xc]
mov dword [edi + 0x48], ecx
mov ecx, dword [ebx + 8]
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], ecx
lea esi, [edi + 0x14c]
mov dword [edi + 0x58], edx
call fcn.004164b0
push ebx
call fcn.00416430
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push 0x416030
mov ecx, esi
mov dword [edi + 0x144], 2
call fcn.00414cf0
cmp dword [esp + 0x28], 0
jne 0x4157ee
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, edi
mov ecx, dword [esi]
push 0x10
push ecx
call edi
cmp dword [esp + 0x28], 0
je 0x4157e0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x419a60
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x8546f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push edi
mov eax, dword [0x8943b8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0
call fcn.0040d1e0
test al, al
jne 0x419ad5
mov dword [esp + 0x1c], 0xffffffff
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x419abf
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
xor al, al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
add esp, 0x14
ret 4
mov ebp, dword [esp + 0x10]
mov edx, dword [ebp]
mov eax, dword [edx + 0x10]
mov ecx, ebp
call eax
test eax, eax
mov dword [esi + 4], eax
je 0x419b42
mov eax, dword [esi]
test eax, eax
je 0x419af9
push eax
call fcn.00820846
add esp, 4
mov ecx, dword [esi + 4]
add ecx, 1
push ecx
call fcn.007fb991
mov edx, dword [esi + 4]
mov dword [esi], eax
mov byte [eax + edx], 0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov edx, dword [ebp]
add esp, 4
push eax
mov eax, dword [edx + 4]
push ecx
mov ecx, ebp
call eax
mov eax, dword [esi]
xor edi, edi
cmp dword [esi + 4], edi
mov cl, 0x8b
mov dl, 0x71
jbe 0x419b42
nop
xor byte [eax], cl
add cl, dl
add edi, 1
add dl, 0x95
add eax, 1
cmp edi, dword [esi + 4]
jb 0x419b30
mov dword [esp + 0x1c], 0xffffffff
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
mov al, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
add esp, 0x14
ret 4
Function at 0x41c1f2
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
push edi
mov edi, dword [esp + 0x18]
lea ebx, [eax + ecx]
lea ebp, [edx + edi]
cmp ebx, ebp
jae 0x41c213
sub eax, edx
add eax, ecx
mov edi, eax
mov ebx, dword [esp + 0x14]
mov eax, dword [esi + 4]
push 0
lea ebp, [esi + 8]
push ebp
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebp, dword [ebp]
test ebp, ebp
jne 0x41c239
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 8
add dword [esi + 0x14], ebp
xor eax, eax
test edi, edi
jbe 0x41c24f
mov cl, byte [esi + 0x18]
xor byte [eax + ebx], cl
add eax, 1
cmp eax, edi
jb 0x41c242
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 8