joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49ced0
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 0x49cf19
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 0x49d390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c1490
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.0049cf40
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0049cfc0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0049cfc0
lea ecx, [esi + 0xc]
call fcn.004b12f3
lea ecx, [esi + 0x10]
call fcn.004b12f3
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0049e550
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0049e550
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0049e550
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004b1368
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004b1368
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x49e740
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 0x49e7a6
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 0x49e7a6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x49e787
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4b374c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4b3784
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.004b17c3
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b179b
jmp 0x4b3790
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4b4e3a
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 0x4b4e7c
call fcn.004bacc5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b4e7c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b4e73
xor eax, eax
jmp 0x4b4e84
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b4e8a
pop edi
pop esi
pop ebx
ret 4

Function at 0x4bb1f5
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 0x4bb223
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4bb241
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004bb15b
jmp 0x4bb241
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4bb241
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004bb15b
test edi, edi
mov eax, edi
jne 0x4bb22b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x41ab80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ecx + 4]
xor eax, eax
push esi
push edi
mov edi, dword [ecx]
xor esi, esi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edi
mov dword [edi + 0x16], eax
test ebx, ebx
jle 0x41abbd
nop
movzx edx, byte [edi + esi]
mov ecx, eax
shr ecx, 0x18
inc esi
xor edx, ecx
shl eax, 8
xor eax, dword [edx*4 + 0x529540]
cmp esi, ebx
jl 0x41aba0
mov ecx, dword [ebp - 4]
mov ebx, dword [ecx + 0xc]
xor esi, esi
test ebx, ebx
jle 0x41abed
mov edi, dword [ecx + 8]
nop dword [eax]
movzx edx, byte [edi + esi]
mov ecx, eax
shr ecx, 0x18
inc esi
xor edx, ecx
shl eax, 8
xor eax, dword [edx*4 + 0x529540]
cmp esi, ebx
jl 0x41abd0
mov edi, dword [ebp - 8]
mov byte [edi + 0x16], al
mov ecx, eax
shr ecx, 8
mov byte [edi + 0x17], cl
mov ecx, eax
shr ecx, 0x10
mov byte [edi + 0x18], cl
shr eax, 0x18
mov byte [edi + 0x19], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41e760
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x988
mov eax, dword [0x5472f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push eax
lea eax, [ebp - 0x988]
mov edi, ecx
push eax
call fcn.004f1eb0
add esp, 8
lea eax, [ebp - 0x988]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41e84c
push 1
lea eax, [ebp - 0x988]
push eax
lea eax, [ebp - 0x370]
push eax
call fcn.004f1b20
push 1
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.004f1f40
add esp, 0x18
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x370]
push ecx
lea ecx, [edi + 0x634]
call fcn.0041f080
test eax, eax
je 0x41e84c
push ebx
lea ecx, [ebp - 0x370]
lea ebx, [edi + 0x1c]
mov eax, ecx
mov edx, ebx
sub edx, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x41e7f1
lea edx, [ebp - 0x64]
lea ecx, [edi + 0x328]
mov eax, edx
mov esi, ecx
sub esi, eax
nop dword [eax]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], al
test al, al
jne 0x41e810
push ecx
push ebx
lea ecx, [edi + 0x634]
mov dword [edi + 0x14], 0
call fcn.0041f170
pop ebx
mov dword [edi + 0x18], eax
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424b17
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00424b17
mov esp, ebp
pop ebp
ret 8

Function at 0x41eb70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
lea eax, [ebp - 4]
mov esi, ecx
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41eb9a
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
add dword [esi + 0x14], eax
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x41ebe0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
lea eax, [ebp - 4]
mov esi, ecx
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41ec0a
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
add dword [esi + 0x14], eax
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x422220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ecx + 0x64]
xor ebx, ebx
imul edi, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 4], ecx
test edi, edi
je 0x42228b
nop dword [eax]
mov edx, dword [ebp + 0xc]
mov eax, esi
shr eax, 1
movzx edx, byte [eax + edx]
lea eax, [ecx + 0xa8]
lea eax, [eax + ebx*8]
mov ecx, esi
push eax
mov eax, edx
shr edx, 4
and eax, 0xf
and cl, 1
cmove edx, eax
push edx
call fcn.004248c0
mov ecx, dword [ebp + 8]
add esp, 8
mov word [ecx + esi*2], ax
mov eax, ebx
mov ecx, dword [ebp - 4]
xor eax, 1
inc esi
cmp dword [ecx + 0x64], 2
cmovne eax, ebx
mov ebx, eax
cmp esi, edi
jb 0x422240
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x422c30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
xor esi, esi
mov eax, dword [edi + 0x64]
imul eax, dword [ebp + 0x10]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x422c8b
nop word [eax + eax]
push dword [edi + 0x8c]
lea eax, [edi + 0xa8]
lea eax, [eax + ebx*8]
push eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [esi + eax]
push eax
call fcn.00424940
mov ecx, dword [ebp + 8]
add esp, 0xc
mov word [ecx + esi*2], ax
mov eax, ebx
xor eax, 1
inc esi
cmp dword [edi + 0x64], 2
cmovne eax, ebx
mov ebx, eax
cmp esi, dword [ebp + 0x10]
jb 0x422c50
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x424350
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506d66
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5472f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 0x10]
mov dword [edi], vtable.CWaveStreamCtrl.0
call fcn.004487b0
mov dword [ebp - 4], 0
lea ecx, [edi + 0x30]
call fcn.0041e870
mov byte [ebp - 4], 1
lea ecx, [edi + 0x10]
mov eax, dword [ebp + 8]
mov dword [edi + 0x28], eax
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
mov dword [edi + 0x24], 0
mov dword [edi + 0x2c], eax
call fcn.0041ef10
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0xc], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x428ea0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
jne 0x428ebf
pop edi
mov eax, 0x80004003
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
xor eax, eax
lea esi, [edi + 4]
cmp edi, 0xc
cmove esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
movups xmmword [ebx], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
mov dword [ebp + 8], eax
test eax, eax
je 0x428f95
dec eax
test dword [ebp - 8], eax
jne 0x428f95
cmp dword [edi + 0x44], 1
jne 0x428f1a
push esi
mov edi, 0x8004020f
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x20]
cmp eax, dword [edi + 0x30]
jge 0x428f39
push esi
mov edi, 0x80040210
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
add ecx, eax
mov dword [ebp + 0x10], eax
mov eax, ecx
cdq
idiv dword [ebp + 8]
test edx, edx
je 0x428f55
mov eax, dword [ebp + 8]
sub eax, edx
add ecx, eax
sub ecx, dword [ebp + 0x10]
mov dword [edi + 0x34], ecx
mov dword [ebx + 4], ecx
mov ecx, dword [ebp + 0xc]
push esi
mov eax, dword [ecx]
mov dword [edi + 0x2c], eax
mov dword [ebx], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0x38], eax
mov dword [ebx + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x3c], eax
mov dword [ebx + 0xc], eax
mov dword [edi + 0x40], 1
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
mov edi, 0x8004020e
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42e510
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
mov dword [esi + 0x50], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x3c], eax
cmp eax, 0xffffffff
je 0x42e5d5
mov ecx, dword [ebp + 0x18]
push 0
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x42e5d5
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x48], 0x20000
mov dword [esi + 0x4c], 0
push ebx
test eax, eax
jl 0x42e592
jg 0x42e584
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x20000
jbe 0x42e595
mov ebx, 0x20000
mov dword [ebp - 4], 0
jmp 0x42e598
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [esi + 0x1c]
call fcn.00424b28
push ebx
call fcn.00424b6b
add esp, 8
mov dword [esi + 0x1c], eax
lea ecx, [ebp - 4]
push 0
push ecx
push ebx
push eax
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 4], ebx
pop ebx
je 0x42e5e2
push dword [esi + 0x1c]
call fcn.00424b28
add esp, 4
mov dword [esi + 0x1c], 0
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x14
push dword [esi + 0x38]
call fcn.00424b28
mov ecx, edi
add esp, 4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e5f2
sub ecx, edx
mov edx, 2
sar ecx, 1
lea eax, [ecx + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00424b6b
mov ecx, eax
add esp, 4
mov dword [esi + 0x38], ecx
movzx eax, word [edi]
lea edi, [edi + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x42e622
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x44], eax
xor eax, eax
pop edi
mov dword [esi + 0x24], ecx
mov dword [esi + 0x50], 1
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x42e670
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507448
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5472f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x50], 0
jne 0x42e6b9
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea esi, [edi + 4]
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov dword [ebp - 4], 0
cmp eax, dword [edi + 0x4c]
jl 0x42e70b
mov ebx, dword [ebp + 0xc]
jg 0x42e6de
cmp ebx, dword [edi + 0x48]
jbe 0x42e70b
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x42e6f5
push eax
call fcn.00424b28
add esp, 4
mov dword [edi + 0x1c], 0
push ebx
call fcn.00424b6b
add esp, 4
mov dword [edi + 0x1c], eax
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], 0
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [edi + 0x28]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [edi + 0x20]
mov dword [ebp - 0x10], eax
mov eax, edx
add eax, ecx
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x2c]
adc eax, 0
cmp eax, dword [edi + 0x24]
jl 0x42e73a
jg 0x42e736
cmp dword [ebp + 0xc], ebx
jbe 0x42e73a
sub ebx, edx
jmp 0x42e73c
mov ebx, ecx
lea eax, [edx + ebx]
mov ecx, dword [edi + 0x34]
xor edx, edx
div dword [edi + 0x30]
mov edx, eax
mov eax, dword [ebp - 0x10]
sub eax, ecx
cmp eax, edx
jae 0x42e75e
sub ecx, dword [ebp - 0x10]
add ecx, edx
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x40]
add ecx, eax
mov eax, dword [edi + 0x44]
push 0
adc eax, dword [edi + 0x2c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push ecx
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [edi + 0x1c]
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push dword [edi + 0x1c]
push dword [ebp + 8]
call fcn.0042fea0
mov ecx, dword [ebp + 0x14]
add esp, 0xc
add dword [edi + 0x28], ebx
adc dword [edi + 0x2c], 0
push esi
mov dword [ecx], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x42eff0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x80], 0
jne 0x42f040
push dword [esi + 0x7c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x42ed30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x80], eax
test eax, eax
jne 0x42f040
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x42f042
movzx eax, ax
or eax, 0x80070000
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43c6da
Capabilities:
Parse pe header

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

Function at 0x43ff0f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x511424
push 0x51141c
push str.FlsAlloc
push 0x1f
call fcn.0043fe0a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43ff43
push dword [ebp + 8]
mov ecx, esi
call dword [0x50d60c]
call esi
jmp 0x43ff49
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x43ff8d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x511434
push 0x51142c
push str.FlsGetValue
push 0x21
call fcn.0043fe0a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43ffc4
push dword [ebp + 8]
mov ecx, esi
call dword [0x50d60c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x43ffcc
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x51143c
push 0x511434
push str.FlsSetValue
push 0x22
call fcn.0043fe0a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x440006
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x50d60c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x440f82
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x5472f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x440fcd
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0044111d
test al, al
jne 0x440fc7
sub edx, 2
cmp edx, edi
jne 0x440fad
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x440fef
lea eax, [edi + 2]
cmp edx, eax
je 0x440fef
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00440ece
add esp, 0x10
jmp 0x4410e9
push esi
lea ecx, [ebp - 0x255]
call fcn.0044111d
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x441032
push dword [ebp - 0x25c]
jmp 0x440fdf
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x44106f
cmp word [ebp - 0x226], 0
je 0x441090
cmp word [ebp - 0x226], ax
jne 0x44106f
cmp word [ebp - 0x224], 0
je 0x441090
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00440ece
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4410dc
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x441049
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4410c4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4410e9
push 0x440cfe
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00436060
add esp, 0x10
jmp 0x4410b9
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00424b17
leave
ret
Function at 0x448880
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push 0xc
mov esi, ecx
call fcn.00424b2d
mov edx, dword [ebp + 8]
lea ecx, [esi + 8]
add esp, 4
mov dword [eax], edx
mov edx, dword [ebp + 0xc]
push ecx
push dword [ebp + 0x18]
mov dword [eax + 4], edx
push eax
push 0x448840
push dword [ebp + 0x14]
mov dword [eax + 8], esi
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [ebp + 0x10]
mov dword [esi + 4], eax
mov ecx, 0x2710
xor esi, esi
test eax, eax
push eax
cmove esi, ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x44a2b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov ebx, edx
test edi, edi
je 0x44a2e8
imul edx, dword [ecx], 0xe9
movzx eax, byte [esi + ebx]
add eax, edx
mov dword [ecx], eax
add byte [ecx + 4], al
xor byte [ecx + 5], al
movzx eax, byte [esi + ebx]
add byte [ecx + 6], al
movzx eax, byte [esi + ebx]
inc esi
xor byte [ecx + 7], al
cmp esi, edi
jb 0x44a2c1
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x44eb60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov eax, edx
mov dword [ebp - 8], ecx
mov ecx, dword [0x55fe10]
push edi
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00457540
test eax, eax
je 0x44ec89
call fcn.0044f6a0
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.0044f3c0
test eax, eax
je 0x44ec78
mov ecx, dword [eax + 0x20]
mov ebx, 1
call fcn.004fee00
test eax, eax
jne 0x44ebc5
mov ecx, edi
call fcn.0044ef10
test eax, eax
jne 0x44ebc5
xor ebx, ebx
mov esi, DirectSoundCreate8
jmp 0x44ebc8
mov esi, dword [ebp - 8]
call fcn.0044f690
test ebx, ebx
je 0x44ec6f
push 0x1c
call fcn.00424b2d
add esp, 4
mov esi, eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
push esi
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
push 0
push 0x44eca0
mov dword [esi + 8], 0
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0
call fcn.00435f2f
add esp, 0xc
cmp eax, 0xffffffff
je 0x44ec58
push 2
push eax
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [esi + 4], 0
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1c
push esi
call fcn.00424b5d
add esp, 8
mov eax, DirectSoundCreate8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0044f690
mov eax, 0x80000003
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x80000005
pop ebx
mov esp, ebp
pop ebp
ret