joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b780
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f1e34
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x24], esp
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.004b4270
mov byte [esp + 0x30], 1
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
mov byte [esp + 0x30], 0
call fcn.0040bce0
mov edx, dword [esp + 0x54]
add esp, 0x1c
mov dword [esp + 0x3c], eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov dword [esp + 0x14], 0xffffffff
lea eax, [esp + 0x1c]
push eax
call fcn.004b3a50
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret

Function at 0x40bce0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ec312
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], 0
mov ebx, 8
cmp esi, edi
je 0x40bd47
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x34], ebx
jae 0x40bd23
lea ecx, [esp + 0x20]
cmp dword [esi + 0x18], ebx
jb 0x40bd2d
mov eax, dword [esi + 4]
jmp 0x40bd30
lea eax, [esi + 4]
push eax
call fcn.004bc6f0
add esp, 4
test eax, eax
je 0x40bd47
add esi, 0x18c
cmp esi, edi
jne 0x40bd15
mov dword [esp + 0x14], 0xffffffff
cmp dword [esp + 0x34], ebx
jb 0x40bd62
mov eax, dword [esp + 0x20]
push eax
call fcn.004c4802
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], cx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x40e840
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40e859
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40e894
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40e890
lea ebx, [ebx]
cmp esi, eax
jae 0x40e894
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40e880
cmp esi, eax
jb 0x40e89a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40fa90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f27c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.00401780
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x48]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.0040de10
lea edx, [esp + 0x14]
push edx
call fcn.0040fd60
mov byte [esp + 0x38], 1
cmp dword [eax + 0x18], 0x10
jb 0x40faf0
mov eax, dword [eax + 4]
jmp 0x40faf3
add eax, 4
push eax
lea ecx, [esp + 0x14]
call fcn.0040fdd0
mov byte [esp + 0x38], 2
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x44]
push 0x622358
push ebx
push 4
mov edx, eax
call fcn.004112d0
add esp, 0x10
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x10]
call fcn.00401690
mov byte [esp + 0x38], bl
cmp dword [esp + 0x2c], 0x10
jb 0x40fb45
mov edx, dword [esp + 0x18]
push edx
call fcn.004c4802
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00401690
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x34
ret

Function at 0x40fb80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f27c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.00401780
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x48]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.0040de10
lea edx, [esp + 0x14]
push edx
call fcn.0040fd60
mov byte [esp + 0x38], 1
cmp dword [eax + 0x18], 0x10
jb 0x40fbe0
mov eax, dword [eax + 4]
jmp 0x40fbe3
add eax, 4
push eax
lea ecx, [esp + 0x14]
call fcn.0040fdd0
mov byte [esp + 0x38], 2
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x44]
push 0x622358
push ebx
push 0xc000
mov edx, eax
call fcn.004112d0
add esp, 0x10
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x10]
call fcn.00401690
mov byte [esp + 0x38], bl
cmp dword [esp + 0x2c], 0x10
jb 0x40fc38
mov edx, dword [esp + 0x18]
push edx
call fcn.004c4802
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00401690
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x34
ret
Function at 0x40fc70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f27c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.00401780
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x48]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.0040de10
lea edx, [esp + 0x14]
push edx
call fcn.0040fd60
mov byte [esp + 0x38], 1
cmp dword [eax + 0x18], 0x10
jb 0x40fcd0
mov eax, dword [eax + 4]
jmp 0x40fcd3
add eax, 4
push eax
lea ecx, [esp + 0x14]
call fcn.0040fdd0
mov byte [esp + 0x38], 2
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x44]
push 0x622358
push ebx
push 1
mov edx, eax
call fcn.004112d0
add esp, 0x10
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x10]
call fcn.00401690
mov byte [esp + 0x38], bl
cmp dword [esp + 0x2c], 0x10
jb 0x40fd25
mov edx, dword [esp + 0x18]
push edx
call fcn.004c4802
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00401690
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x34
ret
Function at 0x4118a0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5f00b1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0xc], ebx
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x18], ax
mov eax, dword [esp + 0x44]
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
call fcn.0040f320
mov dword [esp + 0x34], 1
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x411900
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea ecx, [esp + 0x14]
call fcn.0040ec10
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0xffffffffffffffff
mov word [esi + 4], cx
push ebx
mov ecx, esi
call fcn.0040f320
mov dword [esp + 0xc], 1
mov byte [esp + 0x34], bl
cmp dword [esp + 0x28], 8
jb 0x411955
mov edx, dword [esp + 0x14]
push edx
call fcn.004c4802
add esp, 4
xor eax, eax
mov word [esp + 0x14], ax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret

Function at 0x411d50
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5f1d22
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x6656b0]
xor eax, esp
mov dword [esp + 0x210], eax
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push ecx
push 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.0040ea80
mov dword [esp + 0x220], 0
mov dword [esp + 4], 1
mov eax, esi
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.005b7e8e
add esp, 0x220
ret
Function at 0x412830
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5f1ccd
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x6656b0]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
push 0x622024
lea ecx, [esp + 8]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
call fcn.0040ea80
mov dword [esp + 0x224], 1
lea eax, [esp + 0x10]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x104
ja 0x4128c3
test eax, eax
je 0x4128c3
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 8]
call fcn.00401640
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.0040e310
jmp 0x4128cf
lea eax, [esp + 4]
push eax
mov ecx, esi
call fcn.0040e310
mov dword [esp + 8], 1
mov byte [esp + 0x224], 0
lea ecx, [esp + 4]
call fcn.00401690
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.005b7e8e
add esp, 0x224
ret

Function at 0x414fa0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5f1c6a
mov eax, dword fs:[0]
push eax
mov eax, 0x200c
call fcn.005c1b90
mov eax, dword [0x6656b0]
xor eax, esp
mov dword [esp + 0x2008], eax
push edi
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0x2014]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 0x201c], 3
xor eax, eax
push 0x1ffe
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.005bfee0
mov edi, dword [edi + 4]
mov eax, dword [esp + 0x2038]
mov ecx, dword [esp + 0x2034]
add esp, 0xc
push edi
push 0x1000
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x2030]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0040ea80
mov dword [esp + 8], 1
mov byte [esp + 0x201c], 2
lea ecx, [esp + 0x2024]
call fcn.00401690
mov byte [esp + 0x201c], 1
lea ecx, [esp + 0x2028]
call fcn.00401690
mov byte [esp + 0x201c], 0
lea ecx, [esp + 0x202c]
call fcn.00401690
mov eax, esi
mov ecx, dword [esp + 0x2014]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x2008]
xor ecx, esp
call fcn.005b7e8e
add esp, 0x2018
ret 0xc
Function at 0x41a6f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5efc61
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0x10], ebx
xor eax, eax
mov word [esp + 0x18], ax
mov eax, 0x621398
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
lea edx, [eax + 2]
jmp 0x41a740
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41a740
sub eax, edx
sar eax, 1
push eax
mov eax, 0x621398
lea esi, [esp + 0x18]
call fcn.0040f730
mov dword [esp + 0x38], 1
mov ecx, dword [esp + 0x44]
push ebx
push ecx
or eax, 0xffffffff
call fcn.0040eb50
push 0xffffffffffffffff
mov esi, 7
xor edx, edx
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
push ebx
mov ecx, edi
mov word [edi + 4], dx
call fcn.0040f320
mov dword [esp + 0x10], 1
mov byte [esp + 0x38], bl
cmp dword [esp + 0x2c], 8
jb 0x41a7af
mov eax, dword [esp + 0x18]
push eax
call fcn.004c4802
add esp, 4
xor ecx, ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], cx
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x443ce0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f11d4
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor eax, eax
mov ecx, 0xf
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], eax
mov byte [esi + 4], al
mov dword [esp + 0x18], eax
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], eax
mov byte [esi + 0x20], al
mov byte [esp + 0x18], 1
mov dword [esi + 0x50], ecx
mov dword [esi + 0x4c], eax
mov byte [esi + 0x3c], al
mov byte [esp + 0x18], 2
lea ecx, [esi + 0x54]
call fcn.0047d390
mov byte [esp + 0x18], 3
lea ecx, [esi + 0x6c]
call fcn.0047d390
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x48ce10
Capabilities:
Encode data using base64

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, eax
test esi, esi
je 0x48cf10
cmp edi, 2
jle 0x48ce8b
lea esp, [esp]
movzx eax, byte [esi]
movzx ecx, byte [esi + 1]
movzx edx, byte [esi + 2]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
mov ecx, 4
lea ebx, [ebx]
mov edx, eax
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
dec ecx
shr eax, 6
mov byte [esp + ecx + 0xc], dl
test ecx, ecx
jg 0x48ce50
lea eax, [esp + 0xc]
push 4
push eax
mov eax, ebp
call fcn.0048b650
add esp, 8
test eax, eax
jne 0x48cf17
sub edi, 3
add esi, 3
cmp edi, 2
jg 0x48ce30
test edi, edi
jle 0x48cf10
xor ecx, ecx
xor eax, eax
test edi, edi
jle 0x48ceb4
mov edx, edi
mov eax, edi
push ebx
movzx ebx, byte [esi]
shl ecx, 8
or ecx, ebx
inc esi
sub edx, 1
jne 0x48cea0
cmp edi, 3
pop ebx
jge 0x48cec8
mov edx, 3
sub edx, eax
add eax, edx
lea ecx, [ecx]
shl ecx, 8
sub edx, 1
jne 0x48cec0
inc eax
test eax, eax
jle 0x48cee7
lea ecx, [ecx]
mov edx, ecx
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
dec eax
shr ecx, 6
mov byte [esp + eax + 0xc], dl
test eax, eax
jg 0x48ced0
mov eax, 3
cmp edi, eax
jge 0x48cefb
mov cl, 0x3d
mov byte [esp + eax + 0xc], cl
dec eax
cmp eax, edi
jg 0x48cef2
lea eax, [esp + 0xc]
push 4
push eax
mov eax, ebp
call fcn.0048b650
add esp, 8
test eax, eax
jne 0x48cf17
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
mov eax, dword [ebp + 0x16164]
pop edi
pop esi
pop ebp
pop ecx
ret

Function at 0x48df40
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x19c
mov eax, dword [0x6656b0]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x48df7e
or eax, 0xffffffff
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.005b7e8e
add esp, 0x19c
ret
mov ecx, dword [esp + 0x194]
xor ecx, esp
mov dword [0x66eda0], 1
xor eax, eax
call fcn.005b7e8e
add esp, 0x19c
ret
Function at 0x498ec7
Capabilities:
Encode data using base64

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, ecx
push edi
mov ebx, eax
test esi, esi
jne 0x498efe
mov edi, dword [esp + 0x18]
lea ecx, [ebx + 2]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax*4 + 1]
call fcn.0048f8e0
mov esi, eax
test esi, esi
jne 0x498efe
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov dword [esp + 0x10], esi
mov byte [esi], 0
test ebp, ebp
jne 0x498f11
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
cmp ebx, 2
jle 0x498f71
lea ecx, [ebx - 3]
mov eax, 0xaaaaaaab
mul ecx
mov edi, edx
shr edi, 1
inc edi
lea edx, [edi*4]
sub edx, edi
neg edx
add ebx, edx
movzx eax, byte [ebp]
movzx ecx, byte [ebp + 1]
movzx edx, byte [ebp + 2]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
mov ecx, 4
lea ecx, [ecx]
mov edx, eax
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
dec ecx
shr eax, 6
mov byte [ecx + esi], dl
test ecx, ecx
jg 0x498f50
add esi, 4
add ebp, 3
sub edi, 1
jne 0x498f32
mov byte [esi], 0
test ebx, ebx
jle 0x498fdd
xor ecx, ecx
xor eax, eax
test ebx, ebx
jle 0x498f98
mov edx, ebx
mov eax, ebx
movzx edi, byte [ebp]
shl ecx, 8
or ecx, edi
inc ebp
sub edx, 1
jne 0x498f84
cmp ebx, 3
jge 0x498fa9
mov edx, 3
sub edx, eax
add eax, edx
shl ecx, 8
sub edx, 1
jne 0x498fa1
inc eax
test eax, eax
jle 0x498fc6
mov edi, edi
mov edx, ecx
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
dec eax
shr ecx, 6
mov byte [eax + esi], dl
test eax, eax
jg 0x498fb0
mov eax, 3
cmp ebx, eax
jge 0x498fd9
nop
mov byte [eax + esi], 0x3d
dec eax
cmp eax, ebx
jg 0x498fd0
mov byte [esi + 4], 0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4a0b40
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x5f1418
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6656b0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push edi
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], ax
mov dword [esp + 0x38], ebx
xor edi, edi
cmp dword [esi + 0x28], ebx
jne 0x4a0bbb
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x4a0bad
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004c4802
add esp, 4
xor edx, edx
mov word [esp + 0x14], dx
xor al, al
jmp 0x4a0c3c
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [esi + 0x70], 8
jb 0x4a0bcc
mov eax, dword [esi + 0x5c]
jmp 0x4a0bcf
lea eax, [esi + 0x5c]
push edi
push eax
push str._s_d
lea ecx, [esp + 0x1c]
call fcn.004bc870
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp dword [esp + 0x28], 8
jae 0x4a0bf1
lea ecx, [esp + 0x14]
mov eax, dword [esi + 0x28]
mov dword [esi + 0x34], ebx
cmp eax, ebx
je 0x4a0c17
push ecx
push eax
call ebp
cmp eax, ebx
jne 0x4a0c06
inc edi
jmp 0x4a0bc1
push eax
push str.CRegistry::RegDelete___:
mov dword [esi + 0x34], eax
call fcn.004a7cf0
add esp, 8
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x4a0c33
mov eax, dword [esp + 0x14]
push eax
call fcn.004c4802
add esp, 4
xor ecx, ecx
mov word [esp + 0x14], cx
mov al, 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 7
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.005b7e8e
add esp, 0x2c
ret
Function at 0x4a2e40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f1e34
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x24], esp
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.004b4270
mov byte [esp + 0x30], 1
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
mov byte [esp + 0x30], 0
call fcn.004a2f50
mov edx, dword [esp + 0x54]
add esp, 0x1c
mov dword [esp + 0x3c], eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov dword [esp + 0x14], 0xffffffff
lea eax, [esp + 0x1c]
push eax
call fcn.004b3a50
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret

Function at 0x4a2f50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ec312
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], 0
mov ebx, 8
cmp esi, edi
je 0x4a2fb4
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x34], ebx
jae 0x4a2f93
lea ecx, [esp + 0x20]
cmp dword [esi + 0x18], ebx
jb 0x4a2f9d
mov eax, dword [esi + 4]
jmp 0x4a2fa0
lea eax, [esi + 4]
push eax
call fcn.004bc6f0
add esp, 4
test eax, eax
je 0x4a2fb4
add esi, 0x3c
cmp esi, edi
jne 0x4a2f85
mov dword [esp + 0x14], 0xffffffff
cmp dword [esp + 0x34], ebx
jb 0x4a2fcf
mov eax, dword [esp + 0x20]
push eax
call fcn.004c4802
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], cx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x4a8310
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x418
mov eax, dword [0x6656b0]
xor eax, esp
mov dword [esp + 0x414], eax
test ebx, ebx
je 0x4a83fc
xor eax, eax
cmp ax, word [ebx]
je 0x4a83fc
push ebp
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
xor edi, edi
test ebp, ebp
jle 0x4a83fa
push esi
lea ecx, [ecx]
lea ecx, [edi + 0x1fd]
cmp ecx, ebp
jge 0x4a8361
mov esi, 0x1fd
jmp 0x4a8365
mov esi, ebp
sub esi, edi
push 0x414
lea edx, [esp + 0x10]
push 0
push edx
call fcn.005bfee0
add esp, 0xc
lea eax, [esi + 1]
push eax
lea ecx, [ebx + edi*2]
push ecx
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
movzx eax, word [esp + esi*2 + 0xa]
lea ecx, [esp + esi*2 + 0xa]
mov edx, 0xa
cmp dx, ax
jne 0x4a83be
cmp esi, 1
je 0x4a83b0
mov eax, 0xd
cmp ax, word [esp + esi*2 + 8]
je 0x4a83e4
push 0x62ecdc
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4a83e4
mov ecx, 0xd
cmp cx, ax
jne 0x4a83d4
push 0x6227f0
lea edx, [esp + 0x10]
push edx
jmp 0x4a83de
push 0x62ecdc
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add edi, esi
cmp edi, ebp
jl 0x4a8350
pop esi
pop edi
pop ebp
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.005b7e8e
add esp, 0x418
ret