joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b0e0
Capabilities:
Check http status code

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push ebp
push esi
mov eax, dword [ecx]
push edi
cmp eax, 1
jl 0x45b0fb
cmp eax, 0x63
jg 0x45b0fb
mov ebp, 1
jmp 0x45b126
cmp eax, 0x64
jl 0x45b10e
cmp eax, 0xc7
jg 0x45b10e
mov ebp, 2
jmp 0x45b126
cmp eax, 0xc8
jl 0x45b121
cmp eax, 0x12b
mov ebp, 3
jle 0x45b126
mov ebp, 4
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
test edx, edx
mov dword [ebx], 0xffffffff
je 0x45b14c
cmp eax, 7
je 0x45b142
cmp eax, 8
jne 0x45b14c
pop edi
pop esi
pop ebp
mov eax, 0xfffffff4
pop ebx
ret
mov eax, dword [ecx + 0x58]
test eax, eax
je 0x45b15d
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
ret
mov esi, dword [sym.imp.kernel32.dll_EnterCriticalSection]
push 0x64e120
call esi
mov eax, dword [0x63fc7c]
test eax, eax
jne 0x45b18a
push 0x64e120
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov edi, 0xffffffcd
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
push 0x64e100
call esi
push 0x64e120
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
cmp ebp, 1
je 0x45b1aa
cmp ebp, 4
je 0x45b1aa
xor eax, eax
jmp 0x45b1af
mov eax, 1
mov ecx, dword [esp + 0x20]
push 0x45b300
or eax, ecx
push eax
push 0x1d8
push 1
call fcn.00458f90
mov edi, eax
add esp, 0x10
test edi, edi
jl 0x45b215
cmp edi, dword [0x62606c]
jge 0x45b1ef
mov ecx, dword [0x64e0f8]
mov eax, edi
shl eax, 5
add eax, ecx
cmp dword [eax], 1
jne 0x45b1ef
mov esi, dword [eax + 4]
jmp 0x45b1f1
xor esi, esi
lea ebx, [esi + 0x1bc]
push ebx
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
push ebx
mov dword [esi + 0x1d4], 1
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ebx, dword [esp + 0x14]
jmp 0x45b219
mov esi, dword [esp + 0x14]
push 0x64e100
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
test edi, edi
jge 0x45b22f
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
mov dword [ebx], edi
mov edi, dword [esp + 0x18]
mov dword [esi], edi
mov dword [esi + 4], ebp
mov edx, dword [ebx]
or eax, 0xffffffff
cmp ebp, 2
mov dword [esi + 0x1b4], edx
mov dword [esi + 0x19c], eax
mov dword [esi + 0x1a0], eax
jne 0x45b2a0
mov dword [esi + 0x5c], eax
mov dword [esi + 0x10], 0
call fcn.00451d50
mov dword [esi + 0x28], eax
call fcn.00451d50
mov dword [esi + 0x2c], eax
call fcn.00451d50
mov dword [esi + 0x30], eax
call fcn.00451d50
mov dword [esi + 0x34], eax
call fcn.00451d50
mov dword [esi + 0x38], eax
call fcn.00451d50
mov dword [esi + 0x3c], eax
call fcn.00451d50
mov dword [esi + 0x40], eax
call fcn.00451d50
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x30]
test eax, eax
je 0x45b2e5
mov ecx, dword [esp + 0x1c]
push ecx
push esi
call eax
mov edi, eax
add esp, 8
test edi, edi
jge 0x45b2e5
add esi, 0x1bc
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov edx, dword [ebx]
push 0
push 0
push 0
push 0x13
push edx
call fcn.004591a0
add esp, 0x14
mov eax, edi
mov dword [ebx], 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret
add esi, 0x1bc
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x46cef1
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, 0x5cd906
call fcn.004f8228
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov eax, dword [esi]
mov dword [ebp - 0x14], ebx
cmp eax, 0xffffffff
mov dword [ebp - 4], ebx
je 0x46cf93
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x46cf93
push 0x2f8
call fcn.00596900
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, ebx
mov byte [ebp - 4], 1
je 0x46cf42
call fcn.0046d4ed
jmp 0x46cf44
xor eax, eax
push eax
mov byte [ebp - 4], bl
push dword [esi]
mov dword [ebp - 0x14], eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
cmp eax, ebx
jne 0x46cf6e
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 0x6079b8
push eax
call fcn.004f82ed
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
lea ecx, [esi + 4]
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ecx + 4]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0046d494
push edi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x46f09f
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
push ebx
xor edx, edx
push esi
mov dword [eax], edx
xor esi, esi
mov bl, 1
mov ecx, esi
shl bl, cl
inc esi
cmp esi, 8
mov byte [eax + esi + 3], bl
jl 0x46f0a9
mov bl, dl
mov cl, dl
shl bl, 4
shr cl, 4
xor cl, bl
and cl, 0xf
xor cl, bl
mov bl, cl
shl bl, 2
shr cl, 2
xor cl, bl
and cl, 0x33
xor cl, bl
mov bl, cl
add bl, bl
shr cl, 1
xor cl, bl
and cl, 0x55
xor cl, bl
mov byte [eax + edx + 0xc], cl
inc edx
cmp edx, 0x100
jl 0x46f0b9
pop esi
pop ebx
ret
Function at 0x471697
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
xor edx, edx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], edx
jne 0x4716ac
xor eax, eax
jmp 0x47179a
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
imul esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
add esi, dword [ebp + 8]
push edi
mov edi, ebx
push 8
sub ecx, ebx
and edi, 7
pop eax
inc ecx
sub eax, edi
cmp eax, ecx
mov dword [ebp + 8], eax
jb 0x4716d6
mov dword [ebp + 8], ecx
cmp dword [ebp + 8], 8
jne 0x4716df
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0x18]
and eax, 7
inc eax
cmp eax, ecx
mov dword [ebp + 0xc], eax
jb 0x4716f0
mov dword [ebp + 0xc], ecx
mov eax, ebx
xor eax, dword [ebp + 0x18]
test eax, 0xfffffff8
jne 0x4716ff
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 8]
add eax, ebx
cmp ebx, eax
mov dword [ebp + 0x10], eax
jae 0x471734
mov edx, dword [ebp - 4]
mov edi, ebx
mov eax, ebx
not edi
shr eax, 3
and edi, 7
add eax, esi
cmp dword [ebp + 0x1c], 0
mov dl, byte [edx + edi + 4]
je 0x47172a
or byte [eax], dl
jmp 0x47172e
not dl
and byte [eax], dl
inc ebx
cmp ebx, dword [ebp + 0x10]
jb 0x47170b
xor edi, edi
cmp ecx, 8
jbe 0x471766
sub ecx, dword [ebp + 0xc]
sub ecx, dword [ebp + 8]
shr ecx, 3
mov edi, ecx
je 0x471766
mov eax, dword [ebp + 0x1c]
push edi
neg eax
sbb eax, eax
and eax, 0xff
push eax
mov eax, ebx
shr eax, 3
add eax, esi
push eax
call fcn.004f8250
add esp, 0xc
lea edx, [ebx + edi*8]
jmp 0x47178f
mov edi, dword [ebp - 4]
mov ecx, edx
mov eax, edx
not ecx
shr eax, 3
and ecx, 7
add eax, esi
cmp dword [ebp + 0x1c], 0
mov cl, byte [edi + ecx + 4]
je 0x47178a
or byte [eax], cl
jmp 0x47178e
not cl
and byte [eax], cl
inc edx
cmp edx, dword [ebp + 0x18]
jb 0x47176b
xor eax, eax
pop edi
pop esi
inc eax
pop ebx
leave
ret 0x18

Function at 0x473494
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x10]
dec ecx
je 0x473531
dec ecx
je 0x4734f0
dec ecx
je 0x4734d6
dec ecx
je 0x4734b8
xor eax, eax
jmp 0x473544
lea ecx, [ebp - 4]
and dword [ebp - 4], 0
push 0
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [eax + 0xc]
call dword [sym.imp.kernel32.dll_ReadFile]
mov eax, dword [ebp - 4]
jmp 0x473544
mov ecx, dword [eax + 0x130]
test ecx, ecx
je 0x4734b1
push dword [eax + 0x14c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call ecx
jmp 0x473544
cmp byte [eax + 0x129], 0
mov edx, dword [eax + 0x1c]
push esi
mov esi, dword [ebp + 0xc]
je 0x473505
mov ecx, dword [eax + 0x20]
jmp 0x473508
mov ecx, dword [eax + 0x18]
sub ecx, edx
cmp ecx, esi
jae 0x473510
mov esi, ecx
test esi, esi
jbe 0x47352c
mov eax, dword [eax + 0x14]
push esi
add eax, edx
push eax
push dword [ebp + 8]
call fcn.004f7e60
mov eax, dword [edi + 4]
add esp, 0xc
add dword [eax + 0x1c], esi
mov eax, esi
pop esi
jmp 0x473544
push dword [eax + 8]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.004f5b4c
add esp, 0x10
pop edi
leave
ret 8
Function at 0x4737a4
Capabilities:
Get file size

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
xor ebx, ebx
mov dword [esi], ebx
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x10]
dec ecx
je 0x473813
dec ecx
je 0x473801
dec ecx
je 0x4737e7
dec ecx
je 0x4737c7
xor al, al
jmp 0x473837
cmp byte [eax + 0x129], bl
je 0x4737d8
push dword [eax + 0xc]
call dword [sym.imp.kernel32.dll_FlushFileBuffers]
mov eax, dword [edi + 4]
push ebx
push dword [eax + 0xc]
call dword [sym.imp.kernel32.dll_GetFileSize]
jmp 0x473833
mov ecx, dword [eax + 0x140]
cmp ecx, ebx
je 0x4737c3
push esi
push dword [eax + 0x14c]
call ecx
test eax, eax
setne al
jmp 0x473837
cmp byte [eax + 0x129], bl
je 0x47380e
mov eax, dword [eax + 0x20]
jmp 0x473833
mov eax, dword [eax + 0x18]
jmp 0x473833
cmp byte [eax + 0x129], bl
je 0x473824
push dword [eax + 8]
call fcn.004f8926
pop ecx
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push dword [eax + 0x10]
call fcn.004f889c
pop ecx
mov dword [esi], eax
mov al, 1
pop edi
pop esi
pop ebx
ret 4

Function at 0x4738db
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
cmp byte [eax + 0x129], 0
je 0x473902
mov ecx, dword [eax + 0x10]
dec ecx
je 0x4739a8
dec ecx
je 0x473968
dec ecx
je 0x473944
dec ecx
je 0x473909
xor al, al
jmp 0x4739c4
mov esi, dword [ebp + 0xc]
and dword [ebp - 4], 0
imul esi, dword [ebp + 0x10]
lea ecx, [ebp - 4]
push 0
push ecx
push esi
push dword [ebp + 8]
push dword [eax + 0xc]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
setne al
cmp dword [ebp - 4], esi
jne 0x47393d
test al, al
je 0x47393d
xor eax, eax
inc eax
jmp 0x4739c4
xor eax, eax
jmp 0x4739c4
mov ecx, dword [eax + 0x134]
test ecx, ecx
je 0x473902
push dword [eax + 0x14c]
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call ecx
test eax, eax
setne al
jmp 0x4739c4
mov esi, dword [ebp + 0xc]
mov ecx, dword [eax + 0x1c]
imul esi, dword [ebp + 0x10]
lea edx, [ecx + esi]
cmp edx, dword [eax + 0x18]
jae 0x473902
mov eax, dword [eax + 0x14]
push esi
push dword [ebp + 8]
add eax, ecx
push eax
call fcn.004f7e60
mov eax, dword [edi + 4]
add esp, 0xc
add dword [eax + 0x1c], esi
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
cmp ecx, edx
ja 0x4739a1
mov ecx, edx
mov dword [eax + 0x20], ecx
mov al, 1
jmp 0x4739c4
push dword [eax + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004f70e8
sub eax, dword [ebp + 0x10]
add esp, 0x10
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
leave
ret 0xc
Function at 0x4758a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cdea0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xffffffff
je 0x4758ea
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
push edx
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
jmp 0x4758f9
mov dword [ebp - 4], 0xffffffff
xor eax, eax
cmp dword [ebp - 0x14], 0
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4792c0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x20], ecx
call dword [sym.imp.kernel32.dll_TlsAlloc]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov edx, dword [ebp - 0x20]
add edx, 4
mov dword [ebp - 0x1c], edx
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx], al
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xc
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jge 0x47930d
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00596900
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 0x14], 0
je 0x47932a
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
jmp 0x479330
mov edx, dword [ebp - 8]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
cmp dword [ebp - 0x18], 0
je 0x479346
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x28], edx
jmp 0x47934c
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x28]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x1c]
mov dword [edx + 8], 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x10
push ecx
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret

Function at 0x487ecf
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, 0x5cdfce
call fcn.004f8228
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov eax, dword [esi]
mov dword [ebp - 0x14], ebx
cmp eax, 0xffffffff
mov dword [ebp - 4], ebx
je 0x487f6e
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x487f6e
push 0x4c
call fcn.00596900
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, ebx
mov byte [ebp - 4], 1
je 0x487f1d
call fcn.00487f8a
jmp 0x487f1f
xor eax, eax
push eax
mov byte [ebp - 4], bl
push dword [esi]
mov dword [ebp - 0x14], eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
cmp eax, ebx
jne 0x487f49
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 0x6079b8
push eax
call fcn.004f82ed
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [esi + 8]
lea ecx, [esi + 4]
lea edx, [ebp - 0x14]
push edx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0046d494
push edi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4ba130
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x114
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x11c]
push ebx
lea eax, [esp + 8]
push esi
xor ebx, ebx
push eax
push 0x20019
push ebx
push ecx
push edx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x28], bl
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4ba1a9
lea eax, [esp + 8]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x130]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ebx
push eax
push ecx
mov dword [esp + 0x20], 0x104
mov byte [esp + 0x2c], bl
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
je 0x4ba19e
mov byte [esp + 0x14], bl
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov esi, dword [esp + 0x120]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.005980a0
mov eax, esi
pop esi
pop ebx
add esp, 0x114
ret

Function at 0x4ba1d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push ecx
push edx
mov dword [esp + 0x18], 3
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4ba25b
push ebx
push ebp
mov ebx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [sym.imp.advapi32.dll_RegQueryValueExA]
push esi
mov dword [esi], eax
push eax
lea eax, [esp + 0x18]
push eax
push edi
push ebx
push ecx
call ebp
test eax, eax
jne 0x4ba248
mov eax, dword [esi]
test eax, eax
jbe 0x4ba248
push eax
call fcn.004f5323
mov edi, eax
add esp, 4
test edi, edi
je 0x4ba248
mov eax, dword [esp + 0x1c]
push esi
lea edx, [esp + 0x14]
push edi
push edx
push 0
push ebx
push eax
call ebp
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop esi
pop ebp
mov eax, edi
pop ebx
pop edi
pop ecx
ret
mov eax, edi
pop edi
pop ecx
ret

Function at 0x4ba260
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push esi
push eax
push ecx
push edx
call dword [sym.imp.advapi32.dll_RegCreateKeyA]
mov esi, eax
test esi, esi
jne 0x4ba2a6
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push ecx
push 3
push esi
push edx
push eax
call dword [sym.imp.advapi32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
mov esi, eax
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
ret
Function at 0x4ba2b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push esi
mov esi, dword [esp + 0x18]
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [esp + 0x2c], esi
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4ba316
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x24], 4
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
je 0x4ba30b
mov dword [esp + 0x18], esi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
pop esi
pop ecx
ret
Function at 0x4baf40
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5ce55b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x404
mov eax, dword [ecx + 0x194]
push esi
xor esi, esi
cmp eax, esi
mov dword [esp + 4], esi
je 0x4baff0
mov eax, dword [ecx + 0x198]
mov ecx, dword [esp + 0x424]
mov edx, dword [esp + 0x420]
push eax
lea eax, [esp + 0xc]
push 0x400
push eax
mov eax, dword [esp + 0x428]
push ecx
push edx
push eax
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 8]
call fcn.005980a0
push 0x621050
push str.nl
lea ecx, [esp + 0xc]
mov dword [esp + 0x418], esi
call fcn.0058f334
mov esi, dword [esp + 0x418]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.00597da7
lea ecx, [esp + 4]
mov dword [esp + 0x410], 0xffffffff
call fcn.00598032
jmp 0x4bb01f
call fcn.005b2355
mov ecx, dword [esp + 0x424]
mov edx, dword [esp + 0x420]
mov eax, dword [eax + 4]
mov esi, dword [esp + 0x418]
push ecx
mov ecx, dword [esp + 0x420]
push edx
push ecx
push esi
mov ecx, eax
call fcn.005b34bd
mov ecx, dword [esp + 0x408]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x410
ret 0x10

Function at 0x4bb040
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [ecx + 0x194]
test eax, eax
je 0x4bb069
mov eax, dword [ecx + 0x198]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.kernel32.dll_GetPrivateProfileIntA]
ret 0xc
call fcn.005b2355
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [esp + 8]
push edx
push ecx
mov ecx, eax
call fcn.005b3451
ret 0xc
Function at 0x4bb2a0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5ce5b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push 1
push 0
lea ecx, [esp + 0x18]
call fcn.0055e500
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x34], 0
lea edi, [ebp + ebp]
push edi
call fcn.004f5323
mov esi, eax
mov eax, dword [ebx + 0x194]
add esp, 4
test eax, eax
je 0x4bb310
mov ebx, dword [ebx + 0x198]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push ebx
push edi
push esi
push 0x63df70
push eax
push ecx
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
jmp 0x4bb349
call fcn.005b2355
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + 4]
push 0x63df70
push edx
lea edx, [esp + 0x50]
push ecx
push edx
mov ecx, eax
call fcn.005b34bd
mov eax, dword [eax]
push edi
push eax
push esi
call fcn.004f7cc0
add esp, 0xc
lea ecx, [esp + 0x48]
call fcn.00598032
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 0xffffffffffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x18]
not ecx
dec ecx
push ecx
mov ecx, dword [eax + 4]
push esi
lea ecx, [esp + ecx + 0x20]
call fcn.0055d5e0
push esi
call fcn.004f5907
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x48]
add esp, 4
mov ecx, dword [eax + 4]
push ebp
push edx
lea ecx, [esp + ecx + 0x1c]
call fcn.0055d890
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
test ecx, ecx
mov dword [esp + 0x28], 0xffffffff
pop ebx
je 0x4bb3a2
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0x10
Function at 0x4bbb70
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push esi
mov dword [esp + 8], ecx
push 1
call dword [sym.imp.user32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4bbb89
pop esi
add esp, 0xc
ret
mov eax, dword [0x64097c]
xor esi, esi
cmp eax, esi
je 0x4bbb9b
xor eax, eax
pop esi
add esp, 0xc
ret
push esi
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
jne 0x4bbbab
pop esi
add esp, 0xc
ret
push ebx
push ebp
push edi
push 1
mov dword [esp + 0x1c], esi
mov dword [0x64097c], 1
mov dword [esp + 0x14], esi
call dword [sym.imp.user32.dll_GetClipboardData]
mov ebp, eax
cmp ebp, esi
je 0x4bbc19
push ebp
call dword [sym.imp.kernel32.dll_GlobalLock]
mov esi, eax
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.004f5323
mov ebx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [esp + 0x10], ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.kernel32.dll_GlobalUnlock]
jmp 0x4bbc1d
mov ebx, dword [esp + 0x18]
call dword [sym.imp.user32.dll_CloseClipboard]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4bbd07
mov esi, dword [esp + 0x14]
xor edi, edi
push edi
push ebx
mov ecx, esi
call fcn.004bd3c0
test eax, eax
je 0x4bbc5f
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
push ecx
push ebx
mov ecx, esi
call fcn.004bd940
mov edi, eax
jmp 0x4bbccc
push str.PD:
push ebx
call fcn.004f6130
mov esi, eax
add esp, 8
test esi, esi
je 0x4bbccc
push str.EK:
push esi
call fcn.004f6130
add esp, 8
test eax, eax
je 0x4bbccc
sub eax, esi
push 1
add eax, 4
mov ebp, eax
lea ecx, [ebp + 0x10]
push ecx
call fcn.004f5c63
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4bbccc
mov ecx, ebp
mov edi, ebx
mov edx, ecx
push 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 1
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
push ebx
call fcn.004bd940
push ebx
mov edi, eax
call fcn.004f5907
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call fcn.004f5907
add esp, 4
test edi, edi
je 0x4bbd07
push 0
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
je 0x4bbcf5
call dword [sym.imp.user32.dll_EmptyClipboard]
call dword [sym.imp.user32.dll_CloseClipboard]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], 1
mov dword [ecx + 0xfc], edi
mov eax, dword [esp + 0x18]
pop edi
pop ebp
pop ebx
mov dword [0x64097c], 0
pop esi
add esp, 0xc
ret