joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40380b
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x403834
cmp al, 0x22
je 0x40382c
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x403820
cmp byte [esi], 0x22
jne 0x40383e
inc esi
jmp 0x40383e
cmp al, 0x20
jle 0x40383e
inc esi
cmp byte [esi], 0x20
jg 0x403838
mov al, byte [esi]
test al, al
je 0x403848
cmp al, 0x20
jle 0x403831
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
call fcn.004038b6
push 0x405004
push section..data
call fcn.0040389c
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x403878
movzx eax, word [ebp - 0x14]
jmp 0x40387b
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.004038ce
push esi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x10028b70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x10028b7f
pop dword [ebp - 8]
mov eax, 0x852b181e
sub eax, 0x75288c9f
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x8e58b3ad
add dword [ebp - 0x18], 0xbff9919e
mov dword [ebp - 0x14], 0xe7873c18
sub dword [ebp - 0x14], 0xb553efd3
mov dword [ebp - 0x10], 0x2fa41702
add dword [ebp - 0x10], 0x1ca82d2c
mov dword [ebp - 0xc], 0x5560cd08
sub dword [ebp - 0xc], 0x5560cd08
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xd635e6a
add dword [ebp - 0x18], 0x670f0aec
mov dword [ebp - 0x14], 0xa0f6fe62
add dword [ebp - 0x14], 0xa0756313
mov dword [ebp - 0x10], 0x30bc0285
add dword [ebp - 0x10], 0x32b369e7
mov dword [ebp - 0xc], 0x49f58572
add dword [ebp - 0xc], 0xb60a7a8e
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x448a7aab
sub eax, 0x34868a5f
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x47f1f
push 0
call eax
mov ecx, 0xbd5d1918
add ecx, 0x42a33639
xor esi, esi
add esi, eax
mov edx, 0x5c3588a7
sub edx, 0x4c303aa7
add edx, dword [ebp - 8]
mov ebx, 0x43dc8a0c
sub ebx, 0xe6e2c4e6
sub dword [ebp - 4], 0x8ef3c6e1
mov edi, dword [edx]
xor dword [ebp - 4], 0xbc480b85
add edi, ebx
mov dword [ebp - 4], 0xd381ec42
mov dword [esi], edi
add dword [ebp - 4], 0x416ec9e
add esi, 0xfb5fbff8
sub esi, 0xfb5fbff4
add edx, 0x551179dd
sub edx, 0x551179d9
loop 0x10028c9e
add eax, 0x7214bf76
add eax, 0x8dec70a1
xor ebx, ebx
add ebx, eax
add eax, 0xed952db0
add eax, 0x126ad255
mov ecx, 0xffdcafba
add ecx, 0x10235046
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x100366e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e348
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1004e2d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1004e28c]
cmp eax, 0xffffffff
jne 0x10036716
xor ebx, ebx
jmp 0x1003671f
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x1003675f
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
test eax, eax
jne 0x1003679e
test esi, esi
jne 0x100367a2
push 0x10035270
push 0x1004fad8
call fcn.10028b70
mov eax, dword [0x1004e28c]
add esp, 8
cmp eax, 0xffffffff
je 0x1003675f
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1003678c
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1003678c
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x100367e4
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x100367cd
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x100367a2
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10036730
nop
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10036809
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x10036809
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.10028b70
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x100367f0
jmp 0x10036730
Function at 0x405f86
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42bdd4], 0
push esi
jne 0x405fbd
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f97
mov dword [ecx*4 + 0x42bdd0], eax
inc ecx
cmp ecx, 0x100
jl 0x405f92
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405fee
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42bdd0]
xor eax, esi
inc ecx
dec edx
jne 0x405fd0
pop edi
not eax
pop esi
ret 0xc
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x401443
pop dword [ebp - 0x1c]
mov eax, 0x401443
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xbeb3747b
sub dword [ebp - 0x2c], 0x70612f30
mov dword [ebp - 0x28], 0xe8356677
sub dword [ebp - 0x28], 0xb6021a32
mov dword [ebp - 0x24], 0x4a66192d
sub dword [ebp - 0x24], 0xfe19d4ff
mov dword [ebp - 0x20], 0x52275d39
add dword [ebp - 0x20], 0xadd8a2c7
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x1951fb4a
sub eax, 0x19117a46
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x66bd93ef
add dword [ebp - 0x2c], 0xdb4d567
mov dword [ebp - 0x28], 0x4d9bd7be
add dword [ebp - 0x28], 0xf3d089b7
mov dword [ebp - 0x24], 0x20d0d518
sub dword [ebp - 0x24], 0xbd6168ac
mov dword [ebp - 0x20], 0x3214dbef
sub dword [ebp - 0x20], 0x3214dbef
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0xcbeb410c
add eax, 0x34553ff4
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3a532
push 0
call eax
mov ecx, 0xae7828fc
add ecx, 0x51882727
mov edi, eax
mov esi, 0xcb674d58
sub esi, 0xcb206958
add esi, dword [ebp - 0x1c]
mov ebx, 0xf7cbf2bf
sub ebx, 0xad74b4f8
sub dword [ebp - 0xc], edi
mov edx, dword [esi]
sub edx, ebx
xor dword [ebp - 0x14], ebx
mov dword [edi], edx
mov dword [ebp - 8], 0xdbfc14a0
add edi, 0x8d3e57a0
add edi, 0x72c1a864
add esi, 0x97dc0a4f
add esi, 0x6823f5b5
loop 0x401560
add eax, 0x2d451ea5
sub eax, 0x2d43eb46
mov ebx, eax
add eax, 0x8cf97a36
add eax, 0x730685cf
mov ecx, 0x5adfddba
add ecx, 0xa5602246
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x40d014
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
test edi, edi
push esi
jl 0x40d0a0
jne 0x40d028
push 0
jmp 0x40d09a
mov al, byte [0x48984d]
neg al
sbb eax, eax
and eax, 0x28
add eax, 0xf
cmp edi, eax
jae 0x40d099
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x10]
push eax
call esi
test eax, eax
je 0x40d099
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 8]
push eax
call esi
mov eax, dword [esp + 8]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
sbb ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
fild qword [esp + 0x18]
fild qword [esp + 0x20]
fdivp st(1)
fmul qword [0x470338]
call fcn.00464806
cmp eax, edi
jb 0x40d057
jmp 0x40d0a0
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40d2ec
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov bl, byte [0x47765b]
push edi
push 0x8000
push esi
call fcn.00451253
pop ecx
push eax
call fcn.0045115c
push dword [ebp + 8]
mov dword [ebp - 4], eax
or eax, 0xffffffff
call fcn.0040d90e
mov edi, eax
push edi
push 0x46b0e8
push esi
call fcn.00451280
push edi
call fcn.0044d460
push esi
call fcn.0045154d
add esp, 0x20
cmp dword [ebp - 4], 0xffffffff
jne 0x40d342
push 0x4000
jmp 0x40d345
push dword [ebp - 4]
push esi
call fcn.00451253
pop ecx
push eax
call fcn.0045115c
pop ecx
pop ecx
pop edi
test bl, bl
pop ebx
je 0x40d363
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
leave
ret

Function at 0x411589
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [esi + 0x14], 1
jne 0x4115ab
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea eax, [ebp - 8]
push eax
call fcn.0044f750
add esp, 0xc
jmp 0x4115be
push dword [esi + 0x1c]
lea eax, [ebp - 8]
push 8
push 1
push eax
call fcn.004509f1
add esp, 0x10
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 3]
add dword [esi + 0xc], 8
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 1]
shl eax, 8
or eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
lea eax, [ebp - 8]
push str.EA06
push eax
mov byte [ebp - 4], 0
call fcn.004500f0
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
leave
ret 4

Function at 0x411692
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esi + 0x464]
test eax, eax
mov ecx, 0x10000
je 0x4116a5
cmp eax, ecx
jne 0x4116c0
push dword [esi + 0x1c]
push ecx
push 1
push dword [esi + 0x45c]
call fcn.004509f1
add esp, 0x10
and dword [esi + 0x464], 0
mov ecx, dword [esi + 0x464]
mov eax, dword [esi + 0x45c]
mov al, byte [ecx + eax]
inc ecx
mov dword [esi + 0x464], ecx
ret
Function at 0x4116d7
Capabilities:
Write file on windows

Disassembly:
cmp dword [esi + 0x18], 1
mov eax, dword [esi + 0x444]
push edi
je 0x41178e
cmp eax, dword [esi + 0x43c]
jae 0x41175a
mov edi, 0x10000
push ebx
mov eax, dword [esi + 0x444]
mov ecx, dword [esi + 0x438]
mov ebx, dword [esi + 0x460]
mov edx, dword [esi + 0x458]
and eax, 0x1ffff
mov al, byte [eax + ecx]
mov byte [edx + ebx], al
inc dword [esi + 0x460]
cmp dword [esi + 0x460], edi
jne 0x411742
push dword [esi + 0x20]
push edi
push 1
push dword [esi + 0x458]
call fcn.004505e5
add esp, 0x10
and dword [esi + 0x460], 0
inc dword [esi + 0x444]
inc dword [esi + 8]
mov eax, dword [esi + 0x444]
cmp eax, dword [esi + 0x43c]
jb 0x4116f6
pop ebx
and dword [esi + 0x440], 0
pop edi
ret
mov eax, dword [esi + 0x444]
mov ecx, dword [esi + 0x438]
mov edi, dword [esi + 8]
mov edx, dword [esi]
and eax, 0x1ffff
mov al, byte [eax + ecx]
mov byte [edx + edi], al
inc dword [esi + 8]
inc dword [esi + 0x444]
mov eax, dword [esi + 0x444]
cmp eax, dword [esi + 0x43c]
jb 0x411763
jmp 0x41175a

Function at 0x411798
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, eax
mov eax, dword [esi + 0x10]
cmp dword [esi + 0x43c], eax
push edi
mov dword [esp + 0x10], eax
jae 0x4118f8
mov ebp, 0xff
push 1
mov eax, esi
call fcn.00411928
cmp eax, 1
mov eax, esi
jne 0x4117f4
push 8
call fcn.00411928
mov ecx, dword [esi + 0x43c]
mov edx, dword [esi + 0x438]
and ecx, 0x1ffff
mov byte [ecx + edx], al
inc dword [esi + 0x43c]
inc dword [esi + 0x440]
jmp 0x411893
push 0xf
call fcn.00411928
mov ebx, eax
push 2
mov eax, esi
xor edi, edi
call fcn.00411928
cmp eax, 3
jne 0x411853
push eax
pop edi
push eax
mov eax, esi
call fcn.00411928
cmp eax, 7
jne 0x411853
push 0xa
pop edi
push 5
mov eax, esi
call fcn.00411928
cmp eax, 0x1f
jne 0x411853
push 0x29
pop edi
push 8
mov eax, esi
call fcn.00411928
cmp eax, ebp
jne 0x411853
mov edi, 0x128
jmp 0x411846
add edi, ebp
push 8
mov eax, esi
call fcn.00411928
cmp eax, ebp
je 0x411844
lea edi, [eax + edi + 3]
mov eax, dword [esi + 0x43c]
sub eax, ebx
jmp 0x41188f
mov ebx, dword [esi + 0x43c]
mov ecx, dword [esi + 0x438]
mov edx, eax
and edx, 0x1ffff
mov dl, byte [edx + ecx]
and ebx, 0x1ffff
dec edi
mov byte [ebx + ecx], dl
inc eax
inc dword [esi + 0x43c]
inc dword [esi + 0x440]
test edi, edi
jne 0x411861
call fcn.004116d7
cmp dword [0x48bd80], 0x1000
jbe 0x4118d9
mov edi, dword [esi + 0x454]
and dword [0x48bd80], 0
test edi, edi
je 0x4118df
mov ecx, dword [esi + 8]
mov eax, ecx
imul eax, eax, 0x64
xor edx, edx
div dword [esi + 0x10]
push eax
push ecx
push dword [esi + 0xc]
call edi
add esp, 0xc
test eax, eax
jne 0x4118df
mov byte [esi + 0x448], 1
jmp 0x4118df
inc dword [0x48bd80]
cmp byte [esi + 0x448], 0
jne 0x411923
mov eax, dword [esp + 0x10]
cmp dword [esi + 0x43c], eax
jb 0x4117b7
lea edi, [esi + 0x460]
mov eax, dword [edi]
test eax, eax
je 0x41191b
push dword [esi + 0x20]
push eax
push 1
push dword [esi + 0x458]
call fcn.004505e5
add esp, 0x10
and dword [edi], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 4
pop eax
jmp 0x41191d
Function at 0x4119b8
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.0044fbe0
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x41239d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
push 0x46a170
or eax, 0xffffffff
call fcn.0040d90e
pop ecx
mov esi, eax
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.0044f5c0
push esi
call fcn.0044d460
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.004119b8
lea eax, [esp + 0xa8]
push eax
call fcn.0044f530
pop ecx
mov ebx, eax
call fcn.004119b8
lea eax, [esp + 0xa8]
push eax
mov eax, ebx
call fcn.004119e5
mov eax, esi
call fcn.00411a7c
and dword [edi + 8], 0
push 0x10
xor ecx, ecx
xor eax, eax
pop ebx
movzx edx, byte [esp + ecx + 0x18]
add eax, edx
inc ecx
cmp ecx, ebx
jl 0x412411
push 0x46ae3c
push dword [ebp + 8]
mov dword [edi + 8], eax
call fcn.004502fc
test eax, eax
pop ecx
pop ecx
mov dword [edi], eax
jne 0x412438
inc eax
jmp 0x412494
mov esi, edi
call fcn.0041249c
push dword [edi]
mov esi, eax
test esi, esi
je 0x412450
call fcn.004506d9
mov eax, esi
jmp 0x412493
push ebx
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004509f1
add esp, 0x10
push 0x99f2
push ebx
lea eax, [esp + 0x10]
push eax
call fcn.00412597
xor ecx, ecx
mov dword [edi + 8], ecx
xor eax, eax
movzx edx, byte [esp + eax + 8]
imul ecx, edx
inc eax
cmp eax, ebx
jl 0x412477
push dword [edi]
mov dword [edi + 8], ecx
call fcn.00451b13
mov dword [edi + 4], eax
xor eax, eax
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41249c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10020
call fcn.004528c0
xor eax, eax
mov cl, byte [eax + 0x476140]
mov byte [ebp + eax - 0x20], cl
mov cl, byte [eax + 0x476138]
mov byte [ebp + eax - 0x18], cl
inc eax
cmp eax, 8
jl 0x4124ab
push ebx
push edi
lea eax, [ebp - 8]
push str.AU3_
push eax
call fcn.0044f5c0
push 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044f750
add esp, 0x14
xor edi, edi
push dword [esi]
lea eax, [ebp - 0x10020]
push 0x10000
push 1
push eax
call fcn.004509f1
add esp, 0x10
cmp eax, 0x18
mov dword [ebp - 0xc], eax
jl 0x412592
lea edx, [eax - 0x14]
xor ecx, ecx
test edx, edx
jle 0x41253e
xor edx, edx
lea eax, [ebp + ecx - 0x10020]
mov bl, byte [ebp + edx - 0x20]
cmp bl, byte [eax + edx]
jne 0x41252e
inc edx
cmp edx, 0x14
jl 0x41251f
cmp edx, 0x14
je 0x412552
mov eax, dword [ebp - 0xc]
inc ecx
lea edx, [eax - 0x14]
cmp ecx, edx
jl 0x412516
push 1
push 0xffffffffffffffec
push dword [esi]
lea edi, [edi + eax - 0x14]
call fcn.00450396
add esp, 0xc
jmp 0x4124e9
push 0
lea eax, [edi + ecx + 0x14]
push eax
push dword [esi]
call fcn.00450396
add esp, 0xc
push dword [esi]
lea eax, [ebp - 8]
push 4
push 1
push eax
call fcn.004509f1
lea eax, [ebp - 8]
push str.EA06
push eax
mov byte [ebp - 4], 0
call fcn.004500f0
add esp, 0x18
neg eax
sbb eax, eax
and eax, 4
pop edi
pop ebx
leave
ret
push 3
pop eax
jmp 0x41258e
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x401c66
pop dword [ebp - 0x28]
mov eax, 0x401c66
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x686f6819
sub dword [ebp - 0x38], 0x1a1d22ce
mov dword [ebp - 0x34], 0x36dd0dce
sub dword [ebp - 0x34], 0x4a9c189
mov dword [ebp - 0x30], 0xd93b9022
sub dword [ebp - 0x30], 0x8cef4bf4
mov dword [ebp - 0x2c], 0xa8b25fd8
add dword [ebp - 0x2c], 0x574da028
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x7f012192
add dword [ebp - 0x38], 0xf57147c4
mov dword [ebp - 0x34], 0x5f2ad4ba
add dword [ebp - 0x34], 0xe2418cbb
mov dword [ebp - 0x30], 0x1c9295e1
add dword [ebp - 0x30], 0x46dcd68b
mov dword [ebp - 0x2c], 0x672281c6
add dword [ebp - 0x2c], 0x98dd7e3a
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x1ab937f9
add eax, 0xe586f833
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x37d02
push 0
call eax
mov ecx, 0x84488398
add ecx, 0x7bb7c9bc
mov edx, eax
mov esi, 0x620d492
sub esi, 0x5e06492
add esi, dword [ebp - 0x28]
mov ebx, 0x54dafe2b
add ebx, 0x8d1ddcc4
mov edi, dword [esi]
sub dword [ebp - 4], eax
xor edi, ebx
xor dword [ebp - 0x18], 0x3248be54
mov dword [edx], edi
add dword [ebp - 0x20], 0xca69cd1
add edx, 4
add esi, 0x458d155b
sub esi, 0x458d1557
loop 0x401d7e
add eax, 0xb5551b3
add eax, 0xf4abd670
xor ebx, ebx
add ebx, eax
add eax, 0x2d0a9092
sub eax, 0x2d0a908d
mov ecx, 0x7cfeeec4
add ecx, 0x8341113c
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret

Function at 0x403bb6
Capabilities:
Encode data using xor

Disassembly:
call fcn.00403a76
sub ecx, ecx
sub cx, 0xff76
call 0x403bb6
rcr byte [esi - 0x7f], 0x76
push cs
sahf
dec edi
mov al, byte [0xfcee83fa]
xor dword [esi + 0xe], 0xfaa04f9e
sub esi, 0xfffffffc
loop 0x403bb9
mov ch, 0x86
invalid
Function at 0x406234
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x406243
pop dword [ebp - 0x2c]
mov eax, 0x99d07ea0
sub eax, 0x99901c5d
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xf01e63ae
sub dword [ebp - 0x3c], 0xa1cc1e63
mov dword [ebp - 0x38], 0x6e53961c
sub dword [ebp - 0x38], 0x3c2049d7
mov dword [ebp - 0x34], 0xf273fd91
add dword [ebp - 0x34], 0x59d8469d
mov dword [ebp - 0x30], 0x4815bebb
add dword [ebp - 0x30], 0xb7ea4145
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xcabdf459
add dword [ebp - 0x3c], 0xa9b474fd
mov dword [ebp - 0x38], 0xd1bd3036
sub dword [ebp - 0x38], 0x9050cec1
mov dword [ebp - 0x34], 0x24de02ec
add dword [ebp - 0x34], 0x3e916980
mov dword [ebp - 0x30], 0xeac137f
sub dword [ebp - 0x30], 0xeac137f
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x38033
push 0
call eax
mov ecx, 0x7bb5379e
add ecx, 0x844b1457
mov edx, eax
mov edi, 0xb66b8cff
add edi, 0x49db5701
add edi, dword [ebp - 0x2c]
mov esi, 0x8c649480
add dword [ebp - 0x10], 0xf3c97595
mov ebx, dword [edi]
sub ebx, esi
add dword [ebp - 0x10], 0x3f58a8e8
mov dword [edx], ebx
xor dword [ebp - 0x14], 0x7e44d7b0
add edx, 0x47463904
add edx, 0xb8b9c700
add edi, 0x9a4db7e1
sub edi, 0x9a4db7dd
loop 0x406355
add eax, 0x308f98b7
add eax, 0xcf7189f0
mov ebx, eax
add eax, 0xa67449ba
add eax, 0x598bb64b
mov ecx, 0x400000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x40669d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4066d4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066ae
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406705
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4066e7
pop edi
not eax
pop esi
ret 0xc