joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bfea0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x7ce4e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x200
lea eax, [ebp - 0x204]
mov esi, edx
push 0
push eax
mov ebx, ecx
call fcn.005c0be0
add esp, 0xc
mov dword [ebp - 0x208], 0
lea eax, [ebp - 0x208]
push eax
push 0x20019
push 0
push 0x787f5c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bffad
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 1
push eax
lea eax, [ebp - 0x204]
mov dword [ebp - 0x20c], 0x200
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push esi
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x208]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4bffad
lea ecx, [ebp - 0x204]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4bff52
sub ecx, edx
lea esi, [ebx + 8]
sar ecx, 1
push edi
mov dword [ebx + 4], ecx
lea edi, [ecx + 1]
mov ecx, esi
push edi
call fcn.0049a590
cmp byte [esi + 0x114], 0
je 0x4bff81
add esi, 4
jmp 0x4bff83
mov esi, dword [esi]
lea eax, [edi + edi]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [esi + 4]
push eax
call fcn.005c0660
add esp, 0xc
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005be209
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.005be209
mov esp, ebp
pop ebp
ret

Function at 0x4c0e30
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
push edi
mov edi, edx
test esi, esi
je 0x4c0e6c
mov ebx, dword [sym.imp.WININET.dll_InternetWriteFile]
lea ecx, [ebp - 4]
push ecx
push esi
push edi
push eax
call ebx
test eax, eax
je 0x4c0e75
add edi, dword [ebp - 4]
mov eax, dword [ebp - 8]
sub esi, dword [ebp - 4]
jne 0x4c0e54
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c0e80
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x7ce4e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x400
xor edi, edi
mov dword [ebp - 0x40c], ecx
lea eax, [ebp - 0x404]
xor esi, esi
push edi
push eax
mov ebx, edx
mov dword [ebp - 0x408], esi
call fcn.005c0be0
add esp, 0xc
test esi, esi
je 0x4c0f1b
mov eax, dword [ebp + 8]
lea ecx, [ebx + edi]
sub eax, edi
cmp esi, eax
jae 0x4c0f75
test ecx, ecx
jne 0x4c0ee2
call fcn.005c45dc
mov dword [eax], 0x16
jmp 0x4c0f10
cmp eax, esi
jb 0x4c0ef9
push esi
lea eax, [ebp - 0x404]
push eax
push ecx
call fcn.005c0660
add esp, 0xc
jmp 0x4c0f15
push eax
push 0
push ecx
call fcn.005c0be0
add esp, 0xc
call fcn.005c45dc
mov dword [eax], 0x22
call fcn.005c44ae
add edi, dword [ebp - 0x408]
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.005c0be0
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x40c]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4c0fd1
mov esi, dword [ebp - 0x408]
test esi, esi
jne 0x4c0ec1
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005be209
mov esp, ebp
pop ebp
ret
lea edx, [eax - 1]
test edx, edx
je 0x4c0fd1
test ecx, ecx
jne 0x4c0f8d
call fcn.005c45dc
mov dword [eax], 0x16
jmp 0x4c0fcc
cmp eax, edx
jb 0x4c0fb5
push edx
lea eax, [ebp - 0x404]
push eax
push ecx
call fcn.005c0660
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005be209
mov esp, ebp
pop ebp
ret
push eax
push 0
push ecx
call fcn.005c0be0
add esp, 0xc
call fcn.005c45dc
mov dword [eax], 0x22
call fcn.005c44ae
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005be209
mov esp, ebp
pop ebp
ret
Function at 0x4c5cc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
jb 0x4c5ce6
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov edx, dword [ebx + 0x10]
xor ecx, ecx
mov dword [ebp - 0xc], edx
mov esi, 0x811c9dc5
test edx, edx
je 0x4c5d14
mov ebx, dword [ebp - 4]
nop word [eax + eax]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x4c5d00
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov eax, 0x9e3779b9
xor ecx, esi
mul ecx
mov esi, eax
mov eax, 0x7f4a7c15
mul ecx
mov ecx, dword [ebp - 8]
add esi, edx
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 0x10]
dec eax
and esi, eax
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
xor eax, 1
mov esi, dword [ecx + esi*4]
test esi, esi
je 0x4c5d7e
cmp esi, dword [ecx + eax*4]
je 0x4c5dbf
nop
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x4c5d5a
mov eax, dword [ebx]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x4c5d64
mov ecx, dword [esi]
push dword [ebp - 0xc]
mov edx, dword [esi + 0x10]
push eax
call fcn.004adfc0
add esp, 8
test al, al
jne 0x4c5da3
mov esi, dword [esi + 0x30]
test esi, esi
jne 0x4c5d50
mov esi, dword [ebp - 4]
mov dword [edi], 0
mov eax, edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 8]
mov dword [edi], esi
mov dword [edi + 4], eax
mov eax, dword [ebp - 4]
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test esi, esi
je 0x4c5d7e
cmp esi, dword [ecx + eax*4]
mov esi, dword [ebp - 4]
jne 0x4c5d81
and esi, 0xfffffffe
mov dword [ebp - 4], ebx
mov eax, dword [ecx + esi*4]
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], eax
push ecx
mov ecx, eax
call fcn.004c63d0
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0xd], 0
jne 0x4c5d81
mov eax, dword [eax + 0x10]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4c5dfc
mov ecx, dword [eax]
cmp dword [ebx + 0x14], 0x10
jb 0x4c5e04
mov ebx, dword [ebx]
push dword [eax + 0x10]
push ecx
push dword [ebp - 0xc]
push ebx
call fcn.004c5b00
add esp, 0x10
test eax, eax
js 0x4c5d81
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ecx + 4]
je 0x4c5d81
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4c5e34
mov dword [ecx], eax
mov eax, dword [eax + 0x14]
mov dword [edi], eax
mov eax, dword [ebp - 8]
mov dword [edi + 4], eax
mov eax, edi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4c86b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ebdee
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x7ce4e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x78
call fcn.005be217
mov edi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov dword [edi], vtable.t_cuObject.0
mov dword [edi + 4], 0xffffffff
mov dword [edi + 8], 1
mov dword [edi], vtable.t_cuResourceManager.0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
lea esi, [edi + 0x54]
mov byte [ebp - 4], 7
push 0x34
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005be217
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea eax, [edi + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 0x74], 0
mov eax, ebx
mov dword [ebx], edi
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 0x4c9520
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ebe30
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x7ce4e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x7d7ff0], 0
je 0x4c96ca
push dword [0x7d7ff8]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call ebx
test eax, eax
je 0x4c959e
cmp dword [eax], 3
jbe 0x4c959e
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4c959e
push 0
push 0x7d98a0
push 0x7d96a0
push 0
push eax
call fcn.005c1512
add esp, 0x14
test eax, eax
je 0x4c959e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
test eax, eax
jne 0x4c974b
cmp dword [0x7d7ff0], 0
je 0x4c96ca
push 0x802b24
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x7d7ff0], 0
je 0x4c9606
push dword [0x7d7ff8]
call ebx
test eax, eax
je 0x4c9606
cmp dword [eax], 3
jbe 0x4c9606
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4c9606
push 0
push 0x7d98a0
push 0x7d96a0
push 0
push eax
call fcn.005c1512
add esp, 0x14
test eax, eax
je 0x4c9606
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov edi, eax
test edi, edi
jne 0x4c96ab
push 4
call fcn.005be217
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004c86b0
mov dword [ebp - 4], 0xffffffff
mov edi, eax
cmp dword [0x7d7ff0], 0
je 0x4c96ab
push dword [0x7d7ff8]
call ebx
test eax, eax
je 0x4c96ab
cmp dword [eax], 3
jbe 0x4c96ab
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x4c96a5
push 8
call fcn.005be217
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.t_visualDataItemPtr_struct_t_cuResourceManagerWrap_.0
mov dword [esi + 4], edi
cmp dword [0x7d7ff0], 0
je 0x4c96ab
push dword [0x7d7ff8]
call ebx
test eax, eax
je 0x4c96ab
cmp dword [eax], 3
jbe 0x4c96ab
mov eax, dword [eax + 8]
push 0x802b24
mov dword [eax + 0xc], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx]
push edi
call dword [eax + 0xc]
push 0x802b24
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x802be8]
test eax, eax
jne 0x4c974b
push 0x802b24
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x807810]
cmp eax, dword [ecx + 0x20]
jle 0x4c9731
push 0x807810
call fcn.005be60a
add esp, 4
cmp dword [0x807810], 0xffffffff
jne 0x4c9731
mov ecx, 0x807814
mov dword [ebp - 4], 1
call fcn.004c86b0
push 0x6fe810
call fcn.005be4c2
push 0x807810
call fcn.005be5c0
add esp, 8
push 0x802b24
mov dword [0x802be8], 0x807814
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x802be8]
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 0x4cbad0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 4]
push edi
push 0x7850a0
mov edi, ecx
mov dword [ebp - 4], 0
push ebx
push eax
mov dword [ebp - 0xc], edi
call fcn.005c4e8d
mov eax, dword [ebp - 4]
add esp, 0xc
test eax, eax
jne 0x4cbb0a
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
push eax
push 0xc
lea esi, [edi + 0x214]
push 1
push esi
call fcn.005cb2c3
add esp, 0x10
cmp dword [esi], 0x43555450
jne 0x4cbc4e
cmp dword [edi + 0x218], 1
jg 0x4cbc4e
cmp dword [edi + 0x21c], 0xffff
jg 0x4cbc4e
push 0x103
push ebx
lea eax, [edi + 0xc]
mov byte [edi + 0x22c], 1
push 0x104
push eax
call fcn.005d20af
xor ebx, ebx
add esp, 0x10
cmp dword [edi + 0x21c], ebx
jle 0x4cbc38
lea esi, [edi + 0x220]
nop word [eax + eax]
push 0xc
call fcn.005be217
push dword [ebp - 4]
mov edi, eax
mov dword [ebp + 8], 0
push 4
lea eax, [ebp + 8]
mov dword [ebp - 8], edi
push 1
push eax
call fcn.005cb2c3
mov eax, dword [ebp + 8]
xor ecx, ecx
shr eax, 1
mov edx, 2
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005be278
mov dword [edi], eax
push dword [ebp - 4]
push dword [ebp + 8]
push 1
push eax
call fcn.005cb2c3
mov ecx, dword [ebp + 8]
xor edx, edx
mov eax, dword [edi]
add edi, 8
shr ecx, 1
mov word [eax + ecx*2], dx
push dword [ebp - 4]
push 4
push 1
push edi
call fcn.005cb2c3
push dword [edi]
call fcn.005be278
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
push dword [ebp - 4]
push dword [edi]
push 1
push eax
call fcn.005cb2c3
mov eax, dword [esi + 4]
add esp, 0x4c
cmp eax, dword [esi + 8]
je 0x4cbc1c
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x4cbc28
lea ecx, [ebp - 8]
push ecx
push eax
mov ecx, esi
call fcn.004c9760
mov eax, dword [ebp - 0xc]
inc ebx
cmp ebx, dword [eax + 0x21c]
jl 0x4cbb80
push dword [ebp - 4]
call fcn.005c5010
add esp, 4
mov al, 1
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
push dword [ebp - 4]
call fcn.005c5010
add esp, 4
xor al, al
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4cd020
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
push dword [edi + 0x104]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4cd063
mov eax, dword [edi + 0x104]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0x10
mov dword [ebp - 0x14], 2
call dword [sym.imp.USER32.dll_TrackMouseEvent]
call fcn.004d2c20
mov ebx, dword [ebp + 0xc]
cmp dword [eax + 4], 0
je 0x4cd107
call fcn.004d2c20
mov esi, dword [eax + 4]
call fcn.004d2c20
cmp dword [eax + 4], esi
jne 0x4cd107
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
neg eax
sbb eax, eax
neg eax
inc eax
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x4cd11b
mov esi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
call fcn.004d2c20
mov eax, dword [eax + 4]
test eax, eax
je 0x4cd0dd
xor ecx, ecx
xor edx, edx
nop
cmp eax, edi
je 0x4cd0d4
add ecx, dword [eax + 0x20]
add edx, dword [eax + 0x24]
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x4cd0c0
mov eax, esi
sub ebx, ecx
sub eax, edx
mov dword [ebp - 8], eax
call fcn.004d2c20
mov esi, dword [eax + 4]
call fcn.004d2c20
push dword [ebp - 8]
mov ecx, esi
push ebx
mov dword [eax + 4], 0
mov eax, dword [esi]
call dword [eax + 0x28]
mov ebx, dword [ebp + 0xc]
mov byte [esi + 0x64], 1
mov byte [esi + 0x71], 0
push dword [ebp + 0x10]
mov ecx, edi
push ebx
call fcn.004d1ba0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, ebx
mov ebx, dword [ebp + 0x10]
call fcn.004d2c20
mov eax, dword [eax + 4]
test eax, eax
je 0x4cd148
xor ecx, ecx
xor edx, edx
cmp eax, edi
je 0x4cd144
add ecx, dword [eax + 0x20]
add edx, dword [eax + 0x24]
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x4cd130
sub esi, ecx
sub ebx, edx
call fcn.004d2c20
push ebx
push esi
mov ecx, dword [eax + 4]
call fcn.004d1ba0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4d2c20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x7d7ff0], 0
push ebx
je 0x4d2d9b
push dword [0x7d7ff8]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call ebx
test eax, eax
je 0x4d2c7d
cmp dword [eax], 0xc
jbe 0x4d2c7d
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x4d2c7d
push 0
push 0x7d991c
push 0x7d96a0
push 0
push eax
call fcn.005c1512
add esp, 0x14
test eax, eax
je 0x4d2c7d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
test eax, eax
jne 0x4d2e15
cmp dword [0x7d7ff0], 0
je 0x4d2d9b
push esi
push edi
push 0x802b24
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x7d7ff0], 0
je 0x4d2ce7
push dword [0x7d7ff8]
call ebx
test eax, eax
je 0x4d2ce7
cmp dword [eax], 0xc
jbe 0x4d2ce7
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x4d2ce7
push 0
push 0x7d991c
push 0x7d96a0
push 0
push eax
call fcn.005c1512
add esp, 0x14
test eax, eax
je 0x4d2ce7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov esi, eax
test esi, esi
jne 0x4d2d87
push 0x10
call fcn.005be217
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
cmp dword [0x7d7ff0], 0
je 0x4d2d87
push dword [0x7d7ff8]
call ebx
test eax, eax
je 0x4d2d87
cmp dword [eax], 0xc
jbe 0x4d2d87
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x4d2d81
push 8
call fcn.005be217
mov edi, eax
add esp, 4
mov dword [ebp - 4], edi
mov dword [edi], vtable.t_visualDataItemPtr_struct_CherryUIPoint_.0
mov dword [edi + 4], esi
cmp dword [0x7d7ff0], 0
je 0x4d2d87
push dword [0x7d7ff8]
call ebx
test eax, eax
je 0x4d2d87
cmp dword [eax], 0xc
jbe 0x4d2d87
mov eax, dword [eax + 8]
push 0x802b24
mov dword [eax + 0x30], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
push 0x802b24
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x802bec]
test eax, eax
jne 0x4d2e15
push 0x802b24
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x807818]
cmp eax, dword [ecx + 0x20]
jle 0x4d2dfb
push 0x807818
call fcn.005be60a
add esp, 4
cmp dword [0x807818], 0xffffffff
jne 0x4d2dfb
xorps xmm0, xmm0
push 0x6fe880
movups xmmword [0x807824], xmm0
call fcn.005be4c2
push 0x807818
call fcn.005be5c0
add esp, 8
push 0x802b24
mov dword [0x802bec], 0x807824
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x802bec]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d7250
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
cmp edi, 0x1c
jne 0x4d72a4
test esi, esi
jne 0x4d72ee
mov esi, ebx
cmp byte [esi + 0x30], 0
je 0x4d7281
mov eax, dword [esi]
mov ecx, esi
push 0
mov byte [esi + 0x30], 0
call dword [eax + 0x48]
cmp dword [esi + 0x8c], esi
je 0x4d728d
mov byte [esi + 0x64], 1
push 0
push dword [esi + 0x104]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x14
cmp edi, 0x113
jne 0x4d72ee
cmp esi, 0x3e9
jne 0x4d72ee
push dword [ebx + 0x104]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ecx, dword [ebx + 0x104]
test eax, eax
je 0x4d72e2
push 0x213
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4d72ee
push 0x3e9
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
push dword [ebp + 0x18]
push esi
push edi
push dword [ebp + 0xc]
push ebx
call fcn.004cc1e0
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x4d7a10
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x190]
mov ebx, dword [esi + 0x194]
cmp edi, ebx
je 0x4d7a3f
mov ecx, edi
call fcn.004d2a30
add edi, 0xc
cmp edi, ebx
jne 0x4d7a25
mov eax, dword [esi + 0x190]
mov dword [esi + 0x194], eax
mov edx, dword [esi + 0x188]
xor edi, edi
mov ecx, dword [esi + 0x184]
mov eax, edx
sub eax, ecx
sar eax, 2
test eax, eax
je 0x4d7a82
nop dword [eax + eax]
push dword [ecx + edi*4]
mov ecx, esi
call fcn.004d0f20
mov edx, dword [esi + 0x188]
inc edi
mov ecx, dword [esi + 0x184]
mov eax, edx
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4d7a60
cmp ecx, edx
je 0x4d7a8c
mov dword [esi + 0x188], ecx
cmp byte [esi + 0x30], 0
je 0x4d7a9f
mov eax, dword [esi]
mov ecx, esi
push 0
mov byte [esi + 0x30], 0
call dword [eax + 0x48]
cmp dword [esi + 0x8c], esi
je 0x4d7aab
mov byte [esi + 0x64], 1
push 0
push dword [esi + 0x104]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
ret
Function at 0x4d9450
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x7ce4e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.005c0be0
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.USER32.dll_wvsprintfW]
mov esi, eax
lea ecx, [esi - 1]
cmp ecx, 0x3fe
ja 0x4d94c3
push 0
lea eax, [ebp - 0x808]
push eax
lea ecx, [esi + esi]
push ecx
lea eax, [ebp - 0x804]
push eax
mov eax, dword [0x7d127c]
push dword [eax*4 + 0x7f8f20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005be209
mov esp, ebp
pop ebp
ret
Function at 0x4d9d00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x7d127c]
cmp dword [eax*4 + 0x7f8f20], 0
je 0x4d9d6c
cmp dword [0x7f8f14], 0
je 0x4d9d6c
push esi
push str.extra:_n
call fcn.004d9450
mov edx, dword [0x7f8f14]
add esp, 4
mov eax, edx
mov dword [ebp - 4], 0
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d9d40
sub eax, esi
lea ecx, [ebp - 4]
push 0
sar eax, 1
push ecx
add eax, eax
push eax
mov eax, dword [0x7d127c]
push edx
push dword [eax*4 + 0x7f8f20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov esp, ebp
pop ebp
ret