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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6080
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4ff4f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], eax
lea ecx, [edi + 0x28]
mov dword [ebp - 4], 0
mov dword [edi], vtable.MainWnd.0
call fcn.00427000
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 1
call fcn.00420130
lea ecx, [edi + 0xf0]
mov byte [ebp - 4], 2
call fcn.00425fa0
lea esi, [edi + 0x114]
mov dword [edi + 0x108], 0
push esi
mov dword [edi + 0x10c], 0
mov dword [edi + 0x110], 0
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
add esi, 0x20
push 8
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0043ac42
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [edi + method.GuidedPopUp.virtual_0], vtable.GuidedPopUp.0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x150], 0
mov dword [edi + 0x154], 0
mov dword [edi + 0x158], 1
mov word [edi + 0x15c], 0
lea ecx, [edi + 0x160]
mov byte [ebp - 4], 6
call fcn.00429190
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x418850
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a66fb
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x4ff4f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], 0
call fcn.004162b0
neg eax
lea ecx, [ebp - 0x44]
push ecx
sbb eax, eax
and eax, 0x100
add eax, 0x20006
push eax
push 0
push dword [0x4ff398]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4189d7
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 8], eax
jne 0x4188ea
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push dword [0x4ff39c]
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov edi, eax
test edi, edi
jne 0x4188fb
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x4188fb
push ecx
call esi
jmp 0x4188fb
push dword [0x4ff39c]
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
push dword [ebp - 0x44]
call esi
push 0
push 0xa220
push 0x111
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.004380d0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x4189d7
push 0x54
push 0x4c2ad8
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0040a230
push 3
push 0x4c2ad4
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040a230
push 0x127
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00406000
mov esi, eax
push str.clean_status:
push esi
mov byte [ebp - 4], 2
call fcn.00405110
add esp, 8
mov ecx, esi
push edi
call fcn.00415d40
call fcn.004380d0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0xe0]
call fcn.00406fe0
lea ecx, [ebp - 0x28]
call fcn.004068c0
lea ecx, [ebp - 0x40]
call fcn.004068c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043af28
mov esp, ebp
pop ebp
ret 4
Function at 0x41b860
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6b3b
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x4ff4f4]
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
mov ebx, ecx
lea esi, [ebx + 0x20]
push esi
mov dword [ebp - 0x424], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0x1c], 0
mov dword [ebp - 4], 0
jne 0x41b9b5
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00466d80
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00466d80
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004750e1
add esp, 0x18
lea eax, [ebp - 0x218]
push str.NetBridge.dll
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call fcn.0043eef0
add esp, 4
test eax, eax
jne 0x41b949
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x41b9f6
mov dword [ebx + 0x1c], 1
cmp dword [ebx], 0
jne 0x41b9b5
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx], eax
test eax, eax
je 0x41b9b5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call edi
push str.HttpUninit
push dword [ebx]
mov dword [ebx + 4], eax
call edi
push str.zlib_uncompress
push dword [ebx]
mov dword [ebx + 8], eax
call edi
push str.zlib_compress
push dword [ebx]
mov dword [ebx + 0x10], eax
call edi
push str.zlib_compressBound
push dword [ebx]
mov dword [ebx + 0x14], eax
call edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x41b9b5
call eax
mov dword [ebx + 0xc], eax
push esi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x41b9f2
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x41b9f4
mov eax, dword [esi]
mov ecx, esi
push 0
push str.ungzip
call dword [eax + 0x30]
mov eax, dword [esi]
mov ecx, esi
push 0
push str.gzip
call dword [eax + 0x30]
jmp 0x41b9f4
xor esi, esi
mov eax, esi
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.0043af28
mov esp, ebp
pop ebp
ret
Function at 0x420130
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a72e6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4ff4f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], vtable.CPluginMgr.0
xorps xmm0, xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], vtable.CXThread.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
movups xmmword [edi + 0x4c], xmm0
mov dword [ebp - 4], 0
movq qword [edi + 0x5c], xmm0
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
lea esi, [edi + 0xb8]
mov byte [ebp - 4], 6
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00425560
mov dword [esi], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4226b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a76a1
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x4ff4f4]
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
mov edi, ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
jne 0x4226f0
xor eax, eax
jmp 0x4228d0
call fcn.004380d0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x4227e3
push 0x5c
push 0x4cb888
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.0040a230
push 3
push 0x4cb7d4
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040a230
push 0xbe
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x2e8]
call fcn.00406000
mov ebx, eax
cmp dword [esi + 0x14], 8
mov ecx, esi
mov byte [ebp - 4], 2
jb 0x42279a
mov ecx, dword [esi]
test ecx, ecx
mov eax, 0x4b1ee8
cmovne eax, ecx
push eax
push ebx
call fcn.00405110
add esp, 8
call fcn.004380d0
push ebx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2e8]
call fcn.00406fe0
lea ecx, [ebp - 0x230]
call fcn.004068c0
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
call fcn.004068c0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00466d80
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x422824
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4226e9
lea eax, [ebp - 0x218]
push eax
call fcn.0043eef0
add esp, 4
test eax, eax
je 0x4226e9
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4226e9
add esi, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x42287e
mov esi, dword [esi]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4226e9
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x24c], 0
push ecx
push 1
call eax
mov ecx, eax
mov dword [ebp - 0x250], ecx
test ecx, ecx
je 0x4226e9
push dword [edi + 0x10]
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
lea eax, [ebp - 0x250]
push eax
lea ecx, [edi + 4]
call fcn.004212f0
mov eax, 1
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.0043af28
mov esp, ebp
pop ebp
ret 4
Function at 0x430ec0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8d10
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4ff4f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], eax
mov dword [esi], vtable.CTrayIcon.0
mov dword [ebp - 4], 0
call fcn.00407b60
mov ecx, eax
test ecx, ecx
je 0x430f8a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x28], eax
mov dword [ebp - 4], 1
call fcn.00407b60
mov ecx, eax
test ecx, ecx
je 0x430f94
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x2c], eax
mov dword [ebp - 4], 2
call fcn.00407b60
mov ecx, eax
test ecx, ecx
je 0x430f9e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x30], eax
mov eax, esi
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004075c0
push 0x80004005
call fcn.004075c0
push 0x80004005
call fcn.004075c0
int3
Function at 0x437490
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a92ba
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ff4f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.LogUtils::LogAppender.0
lea edi, [esi + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
mov dword [esi + 0x10], 0
call fcn.00407b60
mov ecx, eax
test ecx, ecx
je 0x437654
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
lea ebx, [esi + 0x18]
call fcn.00407b60
mov ecx, eax
test ecx, ecx
je 0x43765e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.00407b60
mov ecx, eax
test ecx, ecx
je 0x437668
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 5
mov dword [esi + 0x10], eax
test edx, edx
jne 0x437572
xor ecx, ecx
jmp 0x437590
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437580
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00408a90
push edi
mov ecx, ebx
call fcn.0040fde0
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4375ac
xor ecx, ecx
jmp 0x4375c4
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4375b4
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.00408a90
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.00437e50
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.0040fde0
mov edx, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x437605
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x43763e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x43763e
cmp dword [esi + 0x10], 0
je 0x437635
push dword [edi]
call fcn.00478a22
add esp, 4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.004075c0
push 0x80004005
call fcn.004075c0
push 0x80004005
call fcn.004075c0
int3
Function at 0x437c50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a93a8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4ff4f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x437e24
push str.__set_log_lev0
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x437ca5
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 4]
jmp 0x437e24
push str.__set_log_lev1
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x437cc3
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
jmp 0x437e24
push str.__set_log_lev2
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x437ce1
mov eax, dword [edi]
mov ecx, edi
push 2
call dword [eax + 4]
jmp 0x437e24
push str.__set_log_lev3
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x437cff
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax + 4]
jmp 0x437e24
push str.__reload_log_switch
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x437e24
lea eax, [edi + 4]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x437d24
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0x2c]
mov dword [edi + 0x1c], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], ecx
jb 0x437d57
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp ecx, 8
jae 0x437d6f
movups xmm0, xmmword [eax]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x437dad
mov esi, ecx
mov eax, SysReAllocString
or esi, 7
lea ecx, [ebp - 0x28]
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00409d50
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x2c]
push eax
call fcn.00466280
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
push 0x4dc494
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00438890
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x437ddb
mov dword [edi + 0x1c], 0
cmp dword [edi + 0x28], 0
je 0x437e14
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
call eax
test al, al
je 0x437e14
push str._______log_reload_switch
lea ecx, [ebp - 0x4c]
call fcn.00420010
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x4c]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x4c]
call fcn.00406910
lea ecx, [ebp - 0x28]
call fcn.00406910
lea ecx, [ebp - 0x34]
call fcn.00415aa0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043af28
mov esp, ebp
pop ebp
ret 4
Function at 0x438200
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9467
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4ff4f4]
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
mov edi, ecx
mov ebx, dword [ebp + 8]
lea esi, [edi + 4]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esi
test esi, esi
je 0x43824a
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, ebx
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438256
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [edi + 0x2c]
call fcn.0040a320
cmp dword [edi + 0x28], 0
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x24], eax
jne 0x4382c3
push 0x48
call fcn.0043ac42
mov ebx, eax
add esp, 4
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 1
test ebx, ebx
je 0x4382b7
push 0x48
push 0
push ebx
call fcn.00466d80
add esp, 0xc
mov ecx, ebx
push dword [ebp + 0x14]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call fcn.00437490
jmp 0x4382b9
xor eax, eax
mov ebx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
mov dword [edi + 0x28], eax
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x10], eax
mov ecx, ebx
mov dword [ebp - 0x14], 7
sete al
lea edx, [ecx + 2]
lea eax, [eax*2 + 1]
mov dword [edi + 0x1c], eax
xor eax, eax
mov word [ebp - 0x28], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4382f0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040a320
push 3
push 0x4dc494
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004258d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43833f
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], eax
cmp dword [edi + 0x28], 0
je 0x43838e
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
call eax
test al, al
je 0x43838e
push 0x10
xor eax, eax
mov dword [ebp - 0x40], 0
push str._______log_start
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
call fcn.0040a320
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x50]
push edx
mov byte [ebp - 4], 3
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x50]
call fcn.00406910
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4383c4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4383ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438401
push edx
push ecx
call fcn.0043ac72
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test esi, esi
je 0x4383e3
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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.0043af28
mov esp, ebp
pop ebp
ret 0x14
call fcn.0046a2d8
int3
Function at 0x4390f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx]
test ecx, ecx
je 0x4390ff
pop ebp
jmp fcn.00439b00
xor eax, eax
pop ebp
ret 0xc
Function at 0x439e00
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a97e3
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x4ff4f4]
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
mov ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 0
test esi, esi
je 0x439ea5
cmp word [esi], di
je 0x439ea5
test eax, eax
je 0x439e61
cmp word [eax], di
je 0x439e61
push edi
push edi
push eax
push esi
push edi
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x439ea5
jmp 0x439ea0
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00466d80
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0
push 0x104
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x439ea5
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 1
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x439f1c
mov eax, dword [ebx + 0x24]
test eax, eax
js 0x439f07
lea esi, [ebx + 0x34]
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x428], esi
test esi, esi
je 0x439ed5
mov eax, dword [esi]
push esi
call dword [eax]
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 1
test eax, eax
js 0x439ef6
mov dword [ebp - 0x424], edi
test ecx, ecx
je 0x439f3c
mov eax, dword [ecx]
lea edx, [ebp - 0x424]
push edx
call dword [eax + 8]
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 2
test esi, esi
je 0x439f07
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x439f1c
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
xor eax, eax
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.0043af28
mov esp, ebp
pop ebp
ret 0x30
call fcn.00432c0e
int3

Function at 0x43aa90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x43aaa5
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43aab0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc