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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x461c13
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x461bfa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x468590
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49472e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00468eb0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x49cc54
call fcn.004866a0
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x468623
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004866a0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x46861c
push 0
mov ecx, eax
call fcn.0045f6c0
mov dword [esi + 0xc], eax
jmp 0x468625
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x468625
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x488ce9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x488d21
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00486dba
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00486d92
jmp 0x488d2d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48a3d7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48a419
call fcn.0048fd5c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48a419
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48a410
xor eax, eax
jmp 0x48a421
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048a427
pop edi
pop esi
pop ebx
ret 4
Function at 0x49028c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4902ba
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4902d8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004901f2
jmp 0x4902d8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4902d8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004901f2
test edi, edi
mov eax, edi
jne 0x4902c2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402a50
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404024
or esi, esi
jne 0x402a86
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
push eax
pop ecx
push esp
pop edx
mov eax, ebx
call fcn.00404114
jmp 0x402aa4
call sub.kernel32.dll_GetCommandLineA
push eax
pop edi
push ebx
pop edx
mov eax, edi
call fcn.00402904
mov edi, eax
test esi, esi
je 0x402aa4
cmp dword [ebx], 0
je 0x402aa4
dec esi
jmp 0x402a8d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402ca8
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x446008], 0x8088405
inc edx
mov dword [ebx + 0x446008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4030dc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x446024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403174
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403154
xor eax, eax
push ebp
push 0x40314d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403190
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
sub eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403154
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x446024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x446024], ax
push ebp
pop esp
pop ebp
ret

Function at 0x403e04
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x44b044], 0
je 0x403e65
cmp word [0x44b218], 0xd7b2
jne 0x403e2d
cmp dword [0x44b220], 0
jbe 0x403e2d
mov eax, 0x44b214
call dword [fcn.0044b230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x446070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403e8c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x446034], 0
jne 0x403e81
push 0
push 0x446068
push 0x446070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403fd8
Capabilities:
Create thread

Disassembly:
push ebp
push esp
pop ebp
push ebx
push esi
push edi
mov edi, ecx
push edx
pop esi
mov ebx, eax
nop
push 8
nop
pop eax
call fcn.004026e8
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x44b045], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403fa0
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40568c
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
push esp
pop ebp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4058bc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
or eax, eax
je 0x40570f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4058bc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
or eax, eax
je 0x40570f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4058d8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405798
xor eax, eax
push ebp
push 0x405791
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004054d4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405776
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4058f8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
or eax, eax
je 0x405776
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
sub eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405798
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
sub esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4058b2
cmp byte [ebp - 0xd], 0
jne 0x4057df
cmp byte [ebp - 0x12], 0
je 0x4058b2
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
push eax
pop ebx
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4057f8
dec ebx
cmp byte [ebx], 0x2e
je 0x405807
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4057f7
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4058b2
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405844
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4058b2
cmp byte [ebp - 0xd], 0
je 0x4058b2
lea eax, [ebp - 0x11d]
push ebx
pop edx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4058b2
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
push eax
pop esi
push esi
pop eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405f54
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
sub edx, edx
mov dword [ebp - 0x10], edx
sub edx, edx
push ebp
push 0x405fba
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
nop
push 7
nop
pop ecx
call fcn.00404294
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402cc4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405fa4
sub ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405fc1
lea eax, [ebp - 0x10]
call fcn.00404024
ret

Function at 0x408008
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
push ebx
pop eax
call fcn.004044e4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408021
test al, 0x10
jne 0x408025
sub eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40ac70
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
push ecx
pop esi
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
or eax, eax
jle 0x40aca9
push eax
pop ecx
dec ecx
lea edx, [ebp - 0x100]
push ebx
pop eax
call fcn.00404114
jmp 0x40acb2
mov eax, ebx
push esi
pop edx
call fcn.00404078
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret 4

Function at 0x40acbc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
push edx
pop esi
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
or eax, eax
jle 0x40acdd
mov al, byte [esp]
jmp 0x40acdf
push ebx
pop eax
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c284
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
sub edx, edx
mov dword [ebp - 0xc], edx
sub edx, edx
push ebp
push 0x40c2e8
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
pushal
popal
push 7
pop ecx
call fcn.00404294
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
push eax
pop edx
pop eax
call fcn.00407c34
push eax
pop ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c2ef
lea eax, [ebp - 0xc]
call fcn.00404024
ret

Function at 0x41bf9c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041bdf4
dec esi
jne 0x41bfbe
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x429dec
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
push esp
pop ebp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x429df4
push ecx
push ebx
push esi
push edi
push eax
pop ebx
sub eax, eax
push ebp
push 0x429fe6
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x429ffc
push esi
pop eax
call fcn.004278e4
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404078
lea ecx, [ebp - 0x10]
mov edx, 0x42a010
mov eax, esi
call fcn.004278e4
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404078
lea ecx, [ebp - 0x14]
mov edx, 0x42a028
mov eax, esi
call fcn.004278e4
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404078
lea ecx, [ebp - 0x18]
mov edx, 0x42a044
push esi
pop eax
call fcn.004278e4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404078
lea ecx, [ebp - 0x1c]
mov edx, 0x42a060
mov eax, esi
call fcn.004278e4
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404078
lea ecx, [ebp - 0x24]
mov edx, 0x42a078
push esi
pop eax
call fcn.004278e4
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00407824
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00407c34
push eax
pop edi
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x42a090
mov eax, esi
call fcn.004278e4
mov eax, dword [ebp - 0x28]
call fcn.004269e0
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x42a0a0
push esi
pop eax
call fcn.004278e4
mov eax, dword [ebp - 0x2c]
call fcn.004269e0
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x42a0b8
mov eax, esi
call fcn.004278e4
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00407c34
inc eax
je 0x429f89
lea ecx, [ebp - 0x34]
mov edx, 0x42a0b8
push esi
pop eax
call fcn.004278e4
mov eax, dword [ebp - 0x34]
call fcn.00407bf8
push eax
pop edi
push edi
pop eax
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
push edx
pop ecx
mov eax, ecx
push ecx
nop
nop
push 0x3c
pop ecx
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
push ecx
pop eax
nop
push 0x3c
nop
pop ecx
cdq
idiv ecx
mov edi, edx
push 0
push edi
pop ecx
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.00409374
fstp qword [ebp - 0x3c]
wait
call fcn.004096d8
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x429fa4
lea ecx, [ebp - 0x40]
mov edx, 0x42a0b8
push esi
pop eax
call fcn.004278e4
mov eax, dword [ebp - 0x40]
call fcn.004269e0
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x42a0c8
mov eax, esi
call fcn.004278e4
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404078
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429fed
lea eax, [ebp - 0x44]
push 2
pop edx
push edx
pop edx
call fcn.00404048
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404048
ret
Function at 0x436a04
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
push edx
pop esi
xor edx, edx
push ebp
push 0x436a5e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004369f4
push eax
pop ebx
lea edx, [ebp - 4]
push edi
pop eax
call fcn.004253c4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00424fc4
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436a65
lea eax, [ebp - 4]
call fcn.00404024
ret

Function at 0x43bcc4
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
push ecx
pop edx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x449a80]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x43bd00
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x43bd18
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x43bd11
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
sub ecx, ecx
nop
push 7
nop
pop edx
call fcn.00402c88
xor edx, edx
mov eax, 0x449c80
mov bl, byte [eax]
push ebx
pop ecx
and cl, 7
and ecx, 0xff
push ecx
push 7
pop ecx
push edi
pop edi
pop esi
sub ecx, esi
pushfd
xor esi, esi
inc esi
popfd
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x43bd82
mov ecx, edx
and ecx, 7
push ecx
push 7
pop ecx
pushal
popal
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
push edx
pop ecx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x43bd36
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
push ebp
pop esp
pop ebp
ret 4
Function at 0x43bfc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esp
pop ebp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
or ebx, ebx
js 0x43bfd9
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x43bfd2
push esp
pop ecx
push edx
pop ebx
or ebx, ebx
js 0x43bfeb
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x43bfe4
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.0043bbb4
push edi
pop edi
push 6
pop ebx
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x43c005
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
sub ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
sub ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
sub edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
sub edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.0043bcc4
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x43c08a
nop
nop
push 4
pop ebx
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x43c0a7
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0043bc44
push 4
pop ebx
push ebx
pop ebx
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x43c0d0
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43c0e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
or ebx, ebx
js 0x43c101
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x43c0fa
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x43c115
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0043baac
test bl, bl
jne 0x43c1e8
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x44bc58
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x43c14c
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x43c160
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0043bfc0
push 4
pop eax
push ebx
pop ebx
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x43c192
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x43c141
pushal
popal
push 4
pop eax
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x43c1b5
nop
push 4
nop
pop eax
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x43c1c6
nop
push 4
nop
pop eax
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x43c1da
jmp 0x43c2a3
cmp bl, 1
jne 0x43c2a3
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x44bcb2
push 4
pop eax
nop
nop
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x43c208
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x43c21c
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0043bfc0
push 4
pop eax
pushal
popal
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x43c24e
sub ebx, 6
inc dword [ebp - 8]
jne 0x43c1fd
push 4
pop eax
nop
nop
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x43c275
nop
push 4
nop
pop eax
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x43c286
push 4
pop eax
push edi
pop edi
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x43c29a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0043bb30
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8