joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cef0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
call fcn.0041cbb0
mov edx, dword [entry3]
test edx, edx
je 0x41d020
mov ebx, eax
test eax, eax
je 0x41d020
mov dword [eax + 0x24], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 0x3c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebx + 0x1c], 0xffffffff
mov dword [ebx + 0x18], eax
sub esp, 0x10
lea eax, [ebx + 0x38]
mov dword [esp], eax
call fcn.0041c6b0
cmp eax, 1
je 0x41d02c
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebx + 0x38], 0xffffffff
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x14], 0
call ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, eax
call ebp
lea edx, [ebx + 0x14]
mov dword [esp + 8], edi
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
sub esp, 0x1c
test eax, eax
je fcn.004ead76
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], eax
movzx eax, byte [ebx + 0x20]
sub esp, 4
and eax, 0xffffffcf
or eax, 0x10
mov byte [ebx + 0x20], al
mov eax, dword [0x4f3214]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
je 0x41d031
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x2c
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.0041c9d0
jmp fcn.004ead76

Function at 0x41d040
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub esp, 0x1c
call fcn.0041ce30
mov eax, dword [0x4f3214]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41d068
add esp, 0x1c
ret
add esp, 0x1c
jmp fcn.0041cef0
Function at 0x41d330
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x41d360
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x41d430
add esp, 0x1c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
cmp eax, 1
je 0x41d460
cmp eax, 3
jne 0x41d34b
mov eax, dword [0x4f3214]
cmp eax, 0xffffffff
je 0x41d34b
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41d34b
lea esi, [eax + 0x1c]
lea edi, [eax + 0x38]
test byte [eax + 0x20], 0x30
je 0x41d490
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x41d3a9
call fcn.0041d070
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x41d3db
mov dword [esp], eax
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebp
mov eax, dword [ebx + 0x18]
sub esp, 4
test eax, eax
je 0x41d3cd
mov dword [esp], eax
call ebp
sub esp, 4
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x14], 0
mov dword [esp], esi
call fcn.0041c4f0
mov dword [esp], edi
call fcn.0041c6b0
cmp eax, 1
je 0x41d556
mov eax, dword [ebx + 0xb0]
mov dword [ebx + 0x38], 0xffffffff
test eax, eax
je 0x41d54a
mov eax, dword [0x4f3214]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
jmp 0x41d34b
mov eax, dword [0x567bb0]
test eax, eax
je 0x41d34b
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov dword [0x567bb0], 0
sub esp, 4
jmp 0x41d34b
mov dword [esp + 4], 0x41c720
mov dword [esp], 1
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
sub esp, 8
mov dword [0x567bb0], eax
mov eax, 1
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov edx, dword [ebx + 0x68]
mov eax, dword [eax + 0x18]
test edx, edx
jne 0x41d500
test eax, eax
je 0x41d4aa
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [ebx + 0xb4]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x68], 1
test eax, eax
je 0x41d4c7
call fcn.0041d070
test byte [ebx + 0x24], 4
je 0x41d540
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x41d3db
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x14], 0
sub esp, 4
mov dword [esp], esi
call fcn.0041c4f0
jmp 0x41d3e3
test eax, eax
je 0x41d540
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x18], 0
sub esp, 4
mov dword [esp], esi
call fcn.0041c4f0
mov dword [esp], edi
call fcn.0041c6b0
cmp eax, 1
je 0x41d556
mov dword [ebx + 0x38], 0xffffffff
jmp 0x41d34b
mov dword [esp], esi
call fcn.0041c4f0
jmp 0x41d51f
mov eax, ebx
call fcn.0041cc70
jmp 0x41d409
call fcn.0041c9d0
lea esi, [esi]
nop
Function at 0x41d7f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [ebx]
test edx, edx
je 0x41d910
cmp eax, 1
je 0x41d844
mov eax, ebx
call fcn.0041c7b0
lea edi, [eax + 4]
mov esi, eax
mov dword [esp], edi
call fcn.0041c030
mov ebp, dword [ebx]
test ebp, ebp
je 0x41d850
cmp ebp, 1
jne 0x41d8e0
mov dword [esp], edi
call fcn.0041c370
test esi, esi
je 0x41d844
mov eax, esi
call fcn.0041cac0
add esp, 0x2c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x14], 0x41cb80
mov dword [esp + 0x18], esi
call fcn.0041ce30
mov eax, dword [0x4f3214]
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp], eax
call ebp
sub esp, 4
test eax, eax
je 0x41d948
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], eax
lock or dword [esp], 0
call fcn.0041ce30
mov eax, dword [0x4f3214]
mov dword [esp], eax
call ebp
sub esp, 4
test eax, eax
je 0x41d930
lea edx, [esp + 0x14]
mov dword [eax + 0xc], edx
lock or dword [esp], 0
call dword [esp + 0x44]
call fcn.0041ce30
mov eax, dword [0x4f3214]
mov dword [esp], eax
call ebp
sub esp, 4
test eax, eax
je 0x41d920
mov edx, dword [esp + 0x1c]
mov dword [eax + 0xc], edx
mov dword [ebx], 1
jmp 0x41d831
mov dword [esp], 2
call dword [0x4f3200]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ebx
mov dword [esp + 4], str._once__p_is__d_n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x41d831
add esp, 0x2c
mov eax, 0x16
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.0041cef0
test eax, eax
jne 0x41d8c8
jmp 0x4ead89
call fcn.0041cef0
test eax, eax
jne 0x41d8a2
jmp 0x4ead9b
call fcn.0041cef0
test eax, eax
jne 0x41d87c
jmp 0x4ead94
mov eax, dword [esp + 0x1c]
mov dword [0], eax
ud2
mov eax, dword [pe_dos_header]
ud2
lea eax, [esp + 0x14]
mov dword [0], eax
ud2

Function at 0x41dba0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.0041ce30
mov eax, dword [0x4f3214]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41dc18
lea ebp, [ebx + 0x38]
xor edi, edi
mov dword [esp], ebp
call fcn.0041c6c0
mov eax, dword [ebx + 0x28]
cmp dword [esp + 0x30], eax
jae 0x41dbf4
mov eax, dword [ebx + 0x30]
mov edx, dword [esp + 0x30]
cmp byte [eax + edx], 0
je 0x41dbf4
mov eax, dword [ebx + 0x2c]
mov edi, dword [eax + edx*4]
mov dword [esp], ebp
call fcn.0041c710
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.0041cef0
mov ebx, eax
jmp 0x41dbcb
Function at 0x41dc30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
call fcn.0041ce30
mov eax, dword [0x4f3214]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41dd50
lea edi, [ebx + 0x38]
mov dword [esp], edi
call fcn.0041c6c0
cmp esi, dword [ebx + 0x28]
jae 0x41dcb0
mov edx, dword [ebx + 0x2c]
mov eax, dword [esp + 0x44]
mov dword [edx + esi*4], eax
mov eax, dword [ebx + 0x30]
mov byte [eax + esi], 1
mov dword [esp], edi
call fcn.0041c710
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
sub esp, 4
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
lea ebp, [esi + 1]
lea eax, [ebp*4]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll_realloc
test eax, eax
je 0x41dd5c
mov dword [esp + 0x1c], eax
mov dword [esp + 4], ebp
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call sub.msvcrt.dll_realloc
mov edx, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x18], eax
je 0x41dd5c
mov ecx, dword [ebx + 0x28]
mov eax, ebp
mov dword [esp + 4], 0
mov dword [esp + 0x1c], edx
sub eax, ecx
lea ecx, [edx + ecx*4]
shl eax, 2
mov dword [esp], ecx
mov dword [esp + 8], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebx + 0x28]
mov edx, dword [esp + 0x18]
mov ecx, ebp
mov dword [esp + 4], 0
sub ecx, eax
add eax, edx
mov dword [esp + 8], ecx
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x28], ebp
mov dword [ebx + 0x2c], edx
mov dword [ebx + 0x30], eax
jmp 0x41dc78
call fcn.0041cef0
mov ebx, eax
jmp 0x41dc65
mov dword [esp], edi
call fcn.0041c710
mov eax, 0xc
jmp 0x41dca0

Function at 0x41dde0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
call fcn.0041ce30
mov eax, dword [0x4f3214]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41de08
mov eax, dword [eax + 0x18]
add esp, 0x1c
ret
call fcn.0041cef0
test eax, eax
jne 0x41ddfd
add esp, 0x1c
ret

Function at 0x41de70
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
call fcn.0041ce30
mov eax, dword [0x4f3214]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41de98
add eax, 0xc
add esp, 0x1c
ret
call fcn.0041cef0
test eax, eax
jne 0x41de8d
jmp 0x41de90
Function at 0x41ded0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x20]
call fcn.0041d040
mov dword [eax + 4], esi
mov ebx, eax
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x41def2
call fcn.0041d070
test byte [ebx + 0x20], 0x30
jne 0x41df0c
add ebx, 0x70
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll_longjmp]
mov eax, dword [0x4f3214]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
push edx
test eax, eax
je 0x41df4d
cmp dword [ebx + 0x14], 0
mov eax, dword [eax + 0x18]
je 0x41df8d
mov dword [ebx + 0x68], 1
mov esi, dword [ebx + 4]
test eax, eax
je 0x41df42
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
xor eax, eax
mov dword [ebx + 0x18], eax
test byte [ebx + 0x24], 4
jne 0x41df56
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__endthreadex]
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
push ecx
mov dword [ebx + 0x14], eax
mov eax, ebx
call fcn.0041ce10
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [0x4f3214]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push edx
push edx
jmp 0x41df4d
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x41dfa1
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
xor eax, eax
mov esi, dword [ebx + 4]
mov dword [ebx + 0x18], eax
jmp 0x41df6e

Function at 0x41dfb0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x567bdc]
test eax, eax
jne 0x41dfc0
xor eax, eax
ret
sub esp, 0x1c
call fcn.0041ce30
mov eax, dword [0x4f3214]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41e000
mov edx, dword [eax + 0x10]
test edx, edx
jle 0x41dff0
xor eax, eax
add esp, 0x1c
ret
test byte [eax + 0x20], 3
je 0x41dfe4
mov eax, dword [eax + 0x24]
and eax, 1
jmp 0x41dfe6
call fcn.0041cef0
test eax, eax
jne 0x41dfdd
jmp 0x41dfe4

Function at 0x41e010
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
call fcn.0041ce30
mov eax, dword [0x4f3214]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41e050
mov edx, dword [esp + 0x20]
test edx, edx
jle 0x41e040
lock add dword [eax + 0x10], 1
add esp, 0x1c
ret
lock sub dword [eax + 0x10], 1
add esp, 0x1c
ret
call fcn.0041cef0
test eax, eax
jne 0x41e02d
add esp, 0x1c
ret
Function at 0x41e150
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
call fcn.0041ce30
mov eax, dword [0x4f3214]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41e1c0
test byte [ebx + 0x20], 0xc
jne 0x41e180
mov eax, dword [0x567bdc]
test eax, eax
jne 0x41e190
add esp, 0x14
pop ebx
pop esi
ret
lea esi, [ebx + 0x1c]
mov dword [esp], esi
call fcn.0041c030
movzx eax, byte [ebx + 0x20]
test al, 3
je 0x41e1b2
mov edx, dword [ebx + 0x24]
test dl, 1
je 0x41e1b2
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jle 0x41e1d1
mov dword [esp], esi
call fcn.0041c370
add esp, 0x14
pop ebx
pop esi
ret
call fcn.0041cef0
mov ebx, eax
test eax, eax
jne 0x41e171
add esp, 0x14
pop ebx
pop esi
ret
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [ebx + 0x24], edx
mov byte [ebx + 0x20], al
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x41e1f1
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push eax
mov dword [esp], esi
call fcn.0041c370
call fcn.0041e060
nop
push edi
push esi
push ebx
sub esp, 0x10
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41e280
mov dword [esp], eax
call fcn.0041bd70
mov edi, eax
mov eax, 0xfffffffe
cmp eax, edi
mov eax, 0
sbb eax, edx
jb 0x41e2c0
call fcn.0041ce30
mov eax, dword [0x4f3214]
mov esi, edi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41e320
test edi, edi
je 0x41e29a
call fcn.0041e150
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x41e2f8
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0041be80
call fcn.0041e150
add esp, 0x10
xor eax, eax
pop ebx
pop esi
pop edi
ret
call fcn.0041ce30
mov eax, dword [0x4f3214]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41e310
call fcn.0041e150
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
call fcn.0041e150
add esp, 0x10
xor eax, eax
pop ebx
pop esi
pop edi
ret
call fcn.0041ce30
mov eax, dword [0x4f3214]
mov esi, 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
jne 0x41e252
call fcn.0041cef0
mov ebx, eax
jmp 0x41e252
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
jmp 0x41e26e
call fcn.0041cef0
jmp 0x41e29a
call fcn.0041cef0
mov ebx, eax
jmp 0x41e24e
Function at 0x420d30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xbc
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp], esi
call fcn.00483bc0
inc eax
cmp al, 1
jbe 0x420f4f
mov ebx, dword [edi]
lea edx, [ebp - 0x54]
mov eax, dword [edi + 4]
mov dword [ebp - 0x5c], edx
test ebx, ebx
jne 0x420d72
test eax, eax
je 0x420d72
mov dword [esp], 0x4f60a8
call fcn.004e5268
add eax, eax
mov ecx, eax
sar ecx, 1
mov dword [ebp - 0x78], ecx
cmp eax, 0xe
jbe 0x420d9f
xor edx, edx
lea eax, [ebp - 0x78]
mov dword [ebp - 0x8c], ecx
call fcn.004bfdf0
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x54], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.004beff0
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x58], eax
mov word [edx + eax*2], 0
call fcn.00487a00
lea ecx, [ebp - 0x5c]
call fcn.00486a60
jmp 0x420df9
mov dword [esp], esi
lea ebx, [ebp - 0x78]
mov ecx, ebx
call fcn.0042a7c0
push eax
lea eax, [ebp - 0x5c]
mov ecx, ebx
mov dword [esp], eax
call fcn.00429a90
mov ecx, ebx
push edx
mov dword [ebp - 0x8c], eax
call fcn.00489978
lea ecx, [ebp - 0x5c]
call fcn.00489978
mov eax, dword [ebp - 0x8c]
test eax, eax
jne 0x420e86
lea eax, [ebp - 0x5c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004206f0
xor ecx, ecx
lea eax, [ebp - 0x5c]
mov byte [0x4f5e38], 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], ecx
mov eax, dword [esi]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
sub esp, 0x28
jmp 0x420f4f
mov dword [esp], esi
call fcn.00483bc0
cmp al, 2
jne 0x420f4f
xor edx, edx
mov byte [esp + 4], 0
lea ecx, [ebp - 0x80]
mov dword [esp + 8], edx
mov dword [esp], esi
call fcn.00484870
mov eax, dword [ebp - 0x80]
sub esp, 0xc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x420ec3
lock inc dword [eax + 4]
mov dword [esp], ebx
lea ecx, [ebp - 0x5c]
call fcn.00490c70
lea ecx, [ebp - 0x74]
push eax
call fcn.004a2380
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x420eeb
lock inc dword [eax + 4]
lea ecx, [ebp - 0x74]
call fcn.004a2380
cmp dword [ebp - 0x58], 0
je 0x420f17
lea ecx, [ebp - 0x5c]
call fcn.00427c20
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00420d30
lea ecx, [ebp - 0x5c]
call fcn.00484bb0
jmp 0x420ef3
lea ecx, [ebp - 0x58]
call fcn.004a2380
lea ecx, [ebp - 0x7c]
call fcn.004a2380
jmp 0x420f4f
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4237c0
Capabilities:
Create directory

Disassembly:
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x10
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wmkdir]
test eax, eax
jne 0x4237f8
call fcn.004ae5d0
mov dword [ebx], 0
mov dword [ebx + 4], eax
add esp, 0x10
mov eax, 1
pop ebx
pop esi
pop edi
ret
call dword [sym.imp.msvcrt.dll__errno]
mov edi, dword [eax]
cmp edi, 0x11
je 0x423820
call fcn.004ae5e0
mov dword [ebx], edi
mov dword [ebx + 4], eax
xor eax, eax
add esp, 0x10
pop ebx
pop esi
pop edi
ret
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.00483c00
cmp al, 2
jne 0x423805
xor eax, eax
jmp 0x423811

Function at 0x423cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push edx
mov dword [ecx], 0x67757440
mov word [ecx + 4], 0x7b
call sub.msvcrt.dll_rand
xor eax, eax
lea edx, [eax + 5]
xor byte [ebx + eax], dl
inc eax
cmp eax, 5
jne 0x423cea
pop eax
pop ebx
pop ebp
ret
Function at 0x424190
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ecx, 0x1a
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x80]
mov esi, 0x4f623d
push ebx
sub esp, 0x9c
mov eax, dword [str.not_enough_space_for_format_expansion__Please_submit_full_bug_report_at_https:__gcc.gnu.org_bugs__:_n]
mov dword [ebp - 0x81], eax
mov eax, dword [0x4f62a1]
mov dword [ebp - 0x1c], eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp + 8]
lea eax, [edx + 0x84]
and eax, 0xfffffff0
call fcn.0040bc10
mov ecx, 0x1a
sub esp, eax
lea esi, [ebp - 0x81]
mov dword [ebp - 0x8c], edx
lea ebx, [esp + 0x1b]
and ebx, 0xfffffff0
mov edi, ebx
lea eax, [ebx + 0x68]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x8c]
mov byte [ebx + edx + 0x68], 0
mov dword [esp], ebx
call fcn.004e5268
nop
nop
nop
nop
nop
nop
nop
push edi
push esi
push ebx
sub esp, 0x20
cmp byte [0x4f45b0], 0
jne 0x4242b6
mov byte [0x4f45b0], 1
call fcn.004e3fa0
test eax, eax
je 0x424284
mov ebx, dword [eax + 4]
xor eax, eax
cmp byte [ebx], 0x2a
mov dword [esp + 8], 0
sete al
mov dword [esp + 4], 0
add ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call fcn.0040ab00
mov dword [esp], 2
mov esi, dword [fcn.0041a310]
mov edi, eax
call esi
mov dword [esp + 8], 0x30
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
call sub.msvcrt.dll_fwrite
mov edx, dword [esp + 0x1c]
mov dword [esp], 2
test edx, edx
je 0x424274
call esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4f61fd
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4e5158
jmp 0x4e5150
call esi
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
jmp 0x42423a
mov dword [esp], 2
call dword [0x4f3200]
mov dword [esp + 8], 0x2d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
call sub.msvcrt.dll_fwrite
jmp 0x4e514b
mov dword [esp], 2
call dword [0x4f3200]
mov dword [esp + 8], 0x1d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
push ebx
mov ebx, ecx
sub esp, 0x18
mov dword [ecx], 0x51ab10
call fcn.004d7420
mov dword [esp], ebx
mov dword [esp + 4], 4
call fcn.004e3d30
add esp, 0x18
pop ebx
ret
Function at 0x4839b0
Capabilities:
Delete directory
Delete file

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.004808e0
test al, al
je 0x483a0b
cmp al, 0xff
je 0x483a18
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.00483c00
cmp al, 2
je 0x483a30
mov eax, dword [esi]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
sub esp, 4
test eax, eax
jne 0x483a42
mov eax, dword [ebx]
test eax, eax
jne 0x483a0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.004ae5d0
mov dword [ebx], esi
mov dword [ebx + 4], eax
add esp, 0x14
xor eax, eax
pop ebx
pop esi
ret
call fcn.004ae5d0
mov dword [ebx], 0
mov dword [ebx + 4], eax
jmp 0x483a0b
mov eax, dword [esi]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
sub esp, 4
test eax, eax
je 0x4839e1
call fcn.004ae5d0
mov dword [ebx], 0
mov dword [ebx + 4], eax
add esp, 0x14
mov eax, 1
pop ebx
pop esi
ret

Function at 0x483ab0
Capabilities:
Move file

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.00483c00
cmp al, 0xff
je 0x483b18
mov ecx, dword [ebx]
test ecx, ecx
jne 0x483b0e
test al, al
jne 0x483b30
mov dword [esp + 8], 3
mov eax, dword [esi]
mov dword [esp + 4], eax
mov eax, dword [edi]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
sub esp, 0xc
test eax, eax
je 0x483b80
call fcn.004ae5d0
mov dword [ebx], 0
mov dword [ebx + 4], eax
add esp, 0x20
pop ebx
pop esi
pop edi
ret
call fcn.004ae5d0
mov dword [ebx], 0
mov dword [ebx + 4], eax
jmp 0x483adc
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 0x1c], eax
call fcn.00483c00
mov edx, dword [ebx]
test edx, edx
jne 0x483b0e
mov ecx, dword [esp + 0x1c]
cmp cl, 2
je 0x483b68
cmp al, 2
jne 0x483adc
call fcn.004ae5e0
mov dword [ebx], 0x14
mov dword [ebx + 4], eax
jmp 0x483b0e
cmp al, 2
je 0x483adc
call fcn.004ae5e0
mov dword [ebx], 0x15
mov dword [ebx + 4], eax
jmp 0x483b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.msvcrt.dll__errno]
cmp eax, 5
je 0x483bb0
call edi
mov dword [eax], 5
call fcn.004ae5e0
mov esi, eax
call edi
mov eax, dword [eax]
mov dword [ebx + 4], esi
mov dword [ebx], eax
add esp, 0x20
pop ebx
pop esi
pop edi
ret
call edi
mov dword [eax], 0xd
jmp 0x483b99