joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4025b0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50496e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0xf
mov byte [edi], al
mov dword [ebp - 4], eax
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], 1
test ebx, ebx
je 0x40276e
mov al, byte [edx]
dec ebx
mov byte [ebp + esi - 0x14], al
inc edx
mov ch, byte [ebp - 0x12]
inc esi
mov ah, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x20], edx
mov byte [ebp - 0xe], ch
mov byte [ebp + 0xb], ah
mov byte [ebp - 0xd], cl
cmp esi, 3
jne 0x4026a9
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, ah
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
and ch, 0x3f
mov cl, ah
shr al, 6
and cl, 0xf
mov byte [ebp - 0x15], ch
shl cl, 2
add cl, al
xor esi, esi
mov byte [ebp - 0x16], cl
jmp 0x402670
cmp dword [0x5441dc], 0xf
mov ecx, 0x5441c8
jbe 0x402684
mov ecx, dword [0x5441c8]
movzx eax, byte [ebp + esi - 0x18]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.00402d00
inc esi
cmp esi, 4
jl 0x402670
mov edx, dword [ebp - 0x20]
xor esi, esi
mov ah, byte [ebp + 0xb]
mov cl, byte [ebp - 0xd]
mov ch, byte [ebp - 0xe]
test ebx, ebx
jne 0x402611
test esi, esi
je 0x40276e
mov ebx, 3
cmp esi, ebx
jge 0x4026e0
mov eax, ebx
lea ecx, [ebp - 0x14]
sub eax, esi
add ecx, esi
push eax
push 0
push ecx
call fcn.004e1ab0
mov ch, byte [ebp - 0x12]
add esp, 0xc
mov ah, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, bl
shr al, 2
mov byte [ebp - 0x18], al
mov al, ah
shr al, 4
and ah, 0xf
shl cl, 4
add cl, al
shl ah, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add ah, al
mov byte [ebp - 0x15], ch
mov byte [ebp - 0x16], ah
lea eax, [esi + 1]
test eax, eax
jle 0x402752
xor ebx, ebx
jmp 0x402720
cmp dword [0x5441dc], 0xf
mov ecx, 0x5441c8
jbe 0x402734
mov ecx, dword [0x5441c8]
movzx eax, byte [ebp + ebx - 0x18]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.00402d00
inc ebx
lea eax, [esi + 1]
cmp ebx, eax
jl 0x402720
mov ebx, 3
cmp esi, 3
jge 0x40276e
sub ebx, esi
lea esp, [esp]
push 0x3d
mov ecx, edi
call fcn.00402d00
sub ebx, 1
jne 0x402760
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x403e00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504bff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.004de670
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [ebp - 4], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
test eax, eax
je 0x403ea6
push eax
push esi
call fcn.004dea27
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.004ddf55
int3
Function at 0x409360
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x409382
xor eax, eax
jmp 0x409370
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 3
jb 0x409370
mov byte [esi + 4], 0
mov eax, esi
pop esi
ret

Function at 0x409390
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 6], 0
je 0x4093b2
xor eax, eax
jmp 0x4093a0
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 5
jb 0x4093a0
mov byte [esi + 6], 0
mov eax, esi
pop esi
ret
Function at 0x4093c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505e15
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
cmp dword [0x541df8], 0xf
mov eax, 0x541de4
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], ecx
mov dword [0x541df4], 0
jbe 0x4093fe
mov eax, dword [0x541de4]
push ebx
push esi
mov byte [eax], 0
mov esi, 0x540b38
jmp 0x409410
mov bl, byte [esi]
push 0
push 0x171e
call fcn.00407ed0
add esp, 8
xor al, bl
movzx eax, al
mov ecx, 0x541de4
push eax
call fcn.00402d00
inc esi
cmp esi, 0x541c06
jne 0x409410
xor eax, eax
mov esi, 0xf
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, 0xa0d
mov dword [ebp - 0x18], esi
push edi
mov dword [ebp - 0x1c], 2
mov word [ebp - 0x2c], ax
mov byte [ebp - 0x2a], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], esi
mov word [ebp - 0x44], 0xa
mov byte [ebp - 4], 1
mov edi, 0x541de4
cmp dword [0x541df8], esi
jbe 0x4094ad
mov edi, dword [0x541de4]
mov eax, dword [0x541df4]
cmp eax, 1
jb 0x40950f
lea ebx, [edi + eax]
mov eax, ebx
sub eax, edi
push eax
push 0xa
push edi
call fcn.004e32a0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x40950f
mov al, byte [ecx]
lea edx, [ebp - 0x44]
cmp al, byte [edx]
je 0x4094f2
inc ecx
mov eax, ebx
sub eax, ecx
push eax
push 0xa
push ecx
call fcn.004e32a0
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x4094d0
jmp 0x40950f
sub ecx, edi
cmp ecx, 0xffffffff
je 0x40950f
push 2
lea eax, [ebp - 0x2c]
push eax
push 1
push ecx
mov ecx, 0x541de4
call fcn.0046b1a0
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
pop edi
cmp esi, 0xf
jbe 0x409560
mov edx, dword [ebp - 0x2c]
lea ecx, [esi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x409556
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4095eb
push ecx
push edx
call fcn.004dfaf3
add esp, 8
push 2
push 0x51fc2c
mov ecx, 0x541de4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.0046b590
push dword [ebp - 0x10]
call fcn.00409600
push dword [ebp - 0x14]
call fcn.00409600
push dword [ebp + 8]
call fcn.00409600
mov esi, str.UAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUAUA
mov bl, byte [esi]
push 0
push 0x171e
call fcn.00407ed0
add esp, 8
xor al, bl
movzx eax, al
mov ecx, 0x541de4
push eax
call fcn.00402d00
inc esi
cmp esi, 0x541d52
jne 0x4095a0
push 2
push 0x51fc2c
mov ecx, 0x541de4
call fcn.0046b590
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004e4d70
int3
Function at 0x4097e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0xc], ecx
xor ecx, ecx
mov dword [ebp - 0x31], 0x9fb89ca9
mov dword [ebp - 0x2d], 0xbd949e8e
mov dword [ebp - 0x29], 0x97858396
mov dword [ebp - 0x25], 0x909bbd9e
mov dword [ebp - 0x21], 0x9b948a98
mov dword [ebp - 0x1d], 0x9092958f
mov word [ebp - 0x19], 0x100
jmp 0x409820
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x31], al
inc ecx
cmp ecx, 0x18
jb 0x409820
mov byte [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x17], 0x868d9c89
mov dword [ebp - 0x13], 0x8289c287
mov word [ebp - 0xf], 0x83
mov byte [ebp - 0xd], 1
jmp 0x409850
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 9
jb 0x409850
push ebx
push esi
push edi
lea eax, [ebp - 0x17]
mov byte [ebp - 0xd], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x31]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
xor edi, edi
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebp - 4], eax
test eax, eax
je 0x40990b
mov esi, dword [0x542694]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0
push esi
mov edi, eax
push edi
push 0x40
call ebx
mov ebx, eax
mov eax, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp ebx, 0xc0000004
jne 0x4098ec
mov ebx, dword [ebp - 4]
push edi
push 0
push ebx
call eax
add esi, esi
cmp esi, 0x10000000
ja 0x409901
push esi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0
push esi
mov edi, eax
push edi
push 0x40
call dword [ebp - 8]
mov ebx, eax
mov eax, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp ebx, 0xc0000004
je 0x4098b5
test ebx, ebx
jns 0x409911
push edi
push 0
push dword [ebp - 4]
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0xc]
cmp esi, 0x200000
ja 0x40991f
mov dword [0x542694], esi
mov eax, dword [ebp - 0xc]
mov dword [eax], edi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x409930
Capabilities:
Encode data using xor

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

Function at 0x409960
Capabilities:
Encode data using xor

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

Function at 0x409ab0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xe], 0
je 0x409ad2
xor eax, eax
jmp 0x409ac0
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0xd
jb 0x409ac0
mov byte [esi + 0xe], 0
mov eax, esi
pop esi
ret
Function at 0x409ae0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x16], 0
je 0x409b02
xor eax, eax
jmp 0x409af0
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0x15
jb 0x409af0
mov byte [esi + 0x16], 0
mov eax, esi
pop esi
ret
Function at 0x409ef0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x12], 0
je 0x409f12
xor eax, eax
jmp 0x409f00
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0x11
jb 0x409f00
mov byte [esi + 0x12], 0
mov eax, esi
pop esi
ret
Function at 0x40ac50
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 5], 0
je 0x40ac72
xor eax, eax
jmp 0x40ac60
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 4
jb 0x40ac60
mov byte [esi + 5], 0
mov eax, esi
pop esi
ret

Function at 0x40ac80
Capabilities:
Encode data using xor

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

Function at 0x40acb0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 3], 0
je 0x40acd2
xor eax, eax
jmp 0x40acc0
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 2
jb 0x40acc0
mov byte [esi + 3], 0
mov eax, esi
pop esi
ret

Function at 0x40acf0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505f96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
mov dword [ebp - 0x14], 1
xor ecx, ecx
mov dword [ebp - 0x10], 0x1008a95
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 2
jb 0x40ad50
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
mov byte [ebp - 0xd], 0
jbe 0x40ad6d
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.004e5920
mov edi, eax
add esp, 8
test edi, edi
je 0x40ade6
push ebx
push 2
push 0
push edi
call fcn.004e96f6
push edi
call fcn.004e54ab
push 0
push 0
push edi
mov ebx, eax
call fcn.004e96f6
mov ecx, dword [esi + 0x10]
add esp, 0x1c
cmp ebx, ecx
ja 0x40adba
mov dword [esi + 0x10], ebx
mov eax, esi
cmp dword [esi + 0x14], 0xf
jbe 0x40adb4
mov eax, dword [esi]
mov byte [eax + ebx], 0
jmp 0x40adc8
mov eax, ebx
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.0046b420
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x40add2
mov eax, dword [esi]
push edi
push ebx
push 1
push eax
call fcn.004ee19f
push edi
call fcn.004e91a8
add esp, 0x14
pop ebx
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402c80
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40ae10
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505fd6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
call fcn.0046d400
mov dword [ebp - 0x14], 1
xor ecx, ecx
mov dword [ebp - 0x10], 0x1008a95
lea esp, [esp]
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 2
jb 0x40ae60
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
mov byte [ebp - 0xd], 0
jbe 0x40ae7d
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.004e5920
mov esi, eax
add esp, 8
test esi, esi
je 0x40aef4
push ebx
push 2
push 0
push esi
call fcn.004e96f6
push esi
call fcn.004e54ab
push 0
push 0
push esi
mov ebx, eax
call fcn.004e96f6
mov ecx, dword [edi]
add esp, 0x1c
mov edx, dword [ecx + 0x10]
cmp ebx, edx
ja 0x40aeca
mov dword [ecx + 0x10], ebx
cmp dword [ecx + 0x14], 0xf
jbe 0x40aec4
mov ecx, dword [ecx]
mov byte [ecx + ebx], 0
jmp 0x40aed6
mov eax, ebx
push 0
sub eax, edx
push eax
call fcn.0046b420
mov eax, dword [edi]
cmp dword [eax + 0x14], 0xf
jbe 0x40aee0
mov eax, dword [eax]
push esi
push ebx
push 1
push eax
call fcn.004ee19f
push esi
call fcn.004e91a8
add esp, 0x14
pop ebx
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402c80
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x40af20
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506016
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [ebp - 0x18], edx
push edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
call fcn.0046d400
mov dword [ebp - 0x14], 1
xor ecx, ecx
mov dword [ebp - 0x10], 0x1008a95
nop
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 2
jb 0x40af70
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
mov byte [ebp - 0xd], 0
jbe 0x40af8d
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.004e5920
mov edi, eax
add esp, 8
test edi, edi
je 0x40b00d
push esi
push 2
push 0
push edi
call fcn.004e96f6
push edi
call fcn.004e54ab
push 0
push 0
push edi
mov esi, eax
call fcn.004e96f6
mov eax, dword [ebp - 0x18]
add esp, 0x1c
cmp esi, eax
jbe 0x40afc9
mov esi, eax
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x10]
cmp esi, edx
ja 0x40afe3
mov dword [ecx + 0x10], esi
cmp dword [ecx + 0x14], 0xf
jbe 0x40afdd
mov ecx, dword [ecx]
mov byte [ecx + esi], 0
jmp 0x40afef
mov eax, esi
push 0
sub eax, edx
push eax
call fcn.0046b420
mov eax, dword [ebx]
cmp dword [eax + 0x14], 0xf
jbe 0x40aff9
mov eax, dword [eax]
push edi
push esi
push 1
push eax
call fcn.004ee19f
push edi
call fcn.004e91a8
add esp, 0x14
pop esi
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402c80
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40b030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505e8d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x10], 0x1008a95
xor ecx, ecx
lea ecx, [ecx]
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 2
jb 0x40b060
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
mov byte [ebp - 0xd], 0
jbe 0x40b07d
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.004e5920
mov esi, eax
add esp, 8
test esi, esi
je 0x40b0ab
push 2
push 0
push esi
call fcn.004e96f6
push esi
call fcn.004e54ab
push esi
mov edi, eax
call fcn.004e91a8
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402c80
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x40b110
Capabilities:
Check os version
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov dword [ebp - 0x1a], 0xad859cb5
xor ecx, ecx
mov dword [ebp - 0x16], 0x8bbb988e
mov dword [ebp - 0x12], 0x9d98839d
mov word [ebp - 0xe], 0x9d
mov byte [ebp - 0xc], 1
lea ebx, [ebx]
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x1a], al
inc ecx
cmp ecx, 0xd
jb 0x40b140
mov byte [ebp - 0xc], 0
xor ecx, ecx
mov dword [ebp - 0xb], 0x868d9ca9
mov dword [ebp - 7], 0x8289c287
mov word [ebp - 3], 0x83
mov byte [ebp - 1], 1
jmp 0x40b170
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0xb], al
inc ecx
cmp ecx, 9
jb 0x40b170
lea eax, [ebp - 0xb]
mov byte [ebp - 1], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x1a]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40b1a5
lea ecx, [ebp - 0xb8]
push ecx
call eax
jmp 0x40b1b2
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0xb4]
cmp eax, 0xb
je 0x40b1c2
cmp eax, 0xa
jne 0x40b1d1
cmp dword [ebp - 0xb0], 0
je 0x40b1eb
xor al, al
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x40b1cb
mov eax, dword [ebp - 0xb0]
cmp eax, 3
je 0x40b1eb
cmp eax, 2
sete al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x40b2b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505e8d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x10], 0x1008a95
lea esp, [esp]
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 2
jb 0x40b2e0
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
mov byte [ebp - 0xd], 0
jbe 0x40b2fd
mov eax, dword [ebp + 8]
push ebx
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.004e5920
add esp, 8
test eax, eax
je 0x40b31c
push eax
call fcn.004e91a8
add esp, 4
mov bl, 1
jmp 0x40b31e
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402c80
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40b340
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50607d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push 0x5444b0
mov esi, ecx
mov dword [ebp - 0x10], 0x5444b0
call fcn.004ded99
add esp, 4
test eax, eax
jne 0x40b3ed
cmp dword [0x5444dc], 0x7fffffff
je 0x40b3f4
mov dword [ebp - 4], eax
test esi, esi
je 0x40b3c5
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b390
sub ecx, edx
je 0x40b3c5
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40b3c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x40b3c1
cmp eax, 0x20
je 0x40b3c1
cmp eax, 0x45
je 0x40b3c1
cmp eax, 0x24
jne 0x40b3c5
mov bl, 1
jmp 0x40b3c7
xor bl, bl
mov dword [ebp - 4], 0xffffffff
push 0x5444b0
call fcn.004dedaa
mov ecx, dword [ebp - 0xc]
add esp, 4
mov al, bl
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
call fcn.004de734
push 6
mov dword [0x5444dc], 0x7ffffffe
call fcn.004de734
int3

Function at 0x40b410
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50607d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push 0x5444b0
mov esi, ecx
mov dword [ebp - 0x10], 0x5444b0
call fcn.004ded99
add esp, 4
test eax, eax
jne 0x40b482
cmp dword [0x5444dc], 0x7fffffff
je 0x40b489
mov dword [ebp - 4], eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
push 0x5444b0
call fcn.004dedaa
mov ecx, dword [ebp - 0xc]
add esp, 4
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
push 5
call fcn.004de734
push 6
mov dword [0x5444dc], 0x7ffffffe
call fcn.004de734
int3
Function at 0x40cd00
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xc], 0
je 0x40cd22
xor eax, eax
jmp 0x40cd10
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 0xb
jb 0x40cd10
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
ret
Function at 0x40cfa0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 7], 0
je 0x40cfc2
xor eax, eax
jmp 0x40cfb0
lea edx, [esi + eax]
lea ecx, [eax - 0x19]
inc eax
xor byte [edx], cl
cmp eax, 6
jb 0x40cfb0
mov byte [esi + 7], 0
mov eax, esi
pop esi
ret