joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4131d0
Capabilities:
Access peb ldr_data
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x46cc52
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push edi
mov eax, dword [0x487550]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov dword [esp + 0xc], esi
push 4
mov ebx, 1
push esi
mov dword [esp + 0x24], ebx
call fcn.00411830
lea eax, [esp + 0x10]
push eax
lea edi, [esi + 0x160]
push 4
mov dword [edi], vtable.CAuntecBasedThread.0
mov byte [edi + 4], bl
push edi
mov byte [edi + 5], bl
push 0x42f690
xor ebx, ebx
push ebx
push ebx
call fcn.0044d9ae
add esp, 0x18
mov dword [edi + 8], eax
push ebx
push ebx
mov dword [esi], vtable.CMovieResource.0
mov dword [edi], vtable.CMovieResource.1.0
mov byte [esi + 0x16c], bl
mov byte [esi + 0x16d], bl
push ebx
mov dword [esi + method.CXMutex.virtual_0], vtable.CXMutex.0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x174], eax
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x1c], 4
mov dword [esi + 0x178], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x17c]
push ebx
lea edx, [esp + 0x30]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.004038f0
mov ax, word [esp + 0x44]
mov byte [esp + 0x1c], 5
push 0xffffffffffffffff
lea ecx, [esi + 0x19c]
mov word [esi + 0x198], ax
push ebx
lea edx, [esp + 0x50]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.004038f0
mov eax, dword [esp + 0x64]
mov dword [esi + 0x1c8], ebx
mov dword [esi + 0x1cc], ebx
mov dword [esi + 0x1d0], ebx
mov byte [esi + 0x1d4], bl
mov dword [esi + 0x1e8], eax
mov dword [esi + 0x1ec], ebx
cmp dword [edi + 8], ebx
je 0x413303
mov ecx, dword [edi + 8]
push ecx
mov byte [edi + 4], bl
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, 0x10
cmp dword [esp + 0x40], edi
jb 0x41331b
mov edx, dword [esp + 0x2c]
push edx
call fcn.0044caf8
add esp, 4
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x60], edi
jb 0x41333e
mov eax, dword [esp + 0x4c]
push eax
call fcn.0044caf8
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x14
ret 0x44
Function at 0x413380
Capabilities:
Resume thread
Terminate thread

Disassembly:
mov al, byte [edi + 0x164]
push ebx
xor ebx, ebx
push esi
mov dword [edi], vtable.CMovieResource.0
mov dword [edi + method.CMovieResource.1.virtual_0], vtable.CMovieResource.1.0
mov byte [edi + 0x16c], 1
test al, al
je 0x4133c0
cmp dword [edi + 0x168], ebx
je 0x4133c0
mov ecx, dword [edi + 0x168]
push ecx
mov byte [edi + 0x164], bl
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [edi + 0x168]
cmp eax, ebx
je 0x4133d7
push 0x32
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4133e5
mov edx, dword [edi + 0x168]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [edi + 0x1c8]
cmp eax, ebx
je 0x4133fe
push eax
call fcn.0044cd0a
add esp, 4
mov dword [edi + 0x1c8], ebx
cmp dword [edi + 0x1b4], 0x10
jb 0x413416
mov eax, dword [edi + 0x1a0]
push eax
call fcn.0044caf8
add esp, 4
mov esi, 0xf
mov dword [edi + 0x1b4], esi
mov dword [edi + 0x1b0], ebx
mov byte [edi + 0x1a0], bl
cmp dword [edi + 0x194], 0x10
jb 0x413445
mov ecx, dword [edi + 0x180]
push ecx
call fcn.0044caf8
add esp, 4
mov dword [edi + 0x194], esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x190], ebx
mov byte [edi + 0x180], bl
mov eax, dword [edi + 0x174]
mov dword [edi + method.CXMutex.virtual_0], vtable.CXMutex.0
cmp eax, ebx
je 0x41347a
push eax
call esi
mov dword [edi + 0x174], ebx
mov dword [edi + method.CAuntecBasedThread.virtual_0], vtable.CAuntecBasedThread.0
cmp dword [edi + 0x168], ebx
je 0x4134c5
mov dl, byte [edi + 0x164]
test dl, dl
je 0x4134a3
mov eax, dword [edi + 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [edi + 0x168]
cmp eax, ebx
je 0x4134b6
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [edi + 0x168]
push ecx
call esi
mov dword [edi + 0x168], ebx
lea esi, [edi + 0x24]
mov dword [edi], vtable.CImageResource.0
call fcn.00402660
pop esi
mov dword [edi], vtable.IBaseResource.0
pop ebx
ret
Function at 0x413d00
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x46c142
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x487550]
xor eax, esp
mov dword [esp + 0x320], eax
push ebx
push ebp
push edi
mov eax, dword [0x487550]
xor eax, esp
push eax
lea eax, [esp + 0x334]
mov dword fs:[0], eax
xor ebx, ebx
push 0x100
lea eax, [esp + 0x28]
push ebx
mov dword [esp + 0x24], ebx
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], ebx
call fcn.00452c80
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
push 0x208
lea edx, [esp + 0x136]
mov dword [esp + 0x34c], ebx
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x34], 1
mov word [esp + 0x13c], cx
call fcn.00452c80
add esp, 0x18
push 0x105
lea eax, [esp + 0x128]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x413e5b
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x128]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
cmp ebp, ebx
jbe 0x413e5b
push ebp
call fcn.0044bef8
push ebp
mov edi, eax
push ebx
push edi
call fcn.00452c80
mov eax, dword [esp + 0x20]
add esp, 0x10
push edi
push ebp
push eax
lea ecx, [esp + 0x130]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x413e4e
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push 0x478e98
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x413e4e
mov eax, dword [esp + 0x14]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
push ecx
push edx
lea eax, [esp + 0x34]
push str._d._d._d._d
push eax
call fcn.0044cc6f
add esp, 0x18
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004039d0
cmp edi, ebx
je 0x413e5b
push edi
call fcn.0044cd0a
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x334]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.0044c790
add esp, 0x330
ret
Function at 0x414c00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46c103
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x487550]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esi + 8], eax
xor eax, eax
mov dword [esi + 4], 9
mov byte [esi + 0x1c], 1
mov byte [esi + 0x1d], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esp + 0x10], eax
lea edx, [esi + 0x3c]
push edx
mov dword [esi], vtable.CLayoutResource.0
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
call fcn.00433790
lea eax, [esi + 0x54]
push eax
mov byte [esp + 0x14], 1
call fcn.00433790
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 8

Function at 0x415c60
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x20]
push ecx
mov ebx, eax
push edx
mov dword [esp + 0x40], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
sub edi, dword [esp + 0x20]
sub ebp, dword [esp + 0x24]
push ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebp
mov ebx, eax
mov eax, dword [esp + 0x3c]
push edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [esi + 0x1c]
sub edi, dword [esi + 0x18]
xor ebp, ebp
sar edi, 2
mov dword [esp + 0x18], eax
test edi, edi
jbe 0x415cfd
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x18]
sar ecx, 2
cmp ebp, ecx
jb 0x415ce9
call fcn.0044cae8
mov edx, dword [esi + 0x18]
mov eax, dword [edx + ebp*4]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push ebx
push eax
call edx
inc ebp
cmp ebp, edi
jb 0x415cd7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x38]
push 0xcc0020
push 0
push 0
push ebx
push eax
push ecx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x18]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esi + 4]
push edi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
Function at 0x415da0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
cmp byte [esp + 0x10], al
push 3
push 0
setne al
push 0
push 0
push 0
add eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
xor eax, eax
pop esi
ret 0xc
Function at 0x4175f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46e6c6
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x487550]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0xcc]
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x18]
sar eax, 2
cmp esi, eax
jb 0x417638
call fcn.0044cae8
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 8]
xor ebx, ebx
cmp eax, 1
jne 0x41774e
push 4
mov esi, 0xf
push 0x477d3c
lea ecx, [esp + 0x8c]
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
call fcn.00403b10
mov dword [esp + 0xc4], ebx
push 4
push str.0011
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00403b10
call fcn.0041fe10
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x88]
push ecx
mov byte [esp + 0xcc], 2
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x1c]
push ecx
push eax
call edx
mov edi, 0x10
cmp dword [esp + 0x64], edi
jb 0x4176e6
mov eax, dword [esp + 0x50]
push eax
call fcn.0044caf8
add esp, 4
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
cmp dword [esp + 0x2c], edi
jb 0x417705
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0044caf8
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x9c], edi
jb 0x41772a
mov edx, dword [esp + 0x88]
push edx
call fcn.0044caf8
add esp, 4
cmp dword [ebp + 0x44], 8
jb 0x417735
mov ebp, dword [ebp + 0x30]
jmp 0x417738
add ebp, 0x30
push 1
push ebx
push ebx
push ebp
push 0x47812c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x417842
cmp eax, 2
jne 0x417842
push 4
mov esi, 0xf
push 0x477d44
lea ecx, [esp + 0xa8]
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
call fcn.00403b10
mov dword [esp + 0xc4], 3
push 4
push str.0011
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00403b10
call fcn.0041fe10
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
lea edx, [esp + 0x68]
push edx
lea edx, [esp + 0xa4]
push edx
lea edx, [esp + 0x38]
mov byte [esp + 0xcc], 5
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx]
call eax
mov edi, 0x10
cmp dword [esp + 0x80], edi
jb 0x4177fb
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0044caf8
add esp, 4
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
cmp dword [esp + 0x48], edi
jb 0x41781d
mov edx, dword [esp + 0x34]
push edx
call fcn.0044caf8
add esp, 4
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0xb8], edi
jb 0x417842
mov eax, dword [esp + 0xa4]
push eax
call fcn.0044caf8
add esp, 4
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret 4
Function at 0x417990
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a0
mov eax, dword [0x487550]
xor eax, esp
mov dword [esp + 0x19c], eax
lea eax, [esp + 8]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
call fcn.00449640
test eax, eax
jne 0x4179da
push 0x47de10
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], str.Get_package_information_error
call fcn.0044f4cb
call fcn.00448950
test eax, eax
jne 0x4179fa
push 0x47de10
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], str.Get_server_information_error
call fcn.0044f4cb
mov ecx, dword [esp + 0x19c]
xor ecx, esp
call fcn.0044c790
mov esp, ebp
pop ebp
ret
Function at 0x41d210
Capabilities:
Check mutex on windows
Enumerate gui resources

Disassembly:
push ecx
push str.ZhiXiPkg_Event_D63F7A9D_E379_4AEA_B8F0_BE5C9F6B90D5
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x48a880], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41d286
mov eax, dword [0x48a880]
test eax, eax
je 0x41d251
cmp eax, 0xffffffff
je 0x41d251
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x48a880], 0
lea eax, [esp]
push eax
push 0x41d160
mov dword [esp + 8], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp]
test eax, eax
je 0x41d27f
push 0
push 0
push 0x80ff
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
call fcn.0044d15e
pop ecx
ret
Function at 0x41f670
Capabilities:
Link many functions at runtime

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebp
xor ebp, ebp
push str.jnzCreate
push edi
mov dword [esi], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
call ebx
mov dword [esi + 4], eax
cmp eax, ebp
jne 0x41f6ca
push 0x47de10
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], str.Get_jnzCreate_address_failed
call fcn.0044f4cb
push str.jnzSetApplyKey
push edi
call ebx
mov dword [esi + 8], eax
cmp eax, ebp
jne 0x41f6f0
push 0x47de10
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], str.Get_jnzSetAppKey_address_failed
call fcn.0044f4cb
push str.jnzSetAppInfo
push edi
call ebx
mov dword [esi + 0x10], eax
cmp eax, ebp
jne 0x41f716
push 0x47de10
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], str.Get_jnzSetAppInfo_address_failed
call fcn.0044f4cb
push str.jnzSetPubCertificate
push edi
call ebx
mov dword [esi + 0x14], eax
cmp eax, ebp
jne 0x41f73c
push 0x47de10
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], str.Get_jnzSetPubCertificate_address_failed
call fcn.0044f4cb
push str.jnzSetPriCcertificate
push edi
call ebx
mov dword [esi + 0x18], eax
cmp eax, ebp
jne 0x41f762
push 0x47de10
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], str.Get_jnzSetPriCcertificate_address_failed
call fcn.0044f4cb
push str.jnzSetHostInfo
push edi
call ebx
mov dword [esi + 0x28], eax
cmp eax, ebp
jne 0x41f788
push 0x47de10
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], str.Get_jnzSetHostInfo_address_failed
call fcn.0044f4cb
push str.jnzSetSensorUrl
push edi
call ebx
mov dword [esi + 0x2c], eax
cmp eax, ebp
jne 0x41f7ae
push 0x47de10
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], str.Get_jnzSetSensorUrl_failed
call fcn.0044f4cb
push str.jnzSetMidVersion
push edi
call ebx
push str.jnzEnableSandbox
push edi
mov dword [esi + 0xc], eax
call ebx
push str.jnzEnableCrashReport
push edi
mov dword [esi + 0x1c], eax
call ebx
push str.jnzFree
push edi
mov dword [esi + 0x20], eax
call ebx
push str.jnzSetNetProtocol
push edi
mov dword [esi + 0x24], eax
call ebx
push str.jnzSetURLVersion
push edi
mov dword [esi + 0x30], eax
call ebx
pop ebp
mov dword [esi + 0x34], eax
pop ebx
pop ecx
ret
Function at 0x41f800
Capabilities:
Link many functions at runtime

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebp
xor ebp, ebp
push str.jnzCLTCreate
push edi
mov dword [esi], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ebp
call ebx
mov dword [esi], eax
cmp eax, ebp
jne 0x41f83e
push 0x47de10
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], str.Get_jnzCLTCreate_address_error
call fcn.0044f4cb
push str.jnzCLTSensorWriteEvent
push edi
call ebx
mov dword [esi + 4], eax
cmp eax, ebp
jne 0x41f864
push 0x47de10
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], str.Get_jnzCLTSensorWriteEvent_address_error
call fcn.0044f4cb
push str.jnzCLTSensorWriteIntProperties
push edi
call ebx
mov dword [esi + 8], eax
cmp eax, ebp
jne 0x41f88a
push 0x47de10
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], str.Get_jnzCLTSensorWriteIntProperties_address_error
call fcn.0044f4cb
push str.jnzCLTSensorWriteBoolProperties
push edi
call ebx
mov dword [esi + 0xc], eax
cmp eax, ebp
jne 0x41f8b0
push 0x47de10
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], str.Get_jnzCLTSensorWriteBoolProperties_address_error
call fcn.0044f4cb
push str.jnzCLTSensorWriteStringProperties
push edi
call ebx
mov dword [esi + 0x10], eax
cmp eax, ebp
jne 0x41f8d6
push 0x47de10
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], str.Get_jnzCLTSensorWriteStringProperties_address_error
call fcn.0044f4cb
push str.jnzCLTWriteInt
push edi
call ebx
mov dword [esi + 0x14], eax
cmp eax, ebp
jne 0x41f8fc
push 0x47de10
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], str.Get_jnzCLTWriteInt_address_error
call fcn.0044f4cb
push str.jnzCLTWriteData
push edi
call ebx
mov dword [esi + 0x18], eax
cmp eax, ebp
jne 0x41f922
push 0x47de10
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], str.Get_jnzCLTWriteData_address_error
call fcn.0044f4cb
push str.jnzCLTCommit
push edi
call ebx
mov dword [esi + 0x1c], eax
cmp eax, ebp
jne 0x41f948
push 0x47de10
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], str.Get_jnzCLTCommit_address_error
call fcn.0044f4cb
push str.jnzCLTFree
push edi
call ebx
mov dword [esi + 0x20], eax
cmp eax, ebp
jne 0x41f96e
push 0x47de10
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], str.Get_jnzCLTFree_address_error
call fcn.0044f4cb
pop ebp
pop ebx
pop ecx
ret

Function at 0x41fd20
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor eax, eax
push str.jnzBuildHttpData
push edi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call ebx
push str.jnzDecryptData
push edi
mov dword [esi], eax
call ebx
push str.jnzDataFree
push edi
mov dword [esi + 4], eax
call ebx
push str.jnzMid
push edi
mov dword [esi + 8], eax
call ebx
push str.jnzMidEx
push edi
mov dword [esi + 0xc], eax
call ebx
push str.jnzOpenUrl
push edi
mov dword [esi + 0x10], eax
call ebx
mov dword [esi + 0x14], eax
pop ebx
ret
Function at 0x421400
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x46cba9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x487550]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov esi, ecx
push 0x48a8c0
mov ebx, str.ZxJnz.zip
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], eax
call fcn.004059c0
add esp, 4
mov dword [esp + 0x34], 0
push 0
mov dword [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
jne 0x42147e
push 0x47de10
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], str.Get_module_handle_failed
call fcn.0044f4cb
push str.BinarySystem
push 0x69
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebp, eax
test ebp, ebp
jne 0x4214a9
push 0x47de10
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], str.JNZ_not_found_resource
call fcn.0044f4cb
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
ja 0x4214ce
push 0x47de10
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], str.JNZ_resource_is_empty
call fcn.0044f4cb
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4214f3
push 0x47de10
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], str.Load_JNZ_resource_failed
call fcn.0044f4cb
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x421530
mov ecx, 0xffff
mov dword [esp + 0x1c], vtable.CFileStream.0
mov byte [esp + 0x24], 0
call fcn.0042f4f0
push ebx
push ebp
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x2c], eax
call fcn.0042f2e0
lea ecx, [esp + 0x1c]
call fcn.0042f130
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
call fcn.0042c830
test al, al
jne 0x421559
push 0x47de10
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], str.Save_JNZ_resource_failed
call fcn.0044f4cb
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x4241f0
Capabilities:
Access peb ldr_data
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x46bcb8
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x487550]
xor eax, esp
mov dword [esp + 0x194], eax
push ebx
mov eax, dword [0x487550]
xor eax, esp
push eax
lea eax, [esp + 0x1a0]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esi], vtable.CDownloader.0
mov dword [esi + 4], ebx
mov dword [esi + 0x20], 0xf
mov dword [esi + 0x1c], ebx
mov dword [esp + 8], esi
mov byte [esi + 0xc], bl
push ebx
push ebx
mov dword [esp + 0x1b0], ebx
push ebx
mov dword [esi + 0x24], vtable.CXMutex.0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x28], eax
xor eax, eax
mov dword [esi + 0x44], 7
mov dword [esi + 0x40], ebx
mov word [esi + 0x30], ax
mov byte [esp + 0x1a8], 2
lea ecx, [esi + 0x74]
push ecx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x70], ebx
call fcn.00433790
lea edx, [esp + 0xc]
push edx
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [esi + 0x6c], 0x14
mov dword [esi + 0x64], 2
mov dword [esi + 0x68], 0x7d0
mov eax, esi
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0044c790
add esp, 0x1a4
ret