joyce8/EMBER2024-capa huggingface dataset:
Function at 0x26fc81e
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.026fc642
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x26fc98d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x26fc98d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x26fc942
jg 0x26fc87a
test eax, eax
je 0x26fc938
push 1
push 0x1000
call fcn.026f6b19
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x26fc89d
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x26fc92f
push 0x8000
push ebx
call fcn.026f1bbf
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x26fc8c6
jg 0x26fc8c1
cmp ecx, 0x1000
jb 0x26fc8c6
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.026f51a4
add esp, 0x10
cmp eax, 0xffffffff
je 0x26fc90b
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x26fc8c1
jl 0x26fc8f2
test ecx, ecx
jne 0x26fc8b3
push dword [ebp - 0xc]
push ebx
call fcn.026f1bbf
push esi
call fcn.026f6b7c
add esp, 0xc
xor ebx, ebx
jmp 0x26fc99b
cmp byte [edi + 0x24], 0
je 0x26fc922
cmp dword [edi + 0x20], 5
jne 0x26fc922
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x26fc92d
mov ebx, dword [edi + 0x18]
jmp 0x26fc92f
xor ebx, ebx
push esi
call fcn.026f6b7c
pop ecx
jmp 0x26fc99b
test ecx, ecx
jg 0x26fc904
jl 0x26fc942
test eax, eax
jae 0x26fc904
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.026e9ee5
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x26fc962
cmp byte [edi + 0x1c], 0
je 0x26fc904
jmp 0x26fc993
push ebx
call fcn.026fc3ac
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x26fc904
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x26fc99b
cmp byte [edi + 0x1c], 0
je 0x26fc998
mov ebx, dword [edi + 0x18]
jmp 0x26fc99b
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.026e9ee5
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x2700ba6
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x23f6480]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x2700bf1
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.02700f78
test al, al
jne 0x2700beb
sub edx, 2
cmp edx, edi
jne 0x2700bd1
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x2700c13
lea eax, [edi + 2]
cmp edx, eax
je 0x2700c13
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0270086d
add esp, 0x10
jmp 0x2700d0d
push esi
lea ecx, [ebp - 0x255]
call fcn.02700f78
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x2700c56
push dword [ebp - 0x25c]
jmp 0x2700c03
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x2700c93
cmp word [ebp - 0x226], 0
je 0x2700cb4
cmp word [ebp - 0x226], ax
jne 0x2700c93
cmp word [ebp - 0x224], 0
je 0x2700cb4
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0270086d
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x2700d00
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x2700c6d
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x2700ce8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x2700d0d
push 0x270038c
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.026e4c40
add esp, 0x10
jmp 0x2700cdd
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.026a6086
leave
ret
Function at 0x27020e8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x2702185
push ebx
push esi
call fcn.027020a4
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.026fd9f9
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x2702132
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x2702184
push edi
push eax
call fcn.026f7bcc
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x2702152
call fcn.026f6b7c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x2702183
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.026fd9f9
add esp, 0x20
test eax, eax
jne 0x2702171
push edi
call fcn.026f6b7c
jmp 0x2702179
push ebx
call fcn.026f6b7c
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x2702188
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x2702199
pop esi
ret
push ebx
push edi
push esi
call fcn.027020a4
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.026f7bcc
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x27021c1
push ebx
push esi
push edi
call fcn.026a8640
add esp, 0xc
push 0
call fcn.026f6b7c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x2702ab0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.02702436

Function at 0x2702f9b
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.02702e6f

Function at 0x2705182
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.026f67fd
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x27051f1
cmp esi, dword [ebp - 4]
je 0x27051ec
cmp dword [ebp + 0xc], 0
je 0x27051ec
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x27051c9
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.02704cd4
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x27051f3
xor eax, eax
inc eax
jmp 0x27051f3
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x2705258
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x23f6480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.026f67fd
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.026f67fd
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x27052cf
cmp word [ecx], dx
je 0x27052cf
mov eax, dword [0x259497c]
push edi
dec eax
push eax
push 0x2594868
call fcn.027051f7
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x2705342
cmp word [eax], dx
je 0x2705342
mov eax, dword [edi]
test eax, eax
je 0x27052f3
cmp word [eax], dx
je 0x27052f3
lea eax, [ebp - 0x10]
push eax
call fcn.02704bda
jmp 0x27052fc
lea eax, [ebp - 0x10]
push eax
call fcn.02704c75
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x270536c
mov eax, dword [0x2594864]
push dword [ebp - 0x14]
dec eax
push eax
push 0x2594558
call fcn.027051f7
add esp, 0xc
test al, al
je 0x270536c
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x2705337
cmp word [eax], di
je 0x2705337
lea eax, [ebp - 0x10]
push eax
call fcn.02704bda
pop ecx
jmp 0x270536e
lea eax, [ebp - 0x10]
push eax
call fcn.02704c75
jmp 0x2705334
mov eax, dword [edi]
test eax, eax
je 0x2705359
cmp word [eax], dx
je 0x2705359
lea eax, [ebp - 0x10]
push eax
call fcn.02704b71
pop ecx
jmp 0x270536c
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x2705437
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0270507c
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x2705437
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x2705437
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x2705437
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x27053c4
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.026f89d9
test ebx, ebx
je 0x2705432
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.026f89d9
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x2705437
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x2705437
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0270b557
add esp, 0x10
xor eax, eax
inc eax
jmp 0x2705439
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.026a6086
leave
ret
Function at 0x270a077
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x23f6480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x270a0ba
call fcn.026e55ba
mov dword [eax], 0xf
call fcn.026e55cd
mov dword [eax], 0xd
call fcn.026b6258
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.026a6086
leave
ret
test eax, eax
jne 0x270a0c1
inc eax
jmp 0x270a0ae
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x270a0ac
xor eax, eax
cmp ecx, 1
setne al
jmp 0x270a0ae

Function at 0x270d680
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x270d6ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x270d6ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402969
Capabilities:
Encode data using xor

Disassembly:
push 0x54
mov eax, 0x4359ac
call fcn.0041daaa
mov ebx, ecx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x3c], ebx
xor eax, eax
mov esi, str.vDNHM_t_t
mov dword [ebp - 4], eax
lea edi, [ebp - 0x48]
push 0x36
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
cmp byte [0x4414e3], al
je 0x4029ad
mov ecx, eax
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x48], dl
inc ecx
cmp ecx, 0xc
jl 0x40299a
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, eax
mov dword [ebp - 0x3c], ecx
test ecx, ecx
je 0x402a8f
mov esi, str.vDNHMoULOQK__6_a_1G
lea edi, [ebp - 0x60]
push 0x36
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor esi, esi
pop edi
xor edx, edx
mov eax, esi
div edi
add dl, 0x35
xor byte [ebp + esi - 0x60], dl
inc esi
cmp esi, 0x13
jl 0x4029d8
lea eax, [ebp - 0x60]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
je 0x402a86
push 0xf
pop edx
cmp dword [ebp + 0x1c], edx
lea eax, [ebp + 8]
lea edi, [ebp - 0x28]
cmova eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov byte [ebp - 0x28], al
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 1
push edx
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x38]
push eax
call ecx
test eax, eax
je 0x402a86
cmp dword [ebp - 0x30], 0
jbe 0x402a5f
xor esi, esi
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
movzx eax, byte [eax + esi]
push eax
call fcn.004042b0
inc esi
cmp esi, dword [ebp - 0x30]
jb 0x402a49
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.0040412a
lea ecx, [ebp - 0x28]
call fcn.004026b1
jmp 0x402a9b
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x441144
mov ecx, ebx
call fcn.00404163
lea ecx, [ebp + 8]
call fcn.004026b1
mov eax, ebx
call fcn.0041da59
ret
Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push 0x9c
mov eax, 0x435b90
call fcn.0041daaa
mov edi, ecx
mov eax, dword [str.VYGA9]
xor ecx, ecx
mov dword [ebp - 0x80], eax
mov al, byte [0x441240]
push 0x36
mov byte [ebp - 0x7c], al
pop ebx
xor edx, edx
mov eax, ecx
div ebx
add dl, 0x35
xor byte [ebp + ecx - 0x80], dl
inc ecx
cmp ecx, 5
jl 0x40321a
lea eax, [ebp - 0x80]
mov edx, edi
push eax
lea ecx, [ebp - 0x74]
call fcn.004043cb
pop ecx
and dword [ebp - 4], 0
push 0x48
call fcn.0041ce07
mov esi, eax
pop ecx
mov dword [ebp - 0x84], esi
push 0x48
push 0
push esi
mov byte [ebp - 4], 1
call fcn.0041ecf0
sub esp, 0xc
mov ecx, esp
push edi
call fcn.0040419c
lea eax, [ebp - 0x75]
mov ecx, esi
push eax
call fcn.004028a7
mov byte [ebp - 4], 0
mov ebx, eax
cmp byte [ebp - 0x75], 0
je 0x4033a0
mov esi, 0x441278
lea edi, [ebp - 0x90]
push 0x36
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x90], dl
inc ecx
cmp ecx, 9
jl 0x403297
sub esp, 0x18
lea eax, [ebp - 0x90]
mov ecx, esp
push eax
call fcn.00404163
mov ecx, ebx
call fcn.00413e04
test al, al
je 0x4033a0
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 2
xor esi, esi
mov eax, dword [ebx + 0x3c]
sub eax, dword [ebx + 0x38]
push 0xc
cdq
pop edi
idiv edi
test eax, eax
jle 0x403398
push 0
push esi
lea eax, [ebp - 0x5c]
mov ecx, ebx
push eax
call fcn.00414145
push 1
push esi
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.00414145
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x44]
mov dword [ebp - 0x80], esp
mov ecx, esp
push eax
call fcn.0040419c
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x5c]
mov ecx, esp
push eax
call fcn.0040419c
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 4
call fcn.00404d66
add esp, 0x30
push eax
mov ecx, 0x44a824
mov byte [ebp - 4], 6
call fcn.004042eb
lea ecx, [ebp - 0xa8]
call fcn.004026b1
lea ecx, [ebp - 0x44]
call fcn.004026b1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.004026b1
mov eax, dword [ebx + 0x3c]
inc esi
sub eax, dword [ebx + 0x38]
cdq
idiv edi
cmp esi, eax
jl 0x4032ff
lea ecx, [ebp - 0x2c]
call fcn.004026b1
test ebx, ebx
je 0x4033b5
mov ecx, ebx
call fcn.004031d0
push 0x48
push ebx
call fcn.0041ce37
pop ecx
pop ecx
lea ecx, [ebp - 0x74]
call fcn.004026b1
call fcn.0041da59
ret
Function at 0x4049d6
Capabilities:
Encode data using xor

Disassembly:
push 0xd4
mov eax, 0x435ec0
call fcn.0041da77
mov eax, edx
mov dword [ebp - 0x18], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor ebx, ebx
cmp dword [eax + 0x10], ebx
jbe 0x404b89
mov esi, 0x441638
lea edi, [ebp - 0x14]
push 0x3a
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x14], dl
inc ecx
cmp ecx, 7
jl 0x404a0b
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xe0]
call fcn.004043cb
pop ecx
push dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.004042eb
push eax
lea ecx, [ebp - 0xc8]
call fcn.0040412a
mov byte [ebp - 4], 1
cmp byte [0x44162b], 0
mov eax, dword [str._pvtj]
mov ecx, dword [0x441628]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
je 0x404a7b
xor edx, edx
mov eax, ebx
div esi
add dl, 0x35
xor byte [ebp + ebx - 0x14], dl
inc ebx
cmp ebx, 8
jl 0x404a68
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00404734
push eax
lea ecx, [ebp - 0xb0]
call fcn.0040412a
push dword [ebp + 0xc]
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 2
call fcn.004042eb
push eax
lea ecx, [ebp - 0x98]
call fcn.0040412a
push 1
mov esi, 0x441610
mov byte [ebp - 4], 3
push esi
lea ecx, [ebp - 0x98]
call fcn.00404367
push eax
lea ecx, [ebp - 0x80]
call fcn.0040412a
push dword [ebp + 0x10]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.004042eb
push eax
lea ecx, [ebp - 0x68]
call fcn.0040412a
push 1
push esi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.00404367
push eax
lea ecx, [ebp - 0x50]
call fcn.0040412a
push dword [ebp + 0x14]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.004042eb
push eax
lea ecx, [ebp - 0x38]
call fcn.0040412a
push 2
push 0x44160c
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.00404367
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.0040412a
lea ecx, [ebp - 0x38]
call fcn.004026b1
lea ecx, [ebp - 0x50]
call fcn.004026b1
lea ecx, [ebp - 0x68]
call fcn.004026b1
lea ecx, [ebp - 0x80]
call fcn.004026b1
lea ecx, [ebp - 0x98]
call fcn.004026b1
lea ecx, [ebp - 0xb0]
call fcn.004026b1
lea ecx, [ebp - 0xc8]
call fcn.004026b1
lea ecx, [ebp - 0xe0]
call fcn.004026b1
mov eax, dword [ebp - 0x1c]
jmp 0x404b95
push 0x441144
call fcn.00404163
mov eax, esi
call fcn.0041da45
ret
Function at 0x404b9b
Capabilities:
Encode data using xor

Disassembly:
push 0x94
mov eax, 0x435f2b
call fcn.0041da77
mov esi, ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [ebp - 4], 2
cmp dword [ebp + 0x48], ebx
jbe 0x404d3a
cmp dword [ebp + 0x30], ebx
jbe 0x404d3a
inc dword [0x44a76c]
lea edi, [ebp - 0x20]
mov esi, 0x441648
mov ecx, ebx
push 0x3a
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x20], dl
inc ecx
cmp ecx, 0xb
jl 0x404be8
lea eax, [ebp + 8]
push eax
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0xa0]
call fcn.00404fd1
pop ecx
mov dword [ebp - 0x14], eax
mov esi, 0x44162c
mov byte [ebp - 4], 3
cmp byte [str.__bem3_], 0
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x404c44
push 0x3a
mov ecx, ebx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x20], dl
inc ecx
cmp ecx, 0xc
jl 0x404c2e
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call fcn.00404734
push eax
lea ecx, [ebp - 0x88]
call fcn.0040412a
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x88]
call fcn.004042eb
push eax
lea ecx, [ebp - 0x70]
call fcn.0040412a
mov esi, str._fVKJMTNY
mov byte [ebp - 4], 5
cmp byte [str.__sOH], 0
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x404ca5
push 0x3a
pop ecx
xor edx, edx
mov eax, ebx
div ecx
add dl, 0x35
xor byte [ebp + ebx - 0x20], dl
inc ebx
cmp ebx, 0xc
jl 0x404c92
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x70]
call fcn.00404734
push eax
lea ecx, [ebp - 0x58]
call fcn.0040412a
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x58]
call fcn.004042eb
push eax
lea ecx, [ebp - 0x40]
call fcn.0040412a
push 2
push 0x441614
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.00404367
mov ecx, dword [ebp - 0x24]
push eax
call fcn.0040412a
lea ecx, [ebp - 0x40]
call fcn.004026b1
lea ecx, [ebp - 0x58]
call fcn.004026b1
lea ecx, [ebp - 0x70]
call fcn.004026b1
lea ecx, [ebp - 0x88]
call fcn.004026b1
lea ecx, [ebp - 0xa0]
call fcn.004026b1
lea ecx, [ebp + 8]
call fcn.004026b1
lea ecx, [ebp + 0x20]
call fcn.004026b1
lea ecx, [ebp + 0x38]
call fcn.004026b1
mov eax, dword [ebp - 0x24]
jmp 0x404d60
push 0x441144
mov ecx, esi
call fcn.00404163
lea ecx, [ebp + 8]
call fcn.004026b1
lea ecx, [ebp + 0x20]
call fcn.004026b1
lea ecx, [ebp + 0x38]
call fcn.004026b1
mov eax, esi
call fcn.0041da45
ret