joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ec80
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x11], 0
je 0x40eca2
xor eax, eax
jmp 0x40ec90
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0x10
jb 0x40ec90
mov byte [esi + 0x11], 0
mov eax, esi
pop esi
ret

Function at 0x40ecb0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x10], 0
je 0x40ecd2
xor eax, eax
jmp 0x40ecc0
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0xf
jb 0x40ecc0
mov byte [esi + 0x10], 0
mov eax, esi
pop esi
ret

Function at 0x40ece0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
je 0x40ed02
xor eax, eax
jmp 0x40ecf0
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 8
jb 0x40ecf0
mov byte [esi + 9], 0
mov eax, esi
pop esi
ret

Function at 0x40ed10
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xb], 0
je 0x40ed32
xor eax, eax
jmp 0x40ed20
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0xa
jb 0x40ed20
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
ret

Function at 0x40ed40
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xd], 0
je 0x40ed62
xor eax, eax
jmp 0x40ed50
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0xc
jb 0x40ed50
mov byte [esi + 0xd], 0
mov eax, esi
pop esi
ret

Function at 0x40ed70
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x13], 0
je 0x40ed92
xor eax, eax
jmp 0x40ed80
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0x12
jb 0x40ed80
mov byte [esi + 0x13], 0
mov eax, esi
pop esi
ret

Function at 0x40eda0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1c], 0
je 0x40edc2
xor eax, eax
jmp 0x40edb0
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0x1b
jb 0x40edb0
mov byte [esi + 0x1c], 0
mov eax, esi
pop esi
ret

Function at 0x40edd0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x18], 0
je 0x40edf2
xor eax, eax
jmp 0x40ede0
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0x17
jb 0x40ede0
mov byte [esi + 0x18], 0
mov eax, esi
pop esi
ret

Function at 0x40ee00
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x15], 0
je 0x40ee22
xor eax, eax
jmp 0x40ee10
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0x14
jb 0x40ee10
mov byte [esi + 0x15], 0
mov eax, esi
pop esi
ret

Function at 0x40ee30
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x22], 0
je 0x40ee52
xor eax, eax
jmp 0x40ee40
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0x21
jb 0x40ee40
mov byte [esi + 0x22], 0
mov eax, esi
pop esi
ret
Function at 0x40ee60
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xf], 0
je 0x40ee82
xor eax, eax
jmp 0x40ee70
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0xe
jb 0x40ee70
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
ret

Function at 0x40ee90
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x14], 0
je 0x40eeb2
xor eax, eax
jmp 0x40eea0
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0x13
jb 0x40eea0
mov byte [esi + 0x14], 0
mov eax, esi
pop esi
ret
Function at 0x414450
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1d], 0
je 0x414472
xor eax, eax
jmp 0x414460
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0x1c
jb 0x414460
mov byte [esi + 0x1d], 0
mov eax, esi
pop esi
ret

Function at 0x414480
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507806
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x18], esi
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 2
cmp byte [ebp + 8], 2
jne 0x414619
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp + 8]
call fcn.00465ec0
mov edx, ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], edx
movzx eax, byte [edx]
mov ecx, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], connect
sub ecx, 1
je 0x41452a
sub ecx, 1
je 0x41451f
mov dword [ebp - 0x28], connect
sub eax, 1
je 0x41452a
sub eax, 1
je 0x41451f
mov dword [ebp - 0x28], 1
jmp 0x414532
mov eax, dword [edx + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
jmp 0x414532
mov eax, dword [edx + 8]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x44]
call fcn.00465140
test al, al
je 0x414619
lea ecx, [ebp - 0x44]
call fcn.00465250
mov edi, eax
mov dword [ebp - 0x23], 0x819b898a
mov dword [ebp - 0x1f], 0x838c82b4
xor eax, eax
mov word [ebp - 0x1b], 0x8a
mov byte [ebp - 0x19], 1
lea ebx, [ebx]
lea ecx, [eax - 0x19]
xor byte [ebp + eax - 0x23], cl
inc eax
cmp eax, 9
jb 0x414570
lea eax, [ebp - 0x23]
mov byte [ebp - 0x19], 0
push eax
mov ecx, edi
call fcn.0046d4f0
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, eax
call fcn.0046d630
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x18]
cmp dword [ebp + 0x2c], 0xf
jbe 0x4145a7
mov ecx, dword [ebp + 0x18]
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x4145b2
mov eax, dword [eax]
push dword [ebp + 0x28]
push ecx
mov ecx, eax
call fcn.004791c0
add esp, 8
mov bl, al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.00402c80
test bl, bl
jne 0x414659
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
sub eax, 1
je 0x4145f1
sub eax, 1
je 0x4145eb
inc dword [ebp - 0x38]
jmp 0x414605
add dword [ebp - 0x3c], 0x10
jmp 0x414605
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
call fcn.0046a090
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x44]
call fcn.00465140
test al, al
jne 0x414546
xor eax, eax
mov byte [esi], 5
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
push dword [ebp + 8]
call fcn.0046a270
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.00402c80
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push edi
mov ecx, esi
call fcn.00466350
jmp 0x414624
Function at 0x414670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50784e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
xor ebx, ebx
mov byte [ebp - 0xe], cl
push edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 1
xor edx, edx
mov esi, dword [ebp + 8]
mov eax, 0x2aaaaaab
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 0xc]
sub edx, esi
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4147f3
mov edi, dword [ebp + 0x28]
xor eax, eax
mov dword [ebp - 0x18], eax
lea esp, [esp]
test cl, cl
je 0x41479a
add esi, eax
mov eax, esi
cmp dword [esi + 0x14], 0xf
jbe 0x4146e4
mov eax, dword [esi]
lea ecx, [ebp + 0x14]
cmp edi, 0xf
jbe 0x4146ef
mov ecx, dword [ebp + 0x14]
push dword [esi + 0x10]
mov edx, dword [ebp + 0x24]
push eax
push 0
call fcn.0046ece0
add esp, 0xc
test eax, eax
je 0x41476a
mov dword [ebp - 0x21], 0xc6c7dd
xor eax, eax
mov byte [ebp - 0x1d], 1
lea ecx, [eax - 0x19]
xor byte [ebp + eax - 0x21], cl
inc eax
cmp eax, 3
jb 0x414711
push esi
lea edx, [ebp - 0x21]
mov byte [ebp - 0x1d], 0
lea ecx, [ebp - 0x3c]
call fcn.0046d1b0
add esp, 4
mov byte [ebp - 4], 2
or ebx, 1
mov dword [ebp - 0x1c], ebx
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x414746
mov eax, dword [eax]
cmp dword [ebp + 0x28], 0xf
lea ecx, [ebp + 0x14]
jbe 0x414752
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x24]
push eax
push 0
call fcn.0046ece0
add esp, 0xc
mov byte [ebp - 0xd], 0
cmp eax, 0xffffffff
je 0x41476e
mov byte [ebp - 0xd], 1
mov dword [ebp - 4], 1
test bl, 1
je 0x414788
and ebx, 0xfffffffe
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x1c], ebx
call fcn.00402c80
cmp byte [ebp - 0xd], 0
jne 0x414823
mov edi, dword [ebp + 0x28]
mov esi, dword [ebp + 8]
jmp 0x4147c7
mov edx, dword [eax + esi + 0x10]
add eax, esi
cmp dword [eax + 0x14], 0xf
jbe 0x4147a8
mov eax, dword [eax]
lea ecx, [ebp + 0x14]
cmp edi, 0xf
jbe 0x4147b3
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x24]
push eax
push 0
call fcn.0046ece0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x414823
mov ecx, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
inc dword [ebp - 0x14]
sub ecx, esi
add dword [ebp - 0x18], 0x18
imul ecx
mov cl, byte [ebp - 0xe]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
jb 0x4146d0
xor bl, bl
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0046ac50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.00402c80
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x4147f5
Function at 0x414830
Capabilities:
Copy file
Create restart manager session
Enumerate processes that use resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5078e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x330
push ebx
push esi
push edi
mov dword [ebp - 0x14], 0
mov ebx, ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], edx
call edi
cmp eax, 0x20
jne 0x4149ab
lea eax, [ebp - 0x5c]
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414884
push dword [ebp - 0x1c]
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x5c]
call fcn.0047afe0
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0xffffffff
mov esi, 1
mov dword [ebp - 0x14], esi
and esi, 0xfffffffe
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
lea eax, [ebp - 0xa0]
push 0x42
push 0
push eax
call fcn.004e1ab0
add esp, 0x18
lea eax, [ebp - 0xa0]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.RstrtMgr.DLL_RmStartSession]
mov edi, eax
test edi, edi
jne 0x414986
mov byte [ebp - 4], 2
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x44]
call fcn.004684c0
or esi, 2
lea eax, [ebp - 0x44]
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0x30], 7
jbe 0x41490f
mov eax, dword [ebp - 0x44]
push 0
push 0
push 0
push 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 1
push dword [ebp - 0x18]
call dword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
mov edi, eax
test edi, edi
jne 0x414974
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.RstrtMgr.DLL_RmGetList]
mov edi, eax
test edi, edi
je 0x41495f
cmp edi, 0xea
jne 0x414974
cmp dword [ebp - 0x1c], 0
jbe 0x414974
push 0
push 1
push dword [ebp - 0x18]
call dword [sym.imp.RstrtMgr.DLL_RmShutdown]
mov edi, eax
and esi, 0xfffffffd
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.0046af40
push dword [ebp - 0x18]
call dword [sym.imp.RstrtMgr.DLL_RmEndSession]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.0046af40
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
push dword [ebp - 0x20]
push ebx
call esi
test eax, eax
setne cl
mov byte [ebp - 0xd], cl
test eax, eax
jne 0x414a05
call edi
cmp eax, 0x20
jne 0x4149f1
mov ecx, ebx
call fcn.00409f20
push 0
push dword [ebp - 0x20]
push ebx
call esi
test eax, eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov al, cl
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4150f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword fs:[0x30]
push ebx
mov al, byte [eax + 2]
test al, al
setne bl
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41510f
mov bl, 1
pushfd
pop eax
mov dword [ebp - 4], eax
test dword [ebp - 4], 0x100
mov al, 1
jne 0x415121
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x415130
Capabilities:
Encode data using xor
Get hostname
Get session user name
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push 0x100
lea eax, [ebp - 0x114]
mov dword [ebp - 0x10], 0x100
push 0
push eax
mov dword [ebp - 0x14], 0x100
call fcn.004e1ab0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push 0x100
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.004e1ab0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [ebp - 9], 0x848187ad
xor ecx, ecx
mov dword [ebp - 5], 0x8883af
mov byte [ebp - 1], 1
lea esp, [esp]
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 9], al
inc ecx
cmp ecx, 7
jb 0x4151b0
lea eax, [ebp - 9]
mov byte [ebp - 1], 0
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004e0f60
add esp, 8
test eax, eax
jne 0x415216
mov dword [ebp - 8], 0xd3a5a9af
xor ecx, ecx
mov dword [ebp - 4], 0x100a4bf
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 8], al
inc ecx
cmp ecx, 6
jb 0x4151e8
lea eax, [ebp - 8]
mov byte [ebp - 1], 0
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.004e0f60
add esp, 8
test eax, eax
jne 0x415216
xor al, al
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x415270
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor eax, eax
xor ecx, ecx
push esi
push edi
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, 1
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov ebx, dword [ebp - 8]
shr ebx, 0x1f
and bl, 1
mov dword [ebp - 0xe], 0x849b8d8c
mov dword [ebp - 0xa], 0xdcde808e
xor eax, eax
mov dword [ebp - 6], 0x9e9d94c1
mov word [ebp - 2], 0x100
lea ecx, [eax - 0x19]
xor byte [ebp + eax - 0xe], cl
inc eax
cmp eax, 0xc
jb 0x4152c8
lea eax, [ebp - 0xe]
mov byte [ebp - 1], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov al, 1
je 0x4152eb
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4155b0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x29], 0
je 0x4155d2
xor eax, eax
jmp 0x4155c0
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0x28
jb 0x4155c0
mov byte [esi + 0x29], 0
mov eax, esi
pop esi
ret

Function at 0x4155e0
Capabilities:
Encode data using xor
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
push ebx
xor bl, bl
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x415602
push 0x15
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x415604
mov bl, 1
mov dword [ebp - 5], 0xb5d2a4
xor ecx, ecx
mov byte [ebp - 1], 1
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 5], al
inc ecx
cmp ecx, 3
jb 0x415611
push 0x105
lea eax, [ebp - 0x138]
mov byte [ebp - 1], 0
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x105
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 5]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x415780
mov dword [ebp - 0x16], 0x9286aab1
xor ecx, ecx
mov dword [ebp - 0x12], 0x9b9eaf
mov byte [ebp - 0xe], 1
lea esp, [esp]
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x16], al
inc ecx
cmp ecx, 7
jb 0x415670
mov byte [ebp - 0xe], 0
lea ecx, [ebp - 0x16]
lea eax, [ebp - 0x138]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4156b0
test dl, dl
je 0x4156ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4156b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x415690
xor eax, eax
jmp 0x4156b5
sbb eax, eax
or eax, 1
test eax, eax
je 0x415779
mov dword [ebp - 0xd], 0x9286aab1
xor ecx, ecx
mov dword [ebp - 9], 0x100aab8
lea ecx, [ecx]
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0xd], al
inc ecx
cmp ecx, 6
jb 0x4156d0
mov byte [ebp - 6], 0
lea ecx, [ebp - 0xd]
lea eax, [ebp - 0x138]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x415710
test dl, dl
je 0x41570c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x415710
add eax, 2
add ecx, 2
test dl, dl
jne 0x4156f0
xor eax, eax
jmp 0x415715
sbb eax, eax
or eax, 1
test eax, eax
je 0x415779
mov dword [ebp - 0x21], 0x9286aab1
xor ecx, ecx
mov dword [ebp - 0x1d], 0x9d8899ac
mov word [ebp - 0x19], 0x9b
mov byte [ebp - 0x17], 1
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 9
jb 0x415733
mov byte [ebp - 0x17], 0
lea ecx, [ebp - 0x21]
lea eax, [ebp - 0x138]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x415770
test dl, dl
je 0x41576c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x415770
add eax, 2
add ecx, 2
test dl, dl
jne 0x415750
xor eax, eax
jmp 0x415775
sbb eax, eax
or eax, 1
test eax, eax
jne 0x415780
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4166d0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2b], 0
je 0x4166f2
xor eax, eax
jmp 0x4166e0
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0x2a
jb 0x4166e0
mov byte [esi + 0x2b], 0
mov eax, esi
pop esi
ret

Function at 0x416700
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1a], 0
je 0x416722
xor eax, eax
jmp 0x416710
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0x19
jb 0x416710
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
ret

Function at 0x4168e0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x507afb
push eax
mov dword fs:[0], esp
sub esp, 0x118
mov eax, dword [0x5448ac]
push edi
mov edi, ecx
test al, 1
jne 0x416969
or eax, 1
mov dword [0x5448ac], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [0x5448b4], eax
mov dword [0x5448b8], eax
mov dword [0x5448bc], eax
mov dword [0x5448c0], eax
mov eax, 0x2f5c
push 0x516420
mov dword [0x5448c4], 2
mov dword [0x5448c8], 0xf
mov word [0x5448b4], ax
mov byte [0x5448b6], 0
call fcn.004dfade
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x416973
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x416a82
cmp dword [0x5448c8], 0xf
push ebx
push esi
mov esi, 0x5448b4
jbe 0x416999
mov esi, dword [0x5448b4]
cmp dword [edi + 0x14], 0xf
mov ebx, edi
mov eax, dword [edi + 0x10]
jbe 0x4169a6
mov ebx, dword [edi]
cmp dword [0x5448c4], 0
je 0x416a28
test eax, eax
je 0x416a28
push 0x100
lea eax, [ebp - 0x124]
push 0
push eax
call fcn.004e1ab0
mov ecx, dword [0x5448c4]
add esp, 0xc
add ecx, esi
cmp esi, ecx
je 0x4169f0
jmp 0x4169e0
movzx eax, byte [esi]
inc esi
mov byte [ebp + eax - 0x124], 1
cmp esi, ecx
jne 0x4169e0
mov eax, dword [edi + 0x10]
dec eax
cmp eax, 0xffffffff
jb 0x4169fc
or eax, 0xffffffff
lea ecx, [eax + ebx]
movzx eax, byte [ecx]
mov al, byte [ebp + eax - 0x124]
test al, al
jne 0x416a24
lea ecx, [ecx]
cmp ecx, ebx
je 0x416a28
movzx eax, byte [ecx - 1]
dec ecx
mov al, byte [ebp + eax - 0x124]
test al, al
je 0x416a10
sub ecx, ebx
jmp 0x416a2b
or ecx, 0xffffffff
pop esi
pop ebx
cmp ecx, 0xffffffff
je 0x416a5d
push ecx
push 0
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.00468580
mov dword [ebp - 4], 1
mov ecx, eax
call fcn.004168e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402c80
cmp dword [edi + 0x14], 0xf
jbe 0x416a65
mov edi, dword [edi]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
pop edi
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x416b50
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505e8d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push esi
mov bl, cl
mov dword [ebp - 4], 0
lea eax, [ebp - 0x8c]
push 0x44
push 0
push eax
call fcn.004e1ab0
add esp, 0xc
mov dword [ebp - 0x8c], 0x44
push 0
test bl, bl
je 0x416ba3
push 0x165e
jmp 0x416ba8
push 0x165d
call fcn.00407ed0
mov word [ebp - 0x5c], ax
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0x8b8c9aa4
mov dword [ebp - 0x48], eax
xor ecx, ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 0x9cbd899f
mov dword [ebp - 0x30], 0x81949380
mov dword [ebp - 0x2c], 0x100b580
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x38], al
inc ecx
cmp ecx, 0xe
jb 0x416be0
mov byte [ebp - 0x29], 0
xor ecx, ecx
mov dword [ebp - 0x20], 0x849b8dac
mov dword [ebp - 0x1c], 0xdcde808e
mov dword [ebp - 0x18], 0x9e9d94c1
mov word [ebp - 0x14], 0x100
mov edi, edi
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 0xc
jb 0x416c10
lea eax, [ebp - 0x20]
mov byte [ebp - 0x13], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov ecx, 0x165d
mov dword [0x54404c], esi
test bl, bl
jne 0x416c4c
mov ecx, 0x800165d
push 0
push ecx
call fcn.00407ed0
add esp, 8
mov dword [ebp - 0x24], edx
cmp dword [ebp + 0x1c], 0xf
lea ecx, [ebp + 8]
jbe 0x416c66
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x48]
push edx
lea edx, [ebp - 0x8c]
push edx
push 0
push 0
push eax
push 0
push 0
push 0
push ecx
push 0
call esi
test eax, eax
je 0x416d3a
push 0
push 0x21a5
call fcn.00407ed0
mov ecx, dword fs:[0x30]
add esp, 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], edx
mov ecx, dword [ecx + 0xc]
push edi
mov ecx, dword [ecx + 0xc]
lea esp, [esp]
mov esi, dword [ecx + 0x18]
mov dword [ebp - 0x18], esi
mov edx, dword [esi + 0x3c]
mov eax, dword [edx + esi + 0x78]
add eax, esi
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x416d14
mov edi, dword [eax + 0x18]
test edi, edi
je 0x416d14
mov eax, dword [eax + 0x20]
lea ebx, [eax + edi*4]
add ebx, esi
mov eax, dword [ebx - 4]
lea ebx, [ebx - 4]
add eax, esi
dec edi
mov esi, 0x811c9dc5
mov dl, byte [eax]
inc eax
test dl, dl
je 0x416d0d
lea ebx, [ebx]
movsx edx, dl
lea eax, [eax + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [eax - 1]
test dl, dl
jne 0x416cf0
cmp esi, 0x71948ca4
je 0x416d18
mov esi, dword [ecx + 0x18]
test edi, edi
jne 0x416cd5
mov ecx, dword [ecx]
jmp 0x416cb0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
push dword [ebp - 0x24]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, edx
push dword [ebp - 0x48]
add eax, edx
movzx eax, word [eax + edi*2]
mov eax, dword [ecx + eax*4]
add eax, edx
call eax
pop edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402c80
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret