joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ad45
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp dword [ebp + 8], 0
je 0x40adbd
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
call sub.MSVCRT.dll_wcsncpy
xor eax, eax
mov word [ebp - 4], ax
lea eax, [ebp - 0x20c]
push eax
call sub.MSVCRT.dll_wcslen
lea ecx, [ebp - 0x20c]
add esp, 0x10
lea eax, [ecx + eax*2]
jmp 0x40ad9e
movzx ecx, word [eax - 2]
cmp ecx, 0x20
je 0x40ad9b
cmp ecx, 0x5c
je 0x40ad9b
cmp ecx, 0x2f
jne 0x40ada8
add eax, 0xfffffffe
lea ecx, [ebp - 0x20c]
cmp eax, ecx
ja 0x40ad88
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x40adbf
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x40adc5
Capabilities:
Set file attributes

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
je 0x40add3
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
ret 8

Function at 0x40ae39
Capabilities:
Delete file
Set file attributes

Disassembly:
cmp dword [esp + 4], 0
je 0x40ae62
test byte [esp + 8], 2
je 0x40ae56
push pe_nt_image_headers32
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40ae64
xor eax, eax
ret 8

Function at 0x40b0c0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp dword [esi + 0x14], 0
jne 0x40b0fc
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4
xor eax, eax
pop esi
pop ecx
ret 4

Function at 0x40b500
Capabilities:
Write file on windows

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
mov dword [esp], 0
test edx, edx
je 0x40b5f4
cmp word [edx], 0
je 0x40b5f4
mov ecx, dword [esp + 0x10]
push esi
cmp ecx, 0x19
jne 0x40b58d
mov esi, dword [esp + 0xc]
mov ecx, edx
push edi
cmp dword [esi + 4], 0
lea edi, [ecx + 2]
je 0x40b560
jmp 0x40b540
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b540
sub ecx, edi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push esi
call fcn.0040b6a0
pop edi
pop esi
pop ecx
ret 0xc
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b560
sub ecx, edi
lea eax, [esp + 8]
push 0
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
push edx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
xor eax, eax
cmp ecx, 2
lea ecx, [esp + 0x10]
setne al
push ecx
dec eax
and eax, 0xfde9
push edx
push eax
call fcn.0040b7b0
mov esi, eax
test esi, esi
je 0x40b5eb
mov eax, dword [esp + 0xc]
cmp dword [eax + 4], 0
je 0x40b5c8
push dword [esp + 0x10]
push esi
push eax
call fcn.0040b6a0
mov dword [esp + 4], eax
jmp 0x40b5dc
push 0
lea ecx, [esp + 8]
push ecx
push dword [esp + 0x18]
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
push 0
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 0xc
xor eax, eax
pop ecx
ret 0xc
Function at 0x40b630
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
mov dword [esp + 4], 0
test esi, esi
je 0x40b695
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x40b68d
push dword [esp + 0x10]
push dword [0x418784]
call fcn.0040dad9
test eax, eax
je 0x40b683
cmp dword [eax + 4], 0
je 0x40b672
push edi
push esi
push eax
call fcn.0040b6a0
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea ecx, [esp + 0xc]
push ecx
push edi
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
pop edi
xor eax, eax
pop esi
pop ecx
ret 0xc
xor eax, eax
pop esi
pop ecx
ret 0xc

Function at 0x40b6a0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
mov dword [esp + 4], 0
cmp dword [esi + 0x1c], 0
jne 0x40b7a7
cmp dword [esi + 0x14], 1
jne 0x40b6eb
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0xc]
push 1
neg eax
cdq
push ecx
push eax
push dword [esi]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esi + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
push edi
mov edi, dword [esp + 0x20]
cmp eax, edi
jle 0x40b768
mov ecx, dword [esi + 8]
add ecx, dword [esi + 4]
sub ecx, eax
mov eax, edi
dec eax
je 0x40b753
dec eax
je 0x40b73c
sub eax, 2
je 0x40b727
push edi
push dword [esp + 0x20]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x1c]
mov ax, word [eax]
mov word [ecx], ax
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x1c]
mov al, byte [eax]
mov byte [ecx], al
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
push esi
call fcn.0040b0c0
mov eax, dword [esi + 8]
cmp edi, eax
jl 0x40b795
push 0
lea eax, [esp + 0xc]
push eax
push edi
push dword [esp + 0x28]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0xc
ret 0xc
mov ecx, dword [esi + 4]
sub ecx, dword [esi + 0xc]
push edi
push dword [esp + 0x20]
add ecx, eax
jmp 0x40b711
xor eax, eax
pop esi
add esp, 0xc
ret 0xc

Function at 0x40b991
Capabilities:
Hash data using sha1

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
and dword [ecx + 0x18], 0
and dword [ecx + 0x14], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x5c], eax
ret
Function at 0x40cef0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

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

Disassembly:
push edi
push dword [0x418678]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x40d9c9
push esi
push dword [0x418674]
push 8
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
push edi
push dword [0x418678]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esi, dword [0x418670]
jmp 0x40d9b9
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40d9b7
mov eax, dword [esi + 8]
add eax, edi
push eax
call ecx
pop ecx
mov esi, dword [esi]
test esi, esi
jne 0x40d9a7
push edi
push 0x40d906
call fcn.00412722
pop esi
mov eax, dword [esp + 8]
add eax, edi
pop edi
ret 4

Function at 0x40d9d3
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
mov ecx, esi
push edi
and ecx, 3
je 0x40d9e9
push 4
pop eax
sub eax, ecx
add esi, eax
mov eax, dword [0x418674]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x40da20
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
push 8
push dword [0x418068]
mov dword [0x418678], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
push dword [0x418678]
call ebx
mov eax, dword [0x418674]
mov edi, eax
add eax, esi
push eax
push dword [0x418678]
mov dword [0x418674], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
push 8
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ebp, eax
push ebp
push dword [0x418678]
call ebx
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test esi, esi
jne 0x40da60
test ebx, ebx
je 0x40da81
push 0x14
push 0x418670
call fcn.0040e1f2
pop ecx
pop ecx
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
test esi, esi
je 0x40da81
lea ecx, [edi + ebp]
push ecx
call esi
pop ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x40e560
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x417168]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
sub edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x40e5a6
mov ecx, dword [ebp - 4]
add ecx, 0xa
push ecx
push 0
mov edx, dword [0x418788]
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x40e5c7
mov edx, dword [ebp - 4]
add edx, 0xa
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0
mov edx, dword [0x418788]
push edx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
shr edx, 1
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.0040ea40
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], edx
mov esp, ebp
pop ebp
ret 8

Function at 0x40e720
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x417168]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
add edx, 2
mov eax, dword [ebp - 4]
mov dword [eax + 8], edx
mov esp, ebp
pop ebp
ret

Function at 0x40e750
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x417168]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
mov edx, dword [ebp - 4]
add eax, dword [edx + 8]
mov esp, ebp
pop ebp
ret

Function at 0x40e880
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x417168]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx]
jb 0x40e8be
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 8]
cmp dword [ebp + 8], ecx
ja 0x40e8be
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
sub ecx, dword [eax]
add ecx, 1
mov eax, ecx
jmp 0x40e8c0
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x40e8d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x417168]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
add eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x40e900
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x417168]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0xffffffff
jne 0x40e924
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
lea eax, [ecx + edx*2]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
sub edx, 4
cmp dword [ebp - 8], edx
jl 0x40e974
mov eax, dword [ebp - 8]
add eax, 0x4000
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
add eax, 0xa
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x418788]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x40e9bc
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0x100000
jle 0x40e9bc
cmp dword [ebp - 8], 0x100000
jge 0x40e990
mov dword [ebp - 8], 0x100000
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
add eax, 0xa
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x418788]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx*2]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8

Function at 0x40ea90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x417168]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
shl ecx, 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
sub eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov esp, ebp
pop ebp
ret 4

Function at 0x40ede0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x417168]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 8]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x412722
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4186e0], 0
push ebx
push esi
mov esi, 0x4186e8
jne 0x41274e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x418700], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4186e0], 1
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4127eb
push 0x14
push 8
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412815
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4186e4]
test eax, eax
je 0x412790
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4186e4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41281a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412815
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8
Function at 0x402560
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
jmp 0x4025a3
inc dword [ebp - 0x24]
mov dword [ebp - 0x2c], 0xdc01ee92
jmp 0x4025c0
mov dword [ebp - 0x2c], 0x5d9e5662
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x2c]
cmp eax, 0x96d95c35
jg 0x4025e0
cmp eax, 0x8a0acc16
jne 0x4025c0
jmp 0x402784
cmp eax, 0xb2a6b0cc
jg 0x4025f0
cmp eax, 0x96d95c36
jne 0x4025c0
jmp 0x4025a0
cmp eax, 0xdc01ee91
jg 0x402600
cmp eax, 0xb2a6b0cd
jne 0x4025c0
jmp 0x4025ac
cmp eax, 0x186b7d3c
jg 0x402625
cmp eax, 0xdc01ee92
jne 0x4025c0
mov ecx, dword [ebp - 0x24]
mov eax, 0x43c4dc63
cmp ecx, dword [ebp - 0x1c]
jb 0x402620
mov eax, 0x8a0acc16
mov dword [ebp - 0x2c], eax
jmp 0x4025c0
cmp eax, 0x1cc7548f
jg 0x40263c
cmp eax, 0x186b7d3d
jne 0x4025c0
mov dword [ebp - 0x2c], 0xb2a6b0cd
jmp 0x4025c0
cmp eax, 0x5f9c7d69
jg 0x402689
cmp eax, 0x5d9e5661
jg 0x4026c9
cmp eax, 0x4b44403c
jg 0x4026e0
cmp eax, 0x43c4dc62
jg 0x40273d
cmp eax, 0x1cc75490
je 0x402754
cmp eax, 0x1cfc0dc4
jne 0x40276d
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0x186b7d3d
jmp 0x4025c0
cmp eax, 0x5f9c7d6a
jne 0x4025c0
mov eax, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x18]
movzx eax, byte [ecx + eax]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
movzx esi, byte [edx + ecx]
mov edi, esi
not edi
and edi, eax
not eax
and eax, esi
or eax, edi
mov byte [edx + ecx], al
mov dword [ebp - 0x2c], 0x4b44403d
jmp 0x4025c0
cmp eax, 0x5d9e5662
jne 0x4025c0
mov dword [ebp - 0x2c], 0x96d95c36
jmp 0x4025c0
cmp eax, 0x4b44403d
jne 0x4025c0
mov eax, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x18]
movzx eax, byte [ecx + eax]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
movzx esi, byte [edx + ecx]
mov edi, esi
not edi
and edi, 0x66
and esi, 0x99
mov ebx, eax
not ebx
and ebx, 0x66
and eax, 0x99
add esi, edi
add eax, ebx
xor eax, esi
mov byte [edx + ecx], al
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x14]
sete byte [ebp - 0xd]
mov dword [ebp - 0x2c], 0x1cc75490
jmp 0x4025c0
cmp eax, 0x43c4dc63
jne 0x4025c0
mov dword [ebp - 0x2c], 0x4b44403d
jmp 0x4025c0
mov al, byte [ebp - 0xd]
test al, al
mov eax, 0x1cfc0dc4
jne 0x402765
mov eax, 0x186b7d3d
mov dword [ebp - 0x2c], eax
jmp 0x4025c0
cmp eax, 0x21042fc8
jne 0x4025c0
mov dword [ebp - 0x2c], 0xb2a6b0cd
jmp 0x4025c0
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4042e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
sub esp, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xbef86769
jmp 0x404320
mov dword [ebp - 0x18], 0x343f5744
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x18]
cmp eax, 0x7043673d
jg 0x404340
cmp eax, 0xa683068d
jg 0x404350
cmp eax, 0x88125b3b
jne 0x404320
jmp 0x4043db
cmp eax, 0x7043673e
jne 0x404320
jmp 0x404311
cmp eax, 0xbef86768
jg 0x40436e
cmp eax, 0xa683068e
jne 0x404320
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0x2150412
jmp 0x404320
cmp eax, 0x2150411
jg 0x404391
cmp eax, 0xbef86769
jne 0x404320
mov eax, 0x49948e58
cmp dword [ebp - 8], 0
je 0x40438c
mov eax, 0xa683068e
mov dword [ebp - 0x18], eax
jmp 0x404320
cmp eax, 0x2150412
je 0x4043b1
cmp eax, 0x343f5744
jne 0x4043bd
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0x88125b3b
jmp 0x404320
mov dword [ebp - 0x18], 0x343f5744
jmp 0x404320
cmp eax, 0x49948e58
jne 0x404320
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x18], 0x2150412
jmp 0x404320
mov eax, dword [ebp - 4]
add esp, 0x20
pop ebp
ret
Function at 0x40c600
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
lea ecx, [eax + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x40bfd0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004181f5
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0x2fd33b6a
jmp 0x40c660
mov dword [ebp - 0x10], 0xda3e6b89
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x10]
cmp eax, 0x65374666
jg 0x40c680
cmp eax, 0xae0c7c06
jg 0x40c690
cmp eax, 0x82868a99
jne 0x40c660
jmp 0x40c800
cmp eax, 0x65374667
jne 0x40c660
jmp 0x40c654
cmp eax, 0x2fd33b69
jg 0x40c6f4
cmp eax, 0x1de6d04f
jg 0x40c717
cmp eax, 0x19da1dad
jg 0x40c72e
cmp eax, 0xe8392146
jg 0x40c745
cmp eax, 0xda3e6b88
jg 0x40c75c
cmp eax, 0xaf23c15a
jg 0x40c773
cmp eax, 0xae0c7c07
jne 0x40c660
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
mov dword [ebp - 0x10], 0xe8392147
jmp 0x40c660
cmp eax, 0x2fd33b6a
jne 0x40c660
mov eax, 0x65374667
cmp dword [ebp - 4], 0
je 0x40c70f
mov eax, 0xaf23c15b
mov dword [ebp - 0x10], eax
jmp 0x40c660
cmp eax, 0x1de6d050
jne 0x40c660
mov dword [ebp - 0x10], 0xbab333f7
jmp 0x40c660
cmp eax, 0x19da1dae
jne 0x40c660
mov dword [ebp - 0x10], 0xda3e6b89
jmp 0x40c660
cmp eax, 0xe8392147
jne 0x40c660
mov dword [ebp - 0x10], 0xbab333f7
jmp 0x40c660
cmp eax, 0xda3e6b89
jne 0x40c660
mov dword [ebp - 0x10], 0x1de6d050
jmp 0x40c660
cmp eax, 0xbab333f6
jg 0x40c791
cmp eax, 0xaf23c15b
jne 0x40c660
mov dword [ebp - 0x10], 0xae0c7c07
jmp 0x40c660
cmp eax, 0xbab333f7
je 0x40c7c2
cmp eax, 0xc46ab13e
jne 0x40c7da
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
mov dword [ebp - 0x10], 0xae0c7c07
jmp 0x40c660
mov eax, 0xc5680809
cmp dword [ebp - 0xc], 0
jne 0x40c7d2
mov eax, 0x82868a99
mov dword [ebp - 0x10], eax
jmp 0x40c660
cmp eax, 0xc5680809
jne 0x40c660
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [ebp - 0x10], 0x82868a99
jmp 0x40c660
add esp, 0x28
pop ebp
ret
Function at 0x40e2f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov eax, dword [0x40f8b8]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], 0x247f3a3e
jmp 0x40e330
mov dword [ebp - 0x20], 0x23b18714
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x20]
cmp eax, 0xa11fbdbc
jg 0x40e350
cmp eax, 0x89989400
jne 0x40e330
jmp 0x40e323
cmp eax, 0xac07132c
jg 0x40e3b0
cmp eax, 0xa11fbdbd
jne 0x40e330
mov dword [esp], 0
call fcn.0040e510
mov dword [esp], eax
call fcn.00417c82
mov eax, dword [ebp - 0x14]
movzx esi, word [eax]
mov dword [esp], eax
call fcn.00404a40
mov ecx, dword [ebp - 0x14]
movzx edi, word [ecx + eax*2 - 2]
add edi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
neg eax
sub eax, edi
neg eax
mov dword [ebp - 0x18], eax
mov ecx, 0x74c984e7
cmp eax, dword [ebp - 0x1c]
je 0x40e3a8
mov ecx, 0x3648ffca
mov dword [ebp - 0x20], ecx
jmp 0x40e330
cmp eax, 0xbc71c8ee
jg 0x40e3d5
cmp eax, 0xac07132d
jne 0x40e330
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0xe79dec24
jmp 0x40e330
cmp eax, 0xe79dec23
jg 0x40e3fa
cmp eax, 0xbc71c8ef
jne 0x40e330
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0xac07132d
jmp 0x40e330
cmp eax, 0x23b18713
jg 0x40e418
cmp eax, 0xe79dec24
jne 0x40e330
mov dword [ebp - 0x20], 0x23b18714
jmp 0x40e330
cmp eax, 0x77c588f7
jg 0x40e45a
cmp eax, 0x74c984e6
jg 0x40e471
cmp eax, 0x6f864674
jg 0x40e49b
cmp eax, 0x4486a8d1
jg 0x40e4b9
cmp eax, 0x247f3a3e
je 0x40e4d7
cmp eax, 0x3648ffca
jne 0x40e4ef
mov dword [ebp - 0x20], 0x6f864675
jmp 0x40e330
cmp eax, 0x77c588f8
jne 0x40e330
mov dword [ebp - 0x20], 0xac07132d
jmp 0x40e330
cmp eax, 0x74c984e7
jne 0x40e330
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4b50f8], eax
call fcn.00417c5f
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x23b18714
jmp 0x40e330
cmp eax, 0x6f864675
jne 0x40e330
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0x89989400
jmp 0x40e330
cmp eax, 0x4486a8d2
jne 0x40e330
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0x6f864675
jmp 0x40e330
mov eax, 0x77c588f8
cmp dword [ebp - 0xc], 0
je 0x40e4e7
mov eax, 0xa11fbdbd
mov dword [ebp - 0x20], eax
jmp 0x40e330
cmp eax, 0x23b18714
jne 0x40e330
mov eax, dword [ebp - 0x10]
add esp, 0x1c
pop esi
pop edi
pop ebp
ret