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

Disassembly:
sub esp, 0x210
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
call fcn.00425c00
mov esi, eax
test esi, esi
je 0x4264d8
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xc]
push edx
push 0
push 0x487c10
push esi
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4264d1
lea eax, [esp + 0x10]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x426470
sub eax, edx
sar eax, 1
je 0x4264d1
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x426493
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00401cd0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00457c10
add esp, 0x210
ret
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x210]
pop esi
xor ecx, esp
xor eax, eax
call fcn.00457c10
add esp, 0x210
ret
Function at 0x4326d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x47435b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x49e280]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00456db7
push 4
mov dword [esp + 0x24], 0
call fcn.00457cb7
mov edi, eax
add esp, 4
test edi, edi
je 0x432752
call fcn.00457102
mov dword [edi], eax
call fcn.00456f30
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00456e54
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x432747
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00456e7c
jmp 0x432754
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x435850
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x475df8
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x49e280]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor ebx, ebx
lea eax, [esi + 8]
mov dword [esp + 0x14], ebx
push eax
mov dword [esi], vtable.IntelWiMaxRadioController.0
mov dword [esi + 4], ebx
call fcn.00430480
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov byte [esi + 0x28], bl
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], 0x476
mov dword [esi + 0x38], ebx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 0xc
Function at 0x43a880
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x47934b
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push esi
push edi
mov eax, dword [0x49e280]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov eax, dword [esp + 0x128]
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0x10], ebx
push 0xa
mov word [esp + 0x20], cx
xor edi, edi
push str.smbios.sbb
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], edi
call fcn.00401cd0
lea esi, [esp + 0x34]
mov dword [esp + 0x120], edi
call fcn.004427a0
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x124], 1
call fcn.0044de60
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0xfc]
push ecx
mov ecx, eax
mov byte [esp + 0x128], 2
call fcn.0044e590
lea ecx, [esp + 0x50]
mov byte [esp + 0x120], 4
call fcn.0044dc80
mov esi, 8
cmp dword [esp + 0x4c], esi
jb 0x43a957
mov edx, dword [esp + 0x38]
push edx
call fcn.00457c05
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], edi
mov word [esp + 0x38], ax
mov byte [esp + 0x120], 6
cmp dword [esp + 0x30], esi
jb 0x43a985
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00457c05
add esp, 4
xor edx, edx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], dx
call fcn.00449ca0
cmp eax, 2
jg 0x43a9f8
mov eax, dword [esp + 0xfc]
cmp dword [esp + 0x110], esi
jae 0x43a9b9
lea eax, [esp + 0xfc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43a9f8
push 2
push 0x28
push str..SMBIOSSMBIOSReaderXP.cpp
lea ecx, [esp + 0x78]
call fcn.0044ac20
add eax, 4
push str.SMBIOS_raw_data_file_not_ready
mov byte [esp + 0x124], 7
mov ebx, 1
push eax
mov dword [esp + 0x18], ebx
call fcn.00409a00
add esp, 8
mov dword [esp + 0x120], 6
test bl, 1
je 0x43aa11
lea ecx, [esp + 0x6c]
call fcn.0044a980
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0x10]
call ecx
mov eax, dword [esp + 0xfc]
cmp dword [esp + 0x110], esi
jae 0x43aa34
lea eax, [esp + 0xfc]
mov edx, dword [edi + 0xc]
push eax
mov eax, dword [edx + 0x4c]
call eax
add esp, 4
lea ecx, [esp + 0xf8]
mov dword [esp + 0x120], 0xffffffff
call fcn.0044dc80
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00457c10
add esp, 0x114
ret 4
Function at 0x43ae90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47730c
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov eax, dword [0x49e280]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov eax, ecx
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov edx, dword [eax]
mov edx, dword [edx + 8]
mov ecx, 0xa
mov esi, str.http:__t.sina.com.cn
lea edi, [esp + 0x104]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xe8]
push ecx
mov ecx, eax
movsw word es:[edi], word [esi]
call edx
xor esi, esi
mov dword [esp + 0x140], esi
cmp dword [esp + 0xfc], esi
jne 0x43af44
lea eax, [esp + 0x104]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x43af20
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0xf0]
call fcn.00401cd0
call fcn.00449ca0
mov edi, 8
test eax, eax
jg 0x43afa7
push esi
push 0x6e
push str.._social_network_button.cpp
lea ecx, [esp + 0x60]
call fcn.0044ac20
mov byte [esp + 0x140], 1
mov ecx, dword [esp + 0xec]
mov ebx, 1
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x100], edi
jae 0x43af8b
lea ecx, [esp + 0xec]
push ecx
push ecx
add eax, 4
push str.URL_
push eax
call fcn.00409a00
add esp, 0xc
push eax
call fcn.0044a4e0
add esp, 8
mov dword [esp + 0x140], esi
test bl, 1
je 0x43afbf
lea ecx, [esp + 0x54]
and ebx, 0xfffffffe
call fcn.0044a980
push 0x38
lea ecx, [esp + 0x20]
push esi
push ecx
call fcn.0045acf0
add esp, 0xc
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x1c], 0x8000
mov dword [esp + 0x24], str.open
cmp dword [esp + 0x100], edi
jb 0x43affd
mov edx, dword [esp + 0xec]
mov dword [esp + 0x28], edx
jmp 0x43b008
lea eax, [esp + 0xec]
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x38], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x43b074
call fcn.00449ca0
test eax, eax
jg 0x43b05f
call sub.KERNEL32.dll_GetLastError
push eax
push esi
push 0x78
push str.._social_network_button.cpp
lea ecx, [esp + 0x64]
call fcn.0044ac60
add eax, 0xc
push str.Calling_ShellExecuteExW
mov byte [esp + 0x144], 2
or ebx, 2
push eax
mov dword [esp + 0x1c], ebx
call fcn.00409a00
add esp, 8
mov dword [esp + 0x140], esi
test bl, 2
je 0x43b074
lea ecx, [esp + 0x54]
call fcn.0044acb0
cmp dword [esp + 0x100], edi
jb 0x43b08d
mov edx, dword [esp + 0xec]
push edx
call fcn.00457c05
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.00457c10
mov esp, ebp
pop ebp
ret
Function at 0x43c6f0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [esi + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MMDUtl_Init
push eax
call edi
mov dword [esi + 0x10], eax
test eax, eax
jne 0x43c70d
xor eax, eax
pop edi
ret
mov ecx, dword [esi + 0xc]
push str.MMDUtl_DeInit
push ecx
call edi
mov dword [esi + 0x14], eax
test eax, eax
je 0x43c709
mov edx, dword [esi + 0xc]
push str.MMDUtl_Run
push edx
call edi
mov dword [esi + 0x18], eax
test eax, eax
je 0x43c709
mov eax, dword [esi + 0xc]
push str.MMDUtl_RunEx
push eax
call edi
mov ecx, dword [esi + 0xc]
push str.MMDUtl_Stop
push ecx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
test eax, eax
je 0x43c709
mov edx, dword [esi + 0xc]
push str.MMDUtl_Cancel
push edx
call edi
mov dword [esi + 0x24], eax
test eax, eax
je 0x43c709
mov eax, dword [esi + 0xc]
push str.MMDUtl_PermitToChangeMode
push eax
call edi
mov dword [esi + 0x28], eax
test eax, eax
je 0x43c709
mov ecx, dword [esi + 0xc]
push str.MMDUtl_InitExtendMode
push ecx
call edi
mov dword [esi + 0x2c], eax
test eax, eax
je 0x43c709
mov edx, dword [esi + 0xc]
push str.MMDUtl_DeInitExtendMode
push edx
call edi
mov dword [esi + 0x30], eax
test eax, eax
je 0x43c709
mov eax, dword [esi + 0xc]
push str.MMDUtl_HasDualOutputCapability
push eax
call edi
mov dword [esi + 0x34], eax
test eax, eax
je 0x43c709
mov ecx, dword [esi + 0xc]
push str.MMDUtl_DetectDisplayConnectedFeatureIsValid
push ecx
call edi
mov dword [esi + 0x38], eax
test eax, eax
je 0x43c709
mov edx, dword [esi + 0xc]
push str.MMDUtl_HasExternalMonitorConnected
push edx
call edi
mov dword [esi + 0x3c], eax
test eax, eax
je 0x43c709
mov eax, dword [esi + 0xc]
push str.MMDUtl_EnableExtendMode
push eax
call edi
mov dword [esi + 0x40], eax
test eax, eax
je 0x43c709
mov ecx, dword [esi + 0xc]
push str.MMDUtl_IsExtendModeEnabled
push ecx
call edi
mov dword [esi + 0x44], eax
test eax, eax
je 0x43c709
mov edx, dword [esi + 0xc]
push str.MMDUtl_ChangeToNBOnlySingleDisplayMode
push edx
call edi
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0x48], eax
pop edi
mov eax, ecx
ret
Function at 0x43ce10
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
push edi
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x43cebc
push 0x228
lea eax, [esp + 0x10]
push edi
push eax
call fcn.0045acf0
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push esi
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x43ce84
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00457c10
add esp, 0x230
ret
cmp ebx, dword [esp + 0x20]
jne 0x43cea0
lea edx, [esp + 0x2c]
push str.conhost.exe
push edx
call fcn.0045833f
add esp, 8
test eax, eax
jne 0x43ceb1
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43ce84
jmp 0x43ceb5
mov edi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x234]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.00457c10
add esp, 0x230
ret
Function at 0x43cef0
Capabilities:
Create process on windows
Create process suspended
Delete file
Get common file path
Terminate process
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0xa7c
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0xa74], eax
push ebx
push ebp
push esi
push edi
push 0x3fe
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x686]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x68c], ax
call fcn.0045acf0
push 0x206
lea eax, [esp + 0x48a]
xor edx, edx
push ebx
push eax
mov word [esp + 0x490], dx
call fcn.0045acf0
push 0x206
lea edx, [esp + 0x8e]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x94], cx
call fcn.0045acf0
add esp, 0x24
push 0x200
push esi
lea eax, [esp + 0x688]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0x1ff
lea ecx, [esp + 0x27d]
push ebx
push ecx
mov byte [esp + 0x284], bl
call fcn.0045acf0
add esp, 0xc
push ebx
push ebx
push 0x200
lea edx, [esp + 0x284]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x694]
push eax
push 0x200
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
dec eax
cmp eax, 0x1ff
ja 0x43d0b7
lea ecx, [esp + 0x478]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x70]
push edx
push ebx
push 0x482d58
lea eax, [esp + 0x484]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x70]
push ecx
call edi
push str..bat
lea edx, [esp + 0x74]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x1f01ff
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x280]
push edx
mov esi, eax
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x284]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x40
lea ecx, [esp + 0x30]
push ebx
push ecx
call fcn.0045acf0
add esp, 0xc
xor eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x2c]
push eax
push ebx
push ebx
push 0x9000000
push ebx
push ebx
push ebx
lea ecx, [esp + 0x90]
push ecx
push ebx
mov dword [esp + 0x50], 0x44
mov dword [esp + 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x43d0d2
lea edx, [esp + 0x70]
push edx
call edi
xor eax, eax
mov ecx, dword [esp + 0xa84]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00457c10
add esp, 0xa7c
ret
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
lea ebx, [ebx]
push 0x32
call ebp
mov ebx, dword [esp + 0x1c]
call fcn.0043ce10
mov esi, eax
test esi, esi
jne 0x43d0fb
inc edi
cmp edi, 0xa
jl 0x43d0e0
jmp 0x43d0ff
push 0x32
call ebp
mov eax, dword [esp + 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esp + 0x18]
push edx
call edi
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, esi
jmp 0x43d0b9
Function at 0x43dc70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4771c4
mov eax, dword fs:[0]
push eax
sub esp, 0x164
push ebx
push edi
mov eax, dword [0x49e280]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
cmp byte [0x4a1fa0], bl
je 0x43dcf1
call fcn.00449ca0
cmp eax, 3
jg 0x43dcf1
cmp dword [esi + 0x14], ebx
jne 0x43dcf1
push 3
push 0x20
push 0x482bac
lea ecx, [esp + 0x58]
call fcn.0044ac20
mov dword [esp + 0x178], ebx
add eax, 4
push str.Check_failed:_file_path.empty____false.
mov ebx, 1
push eax
mov dword [esp + 0x14], ebx
call fcn.00409a00
add esp, 8
mov dword [esp + 0x178], 0xffffffff
test bl, 1
je 0x43dd0d
lea ecx, [esp + 0x4c]
and ebx, 0xfffffffe
call fcn.0044a980
push 0x38
lea eax, [esp + 0x18]
push 0
push eax
call fcn.0045acf0
add esp, 0xc
cmp dword [esi + 0x18], 8
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x14], 0x8100
mov dword [esp + 0x1c], 0x482bc4
lea edi, [esi + 4]
jb 0x43dd47
mov ecx, dword [edi]
mov dword [esp + 0x20], ecx
jmp 0x43dd4b
mov dword [esp + 0x20], edi
xor edx, edx
cmp byte [ebp + 8], dl
lea eax, [esp + 0x10]
setne dl
push eax
lea edx, [edx + edx + 1]
mov dword [esp + 0x30], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x43ddfb
call fcn.00449ca0
cmp eax, 2
jg 0x43ddc8
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x2a
push str..Helphelp_impl.cpp
lea ecx, [esp + 0xe8]
call fcn.0044ac60
add eax, 0xc
push str.Cant_open_file:
mov dword [esp + 0x17c], 1
or ebx, 2
push eax
mov dword [esp + 0x14], ebx
call fcn.00409a00
add esp, 8
cmp dword [esi + 0x18], 8
jb 0x43ddbe
mov edi, dword [edi]
push edi
push eax
call fcn.0044a4e0
add esp, 8
mov dword [esp + 0x178], 0xffffffff
test bl, 2
je 0x43dde4
lea ecx, [esp + 0xd8]
call fcn.0044acb0
xor al, al
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, 1
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43dfd1
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
je 0x43dfe4
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x43dff5
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x43dff7
xor eax, eax
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x43e005
pop esi
xor eax, eax
pop ebx
ret 4
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IdCardHelp_Init
push eax
mov ebp, 1
call edi
mov dword [esi + 8], eax
cmp eax, ebx
jne 0x43e023
xor ebp, ebp
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x43e037
push str.IdCardHelp_Deinit
push eax
call edi
mov dword [esi + 0xc], eax
jmp 0x43e03a
mov dword [esi + 0xc], ebx
cmp dword [esi + 0xc], ebx
jne 0x43e041
xor ebp, ebp
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x43e055
push str.IdCardHelp_Show
push eax
call edi
mov dword [esi + 0x10], eax
jmp 0x43e058
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x10], ebx
jne 0x43e05f
xor ebp, ebp
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x43e073
push str.IdCardHelp_IsVisible
push eax
call edi
mov dword [esi + 0x14], eax
jmp 0x43e076
mov dword [esi + 0x14], ebx
cmp dword [esi + 0x14], ebx
jne 0x43e07d
xor ebp, ebp
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x43e091
push str.IdCardHelp_GetWindow
push eax
call edi
mov dword [esi + 0x18], eax
jmp 0x43e094
mov dword [esi + 0x18], ebx
cmp dword [esi + 0x18], ebx
jne 0x43e09b
xor ebp, ebp
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x43e0af
push str.IdCardHelp_SetWindowTitle
push eax
call edi
mov dword [esi + 0x1c], eax
jmp 0x43e0b2
mov dword [esi + 0x1c], ebx
cmp dword [esi + 0x1c], ebx
jne 0x43e0b9
xor ebp, ebp
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x43e0cd
push str.IdCardHelp_ShowWindowTitle
push eax
call edi
mov dword [esi + 0x20], eax
jmp 0x43e0d0
mov dword [esi + 0x20], ebx
cmp dword [esi + 0x20], ebx
jne 0x43e0d7
xor ebp, ebp
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x43e0eb
push str.IdCardHelp_SetItemEnable
push eax
call edi
mov dword [esi + 0x24], eax
jmp 0x43e0ee
mov dword [esi + 0x24], ebx
cmp dword [esi + 0x24], ebx
jne 0x43e0f5
xor ebp, ebp
pop edi
mov eax, ebp
pop ebp
pop esi
pop ebx
ret 4
Function at 0x43e360
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4770a4
mov eax, dword fs:[0]
push eax
sub esp, 0x124
push ebx
push esi
mov eax, dword [0x49e280]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp byte [0x4a1fa0], bl
je 0x43e3e3
call fcn.00449ca0
cmp eax, 3
jg 0x43e3e3
cmp byte [esi + 0x14], bl
je 0x43e3e3
push 3
push 0x3e
push 0x482af8
lea ecx, [esp + 0x20]
call fcn.0044ac20
mov dword [esp + 0x138], ebx
add eax, 4
push str.Check_failed:_ui_is_closing___false.
mov ebx, 1
push eax
mov dword [esp + 0x18], ebx
call fcn.00409a00
add esp, 8
mov dword [esp + 0x138], 0xffffffff
test bl, 1
je 0x43e3ff
lea ecx, [esp + 0x14]
and ebx, 0xfffffffe
call fcn.0044a980
cmp byte [esi + 0x14], 0
jne 0x43e4df
cmp dword [esi + 0x1c], 0
jne 0x43e4c6
lea eax, [esi + 0x18]
push eax
push 0
push esi
push 0x43e550
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x43e4a9
call fcn.00449ca0
cmp eax, 2
jg 0x43e478
cmp dword [esi + 0x1c], 0
jne 0x43e478
push 2
push 0x45
push 0x482b28
lea ecx, [esp + 0xac]
call fcn.0044ac20
add eax, 4
push str.Create_HelpUI_thread_failed
mov dword [esp + 0x13c], 1
or ebx, 2
push eax
mov dword [esp + 0x18], ebx
call fcn.00409a00
add esp, 8
mov dword [esp + 0x138], 0xffffffff
test bl, 2
je 0x43e4df
lea ecx, [esp + 0xa0]
call fcn.0044a980
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 4]
call fcn.0044fca0
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0044f460
cmp eax, 7
jge 0x43e4df
mov esi, dword [esi + 8]
mov ecx, dword [esi + 0x18]
call ecx
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440930
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x440947
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x440978
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x440974
cmp esi, eax
jae 0x440978
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x440964
cmp esi, eax
jb 0x44097e
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x441800
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x47917d
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push esi
mov eax, dword [0x49e280]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp byte [0x4a1fa0], bl
je 0x441880
call fcn.00449ca0
cmp eax, 3
jg 0x441880
cmp dword [esi + 0x14], ebx
jne 0x441880
push 3
push 0x95
push 0x4823f8
lea ecx, [esp + 0x28]
call fcn.0044ac20
mov dword [esp + 0xb0], ebx
add eax, 4
push str.Check_failed:__log_file_path.empty__.
mov ebx, 1
push eax
mov dword [esp + 0x18], ebx
call fcn.00409a00
add esp, 8
mov dword [esp + 0xb0], 0xffffffff
test bl, 1
je 0x441899
lea ecx, [esp + 0x1c]
call fcn.0044a980
cmp dword [esi + 0x18], 8
jb 0x4418a4
mov eax, dword [esi + 4]
jmp 0x4418a7
lea eax, [esi + 4]
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x441900
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
call fcn.00441110
mov dword [esp + 0x10], esi
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x44191a
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.00441110
xor al, al
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xa8
ret
cmp dword [esp + 0x18], 0
jl 0x441931
jg 0x44192d
cmp dword [esp + 0x14], 0x1400000
jbe 0x441931
mov bl, 1
jmp 0x441933
xor bl, bl
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.00441110
mov al, bl
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xa8
ret