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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x629800
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov al, byte [esi + 0x624]
mov dword [ebp - 0x10], esp
cmp al, bl
je 0x530748
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x5f8]
push eax
push ecx
mov byte [esi + 0x624], bl
mov edx, dword [0x6d2354]
push ebx
push ebx
push str.GrabberWindowPlacementV6
push edx
mov dword [ebp - 0x14], 0x2c
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x530748
cmp dword [esi + 0x600], 3
jne 0x5306ce
push 3
mov ecx, esi
call fcn.0060313e
jmp 0x5306f8
mov eax, dword [esi + 0x618]
mov edx, dword [esi + 0x620]
mov ecx, dword [esi + 0x614]
sub edx, eax
push 4
push edx
mov edx, dword [esi + 0x61c]
sub edx, ecx
push edx
push eax
push ecx
push ebx
mov ecx, esi
call fcn.006030ef
mov ecx, dword [esi + 0x84]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
push eax
push ecx
call edi
mov eax, dword [esi + 0x1c]
lea edx, [ebp - 0x34]
push edx
push eax
call edi
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov edx, ecx
mov edi, dword [ebp - 0x24]
sub edx, eax
sub eax, ecx
mov ecx, dword [ebp - 0x28]
push ebx
push edx
mov edx, dword [ebp - 0x1c]
lea eax, [eax + ecx - 0x55]
mov ecx, dword [ebp - 0x2c]
mov ebx, edx
sub ecx, edx
sub ebx, edi
push ebx
lea edx, [ecx + edi - 0x23]
push eax
push edx
lea ecx, [esi + 0x68]
call fcn.006030ae
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x530780
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62981b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
cmp dword [esi + 0x5c8], 4
je 0x530989
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6d1c98
push 0
push str.SoftwareDownloadManagerGrabberDlgLS
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x530843
lea ecx, [ebp - 0x23c]
call fcn.004aceb0
push 1
push str.Cannot_open__create__registry_GetAllDlgLS_subkey._n
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 1
call fcn.004acfd0
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0
call fcn.004acfc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x24], 0x60
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x530878
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push edi
call ebx
push 0x5a
push edi
mov dword [ebp - 0x24], eax
call ebx
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0x24], 0x60
je 0x530882
mov byte [ebp - 0x11], 1
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esi + 0x628]
xor edi, edi
mov dword [ebp - 0x1c], eax
cmp edi, 7
jge 0x5308db
mov al, byte [ebp - 0x11]
mov edx, dword [esi + 0x4f4]
push 0
push edi
test al, al
push 0x101d
push edx
je 0x5308cb
call ebx
mov ecx, dword [ebp - 0x24]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp - 0x1c]
inc edi
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x1c], ecx
jmp 0x530893
call ebx
mov ecx, dword [ebp - 0x1c]
inc edi
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x1c], ecx
jmp 0x530893
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x628]
push 4
push eax
mov eax, dword [ebp - 0x18]
push 4
push 0
push str.FileName
push eax
call edi
mov edx, dword [ebp - 0x18]
lea ecx, [esi + 0x62c]
push 4
push ecx
push 4
push 0
push str.FileType
push edx
call edi
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 0x630]
push 4
push eax
push 4
push 0
push str.Size
push ecx
call edi
mov eax, dword [ebp - 0x18]
lea edx, [esi + 0x634]
push 4
push edx
push 4
push 0
push 0x6a9be0
push eax
call edi
mov edx, dword [ebp - 0x18]
lea ecx, [esi + 0x638]
push 4
push ecx
push 4
push 0
push 0x6a9488
push edx
call edi
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 0x63c]
push 4
push eax
push 4
push 0
push 0x6a4cf4
push ecx
call edi
mov edx, dword [ebp - 0x18]
add esi, 0x640
push 4
push esi
push 4
push 0
push str.SaveTo
push edx
call edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x535160
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov edx, dword [0x6d2354]
push edi
mov edi, ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0
push str.startImmediately
push edx
mov dword [esp + 0x20], 4
call esi
test eax, eax
jne 0x5351a1
mov eax, dword [esp + 0xc]
test eax, eax
setne al
mov byte [edi + 4], al
mov eax, dword [0x6d2354]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push str.StImmMsg
push eax
mov dword [esp + 0x20], 4
call esi
test eax, eax
jne 0x5351cc
mov byte [edi + 5], 1
pop edi
pop esi
add esp, 8
ret

Function at 0x535c80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x629e69
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x6cd768]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 8], eax
mov ecx, dword [0x6cd768]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0xc], ecx
mov edx, dword [0x6cd768]
mov dword [esi + 0x10], edx
mov eax, dword [0x6cd768]
mov dword [esi + 0x14], eax
mov ecx, dword [0x6cd768]
mov dword [esi + 0x18], ecx
mov edx, dword [0x6cd768]
mov dword [esi + 0x1c], edx
mov eax, dword [0x6cd768]
mov dword [esi + 0x20], eax
mov ecx, dword [0x6cd768]
mov dword [esi + 0x24], ecx
mov edx, dword [0x6cd768]
mov dword [esi + 0x28], edx
mov eax, dword [0x6cd768]
mov dword [esi + 0x2c], eax
mov ecx, dword [0x6cd768]
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 0xa
call fcn.00497410
mov ecx, dword [esp + 0xc]
mov dword [esi], 0x63e010
mov dword [esi + 4], 1
mov byte [esi + 0x34], bl
mov byte [esi + 0x35], bl
mov byte [esi + 0x36], bl
mov byte [esi + 0x37], bl
mov byte [esi + 0x38], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x535c9c
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x629e69
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x6cd768]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 8], eax
mov ecx, dword [0x6cd768]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0xc], ecx
mov edx, dword [0x6cd768]
mov dword [esi + 0x10], edx
mov eax, dword [0x6cd768]
mov dword [esi + 0x14], eax
mov ecx, dword [0x6cd768]
mov dword [esi + 0x18], ecx
mov edx, dword [0x6cd768]
mov dword [esi + 0x1c], edx
mov eax, dword [0x6cd768]
mov dword [esi + 0x20], eax
mov ecx, dword [0x6cd768]
mov dword [esi + 0x24], ecx
mov edx, dword [0x6cd768]
mov dword [esi + 0x28], edx
mov eax, dword [0x6cd768]
mov dword [esi + 0x2c], eax
mov ecx, dword [0x6cd768]
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 0xa
call fcn.00497410
mov ecx, dword [esp + 0xc]
mov dword [esi], 0x63e010
mov dword [esi + 4], 1
mov byte [esi + 0x34], bl
mov byte [esi + 0x35], bl
mov byte [esi + 0x36], bl
mov byte [esi + 0x37], bl
mov byte [esi + 0x38], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x535d60
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x629ef9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x63e010
lea ecx, [esi + 0x3c]
mov dword [esp + 0x10], 0xa
call fcn.00497430
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 9
call fcn.00603a3c
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 8
call fcn.00603a3c
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 7
call fcn.00603a3c
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 6
call fcn.00603a3c
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 5
call fcn.00603a3c
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 4
call fcn.00603a3c
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 3
call fcn.00603a3c
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 2
call fcn.00603a3c
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 1
call fcn.00603a3c
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 0
call fcn.00603a3c
lea ecx, [esi + 8]
mov dword [esp + 0x10], 0xffffffff
call fcn.00603a3c
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5365f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
push 0
push 0
lea ecx, [esi + 0x14]
call fcn.00536150
mov edx, dword [0x6d2354]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
mov ebp, 4
push str.nProxyMode
push edx
mov dword [esp + 0x24], ebp
call edi
test eax, eax
jne 0x53663f
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
jmp 0x53671e
mov eax, dword [0x6d2354]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push str.UseHttpProxy
push eax
mov dword [esp + 0x24], ebp
call edi
test eax, eax
jne 0x53666e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x53666e
mov byte [esi + 8], 1
mov eax, dword [0x6d2354]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push str.UseHttpsProxy
push eax
mov dword [esp + 0x24], ebp
call edi
test eax, eax
jne 0x53669d
mov eax, dword [esp + 0x10]
test eax, eax
je 0x53669d
mov byte [esi + 0xa], 1
mov eax, dword [0x6d2354]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push str.UseFtpProxy
push eax
mov dword [esp + 0x24], ebp
call edi
test eax, eax
jne 0x5366cc
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5366cc
mov byte [esi + 9], 1
mov eax, dword [0x6d2354]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push str.bUseSocks
push eax
mov dword [esp + 0x24], ebp
call edi
mov al, byte [esi + 8]
test al, al
jne 0x536707
mov al, byte [esi + 9]
test al, al
jne 0x536707
mov al, byte [esi + 0xa]
test al, al
jne 0x536707
mov al, byte [esi + 0xb]
test al, al
je 0x53670e
mov dword [esi + 4], 0x10
mov eax, dword [0x6d2878]
test eax, eax
je 0x53671e
mov dword [esi + 4], 8
test byte [esi + 4], 8
je 0x536748
mov edx, dword [0x6d2874]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x536748
push edx
mov ecx, 0x6d2868
call fcn.004b8d90
mov dword [0x6d2878], eax
cmp dword [esi + 4], 2
jne 0x536781
push 0
push 0
lea ecx, [esi + 0x14]
call fcn.00536150
test byte [esi + 0x18], 8
je 0x536781
mov esi, dword [esi + 0x20]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x536781
push esi
mov ecx, 0x6d2868
call fcn.004b8d90
mov dword [0x6d2878], eax
pop edi
pop esi
pop ebp
add esp, 8
ret

Function at 0x5369a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6d2354]
push esi
mov esi, ecx
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
push 0
push 0
push str.nProxyMode
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x536a08
mov eax, dword [esi + 4]
mov ecx, dword [esp + 8]
cmp eax, ecx
je 0x536a08
mov ecx, 0x6d2868
call fcn.004b8a50
mov ecx, esi
call fcn.005365f0
cmp dword [esi + 4], 2
jne 0x536a08
push 0
push 0
push 0
push 0
push 0
push 0x5368a0
call fcn.0060403a
pop esi
add esp, 8
ret
Function at 0x536ae0
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x629ff8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x6cd768]
push ebx
push ebp
push esi
xor esi, esi
mov ebp, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
push ecx
push str.SoftwareDownloadManagerProxyServers_s
push edx
mov dword [esp + 0x2c], esi
call fcn.005fc86b
add esp, 0xc
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push 0xf003f
push esi
push 0x6d1c98
push esi
push edx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x30]
cmp edx, esi
mov esi, dword [esp + 0x2c]
je 0x536b99
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push eax
push eax
push 0x6a9dfc
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x10]
push ebx
push str.EncPassword
push eax
call fcn.005b3170
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov edx, dword [esp + 0x28]
push ebx
push esi
push edx
mov ecx, ebp
call fcn.00536bd0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00603a3c
mov ecx, dword [esp + 0x18]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x538740
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62a1c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
cmp esi, ebx
mov dword [ebp - 0x10], esp
mov edx, ecx
mov dword [ebp - 4], ebx
je 0x5388d6
mov ecx, 0x58
xor eax, eax
lea edi, [ebp - 0x184]
mov dword [ebp + 0xc], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp + 0xc]
mov ecx, edx
push eax
push 0x63e1d0
push 2
call fcn.00538660
cmp eax, ebx
je 0x5387bc
push 0x410c
lea ecx, [ebp - 0x184]
push 0x160
push ecx
push ebx
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov dword [ebp + 0xc], eax
jmp 0x5387d5
push 0x400c
lea edx, [ebp - 0x184]
push 0x160
push edx
push ebx
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp + 0xc]
push 1
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [ebp + 0x10], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi]
mov dword [ebp + 8], eax
xor eax, eax
push 5
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
lea ecx, [ebp - 0x24]
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x14]
push 3
push 0
push 0
push 0x30
push 0x30
sub eax, 0x30
push edx
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi]
sub eax, 0x30
cdq
sub eax, edx
sar eax, 1
push eax
push edi
call dword [sym.imp.USER32.dll_DrawIconEx]
mov ecx, dword [esi + 4]
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
push 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_GetSysColorBrush]
lea edx, [ebp - 0x24]
push eax
push edx
push edi
call dword [sym.imp.USER32.dll_FrameRect]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp + 8]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call esi
push ebx
call esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x539700
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push edi
mov edi, ecx
push eax
push 0
push edi
push 0x539770
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x53974f
mov eax, dword [0x6d2898]
test eax, eax
jne 0x539751
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SleepEx]
push 1
push 0
call esi
mov eax, dword [0x6d2898]
test eax, eax
je 0x53972f
mov dword [edi + 0x24], eax
pop esi
mov dword [0x6d2898], 0
pop edi
pop ecx
ret
xor eax, eax
mov dword [edi + 0x24], eax
mov dword [0x6d2898], 0
pop edi
pop ecx
ret

Function at 0x539ab0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62a346
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
xor eax, eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0x63e47c
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x11
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0xa
mov dword [ebp - 4], eax
mov dword [esi + 0x28], vtable.CMenu.0
mov dword [esi + 0x2c], eax
mov dword [esi], 0x63e478
mov byte [ebp - 4], 2
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
call fcn.0060db5e
call fcn.0060db5e
mov eax, dword [eax + 0xc]
push 0x120
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esi + 0x48], eax
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x53a980
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x62a4a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebx + 4]
cmp esi, 0xffffffff
je 0x53a9da
mov edx, dword [esp + 0x1c]
push edi
lea eax, [esp + 0x20]
push 0
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
call esi
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x20]
push 0
push ecx
push 2
push 0x6a1db0
push edx
call esi
pop edi
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x53a9f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62a4cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov eax, dword [edi + 4]
mov dword [ebp - 4], ebx
cmp eax, 0xffffffff
je 0x53aafb
push 0x6bd748
lea ecx, [ebp - 0x14]
call fcn.00603aaa
mov eax, dword [0x6cd768]
mov dword [ebp - 0x18], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push 1
push ecx
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 2
call fcn.00582290
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push edx
call fcn.00603d7a
cmp dword [esi + 0x38], ebx
je 0x53aa7b
push str._r_nreferer:
lea ecx, [ebp - 0x14]
call fcn.00603d3e
mov eax, dword [esi + 0x38]
lea ecx, [ebp - 0x14]
push eax
call fcn.00603d3e
cmp dword [esi + 0x3c], ebx
je 0x53aa99
push str._r_ncookie:
lea ecx, [ebp - 0x14]
call fcn.00603d3e
mov ecx, dword [esi + 0x3c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00603d3e
mov edx, dword [esi + 0x194]
add esi, 0x194
cmp dword [edx - 8], ebx
je 0x53aac0
push str._r_npd:
lea ecx, [ebp - 0x14]
call fcn.00603d3e
push esi
lea ecx, [ebp - 0x14]
call fcn.00603d7a
push str._r_n__r_n
lea ecx, [ebp - 0x14]
call fcn.00603d3e
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ebx
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00603a3c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00603a3c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x53d1a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x62a6c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfac
push ebx
mov edx, dword [0x6d2354]
push ebp
mov ebp, ecx
push esi
lea eax, [esp + 0xc]
push edi
lea ecx, [esp + 0x7e8]
push eax
push ecx
push 0
push 0
mov esi, 0x7d0
push str.Extensions
push edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x53d1fc
xor eax, eax
jmp 0x53d2fa
mov ebx, dword [esp + 0xfcc]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, esi
jae 0x53d2fa
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x30000000
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x1c]
and ecx, 3
lea eax, [esp + 0x1c]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
lea ecx, [esp + 0x7e8]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.0053d070
mov ebp, eax
test ebp, ebp
jne 0x53d2f8
push 0x3f
push ebx
call fcn.005e71f0
add esp, 8
test eax, eax
je 0x53d2f8
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x30000000
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x1c]
and ecx, 3
mov dword [esp + 0x14], 0x7d0
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
lea ecx, [esp + 0x18]
push 0x3f
push ecx
call fcn.005e71f0
add esp, 8
test eax, eax
je 0x53d2f8
mov ecx, dword [esp + 0x14]
mov byte [eax], 0
lea edx, [esp + 0x7e8]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0053d070
mov ebp, eax
mov eax, ebp
mov ecx, dword [esp + 0xfbc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xfb8
ret 4