joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b1ce0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59fc91
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00540d70
lea eax, [ebp - 0x224]
push eax
call fcn.004af4a0
push str.kbubble_enc.ini
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
call fcn.00425c00
add esp, 0x1c
push dword [eax]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x5b151c
push str.bEnable
push str.bubble
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x220]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b1d8c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x224]
mov eax, edi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b1db0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4b1e77
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
test eax, 0xffff0000
jne 0x4b1df2
movzx eax, ax
lea ecx, [ebp - 0x21c]
push eax
call fcn.00426130
jmp 0x4b1e22
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x4b1e00
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b1e00
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.004263f0
mov esi, dword [ebp - 0x21c]
push str.false
push esi
call fcn.0054b581
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
add esp, 8
test eax, eax
sete bl
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4b1e59
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
int3
Function at 0x4b1f00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59fc91
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00540d70
lea eax, [ebp - 0x224]
push eax
call fcn.004af4a0
push str.wpsminisite.ini
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
call fcn.00425c00
add esp, 0x1c
push dword [eax]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x5b151c
push str.delayshow
push str.minisite
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x220]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b1fac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x224]
mov eax, edi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b1fd0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4b2097
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
test eax, 0xffff0000
jne 0x4b2012
movzx eax, ax
lea ecx, [ebp - 0x21c]
push eax
call fcn.00426130
jmp 0x4b2042
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x4b2020
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b2020
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.004263f0
mov esi, dword [ebp - 0x21c]
push str.never
push esi
call fcn.0054b581
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
add esp, 8
test eax, eax
sete bl
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4b2079
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
int3
Function at 0x4b91a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
jne 0x4b93a9
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x86
jne 0x4b9251
push dword [edi + 0x30c]
mov dword [edi + 0x304], 1
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4b922a
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
push ecx
mov eax, esp
push 0
push 0
push 0
push ecx
mov dword [eax], 0
lea ecx, [ebp - 0x14]
mov eax, esp
mov dword [eax], ecx
lea ecx, [edi + 0x308]
push dword [edi + 0x30]
call fcn.00447350
mov dword [esi], 1
cmp dword [edi + 0x304], 0
je 0x4b927e
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x4e
jne 0x4b9281
cmp dword [eax + 4], 0x3e8
jne 0x4b9281
push eax
mov dword [edi + 0x304], 1
call fcn.004b8b00
mov dword [esi], eax
cmp dword [edi + 0x304], 0
jne 0x4b9391
mov eax, dword [ebp - 0x1c]
mov esi, dword [edi + 0x300]
mov ecx, edi
push 0
push dword [ebp - 0x18]
push eax
push dword [ebp - 0x20]
push ebx
push dword [ebp + 8]
call fcn.004582a0
mov dword [edi + 0x300], esi
test eax, eax
jne 0x4b9391
cmp ebx, 0x110
jne 0x4b92d7
push dword [ebp - 0x1c]
mov dword [edi + 0x304], 1
push ecx
mov ecx, dword [ebp - 0x20]
mov eax, esp
mov dword [eax], ecx
mov ecx, edi
call fcn.004b8d10
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x4b9388
cmp ebx, 3
jne 0x4b9310
lea eax, [ebp - 0x14]
mov dword [edi + 0x304], 1
push eax
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_GetWindowRect]
sub esp, 0x10
lea ecx, [ebp - 0x14]
mov eax, esp
push ecx
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea ecx, [edi + 0x308]
call fcn.0045e2f0
jmp 0x4b937f
cmp ebx, 0x100
jne 0x4b93a9
push dword [edi + 4]
mov dword [edi + 0x304], 1
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4b937f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x4b937f
mov eax, dword [ebp - 0x20]
cmp eax, 0x1b
jne 0x4b9351
mov dword [edi + 0x28], 2
jmp 0x4b9362
cmp eax, 0xd
je 0x4b935b
cmp eax, 0x20
jne 0x4b937f
mov dword [edi + 0x28], 1
push 0
push 0
push 0
mov dword [edi + 0x2fc], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
cmp dword [edi + 0x304], 0
je 0x4b93a9
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053d079
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4baf80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
mov eax, dword [ebp - 4]
jne 0x4bafdd
mov dword [ebp - 8], 4
test eax, eax
je 0x4bafe8
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push dword [esi + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4bafda
cmp dword [ebp - 0xc], 4
jne 0x4bafda
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4bafe8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4bb220
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x14]
je 0x4bb28a
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4bb27c
mov eax, dword [esi + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4bb28a
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push dword [esi + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4bb28a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4bb290
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp dword [eax - 0xc], 0
je 0x4bb317
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov eax, dword [ebp - 4]
jne 0x4bb30c
test eax, eax
je 0x4bb317
mov edx, dword [esi + 0x10]
push ebx
lea ebx, [edx + 2]
jmp 0x4bb2e0
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4bb2e0
sub edx, ebx
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push dword [esi + 0x10]
push 1
push 0
push dword [esi + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 4]
pop ebx
test eax, eax
je 0x4bb317
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4bb340
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0760
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx], 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x4bb434
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x2001f
push 0
push str.SoftwarekingsoftOffice6.0Common
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bb418
cmp dword [0x61ba64], 8
lea ecx, [ebp - 0x18]
mov esi, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 4
push ecx
mov eax, 0x61ba50
cmovae eax, dword [0x61ba50]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4bb40f
cmp dword [ebp - 0x1c], 4
jne 0x4bb40f
mov ecx, dword [ebx + 4]
cmp dword [ebp - 0x14], ecx
je 0x4bb40f
cmp dword [0x61ba64], 8
mov eax, 0x61ba50
push 4
cmovae eax, dword [0x61ba50]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x1c]
push ecx
push 4
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x4bb434
push esi
call edi
jmp 0x4bb434
push str.62_tKGlobalInfoCollectReg::unInit_tfail_to_open_HKCU:SoftwarekingsoftOffice6.0Common_reg
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallkglobalinfocollectreg.cpp
push str._WARNING_
push 0x629b08
call fcn.004638c0
add esp, 0x10
mov esi, dword [ebx + 8]
test esi, esi
je 0x4bb45c
mov eax, dword [esi]
test eax, eax
je 0x4bb44a
push eax
call edi
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
call fcn.0053d0af
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bb470
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0788
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.16_tKGlobalInfoCollectReg::init_tEnableNetworkPrompt
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallkglobalinfocollectreg.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
add esp, 0x10
mov byte [esi], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push str.SoftwarekingsoftOffice6.0Common
push 0x80000001
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bb589
cmp dword [0x61ba64], 8
lea ecx, [ebp - 0x14]
push ecx
lea edi, [esi + 4]
mov dword [ebp - 0x14], 4
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push edi
push ecx
mov eax, 0x61ba50
cmovae eax, dword [0x61ba50]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [0x61ba68]
test eax, eax
jne 0x4bb545
cmp dword [ebp - 0x18], 4
jne 0x4bb545
cmp dword [edi], ecx
je 0x4bb56d
cmp dword [0x61ba64], 8
mov eax, 0x61ba50
push 4
cmovae eax, dword [0x61ba50]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x18]
push ecx
push 4
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x4bb5a5
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.35_tKGlobalInfoCollectReg::init_tfail_to_open_HKCU:SoftwarekingsoftOffice6.0Common_reg
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallkglobalinfocollectreg.cpp
push str._WARNING_
push 0x629b08
call fcn.004638c0
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4bb6c0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a080f
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4bb711
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.00439df0
cmp dword [ebp - 0x21c], 8
lea esi, [ebp - 0x230]
mov eax, dword [ebp - 0x220]
cmovae esi, dword [ebp - 0x230]
mov dword [ebp - 4], 0
cmp eax, 0x18
jne 0x4bb779
mov ecx, str.__QingBanGong_Server__
mov edx, eax
sub esi, ecx
lea esp, [esp]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x4bb773
add ecx, 2
sub edx, 1
jne 0x4bb760
jmp 0x4bb7b1
mov eax, dword [ebp - 0x220]
cmp dword [ebp - 0x21c], 8
lea esi, [ebp - 0x230]
cmovae esi, dword [ebp - 0x230]
cmp eax, 0x1c
jne 0x4bb812
mov ecx, str.__QingBanGong_Server_UWP__
mov edx, eax
sub esi, ecx
nop
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x4bb812
add ecx, 2
sub edx, 1
jne 0x4bb7a0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00540d70
add esp, 0xc
mov dword [ebp - 0x234], 0x104
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4bb7f0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00439c70
call fcn.004bbeb0
test al, al
je 0x4bb853
push 8
call fcn.0042fbc0
add esp, 4
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4bb88b
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
push ecx
mov ecx, eax
call fcn.004f0d90
mov esi, eax
jmp 0x4bb88d
push 0x1c
call fcn.0042fbc0
add esp, 4
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4bb88b
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
push ecx
mov ecx, eax
call fcn.004bc4e0
mov esi, eax
jmp 0x4bb88d
xor esi, esi
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x4bb8c9
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4bb8bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bb8e5
push edx
push ecx
call fcn.0053d0af
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret
call fcn.0054b0c3
int3
Function at 0x4bee60
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0dd2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x10], 0
je 0x4beebc
mov dword [ebx], 0x5cd4bc
mov dword [ebx + 0x10], 0x5cd4c4
mov dword [ebx + 0x68], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
push 0
lea esi, [ebx + 0x18]
mov ecx, ebx
push 0
push esi
mov dword [ebp + 0xc], esi
call fcn.004bebe0
lea edx, [ebx + 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebx]
push 8
mov dword [ebp - 4], 4
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], esi
lea eax, [ecx - 0x68]
mov dword [ecx + ebx - 4], eax
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0042fbc0
mov esi, eax
add esp, 4
test esi, esi
je 0x4bef4f
push 1
mov byte [ebp - 4], 5
call fcn.0053f035
add esp, 4
mov dword [esi + 4], eax
jmp 0x4bef51
xor esi, esi
lea eax, [ebx + 0x18]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea edx, [eax + 0x24]
mov dword [eax + 0x2c], edx
lea edi, [eax + 0x14]
mov dword [eax + 0x1c], edi
add eax, 0x28
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x10]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov esi, dword [ebp + 0xc]
not ecx
and ecx, 1
mov dword [edi], 0
shl ecx, 2
mov eax, ebx
mov dword [edx], 0
mov edx, ecx
or edx, 2
mov dword [esi], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
and al, 2
mov dword [esi + 0x38], 0
mov eax, ebx
cmovne edx, ecx
mov ecx, edx
or ecx, 8
and al, 8
cmove ecx, edx
mov eax, ecx
or eax, 0x10
and bl, 4
cmove eax, ecx
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4c4400
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0053d5e0
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x1008]
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
push edx
push 0x20219
push 0
push eax
push ecx
mov dword [ebp - 0x1008], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c44f3
push 0x1000
push eax
mov dword [ebp - 0x100c], eax
lea eax, [ebp - 0x1004]
push eax
call fcn.00540d70
add esp, 0xc
mov dword [ebp - 0x1010], 0x1000
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x100c]
push eax
push 0
push esi
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x1008]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4c44b1
cmp dword [ebp - 0x100c], 1
jne 0x4c44f3
lea edx, [ebp - 0x1004]
lea esi, [edx + 2]
lea ebx, [ebx]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4c44c0
sub edx, esi
lea eax, [ebp - 0x1004]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.00439df0
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0053d079
mov esp, ebp
pop ebp
ret
Function at 0x4c5a60
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xc0], ebx
push esi
test ecx, ecx
jne 0x4c5a99
mov ecx, edx
lea esi, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c5a90
sub ecx, esi
push edi
push ecx
push edx
lea ecx, [ebp - 0xbc]
mov byte [ebp - 0x54], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xbc], 0x67452301
mov dword [ebp - 0xb8], 0xefcdab89
mov dword [ebp - 0xb4], 0x98badcfe
mov dword [ebp - 0xb0], 0x10325476
call fcn.004c6eb0
cmp byte [ebp - 0x54], 0
jne 0x4c5c19
mov eax, dword [ebp - 0xbc]
lea edx, [ebp - 0xc]
mov edi, dword [ebp - 0xac]
lea esi, [ebp - 0xac]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xa8]
mov byte [ebp - 0x54], 1
mov dword [ebp - 0xc0], eax
mov ecx, dword [esi]
lea esi, [esi + 4]
mov byte [edx], cl
mov eax, ecx
shr eax, 8
mov byte [edx + 1], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [edx + 2], al
lea eax, [ebp - 4]
mov byte [edx + 3], cl
add edx, 4
cmp edx, eax
jb 0x4c5b40
mov edx, edi
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
lea ecx, [ebp - 0xbc]
push eax
push 0x5cd178
call fcn.004c6eb0
push 8
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0xbc]
call fcn.004c6eb0
lea edx, [ebp - 0x64]
lea esi, [ebp - 0xbc]
mov edi, edi
mov ecx, dword [esi]
lea esi, [esi + 4]
mov byte [edx], cl
mov eax, ecx
shr eax, 8
mov byte [edx + 1], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [edx + 2], al
lea eax, [ebp - 0x54]
mov byte [edx + 3], cl
add edx, 4
cmp edx, eax
jb 0x4c5bb0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xa8], eax
push 0x42
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.00540d70
add esp, 0xc
lea edi, [ebp - 0x50]
xor esi, esi
mov edi, edi
movzx eax, byte [ebp + esi - 0x64]
push eax
push str._02x
push 3
push 3
push edi
call fcn.004c71b0
inc esi
add esp, 0x14
add edi, 4
cmp esi, 0x10
jl 0x4c5c30
xor eax, eax
mov dword [ebx + 0x10], 0
lea ecx, [ebp - 0x50]
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea edx, [ecx + 2]
pop edi
jmp 0x4c5c70
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c5c70
sub ecx, edx
lea eax, [ebp - 0x50]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00439df0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.0053d079
mov esp, ebp
pop ebp
ret