joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b2c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f3663
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x689300]
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], 0
mov dword [edi + 4], 0
call fcn.00429b90
mov dword [edi], eax
lea ecx, [edi + 8]
mov dword [ebp - 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.00429b90
mov dword [edi + 8], eax
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.00429b90
mov dword [edi + 0x10], eax
xor eax, eax
mov dword [edi + 0x2c], 7
mov dword [edi + 0x28], 0
mov word [edi + 0x18], ax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], 7
mov word [edi + 0x30], ax
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], 7
mov word [edi + 0x48], ax
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 0x42da60
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b0
mov eax, dword [0x689300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x20]
xor eax, eax
push esi
push edi
push 0x7e
push eax
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push eax
call fcn.005ba350
add esp, 0xc
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x22c
lea eax, [ebp - 0x2b0]
push 0
push eax
call fcn.005ba350
add esp, 0xc
mov dword [ebp - 0x2b0], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x42db2c
lea eax, [ebp - 0x2b0]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42db2c
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x42db00
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x28c]
push eax
call edi
test eax, eax
je 0x42db52
lea eax, [ebp - 0x2b0]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42db00
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
cmp dword [ebp + 0x1c], 8
jb 0x42db3f
push dword [ebp + 8]
call fcn.00470aa0
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b8774
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x2a8]
push esi
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x84]
push eax
push 0x608738
call fcn.005ba081
add esp, 8
mov bl, 1
jmp 0x42db2e
Function at 0x42dfb0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f3c6b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x689300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x238], 0
call fcn.005ba350
add esp, 0xc
mov dword [ebp - 0x234], 0
lea eax, [ebp - 0x234]
push eax
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x42e03a
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x42e064
xor ecx, ecx
jmp 0x42e07f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e070
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00423820
push 0x65dd60
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
push esi
call fcn.0042a7d0
add esp, 0xc
cmp dword [ebp - 0x21c], 8
jb 0x42e0c5
push dword [ebp - 0x230]
call fcn.00470aa0
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b8774
mov esp, ebp
pop ebp
ret

Function at 0x42e0f0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea ecx, [ebp - 8]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x20]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x42e130
mov ecx, dword [ebp - 8]
mov bl, 1
mov eax, dword [ebp - 4]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [esi], ecx
jmp 0x42e132
xor bl, bl
cmp dword [ebp + 0x1c], 8
jb 0x42e143
push dword [ebp + 8]
call fcn.00470aa0
add esp, 4
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e150
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f3cc1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x689300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 1
mov word [esi], ax
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push 0
cmovae eax, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0x34
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42e26a
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005a3188
add esp, 4
mov edi, eax
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push edi
push ebx
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42e261
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42e261
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x14]
push eax
push 0x65dd60
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42e261
mov ecx, dword [ebp - 0x14]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push 0x608808
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov ecx, esi
push edi
call fcn.004280b0
push edi
call fcn.00470aa0
add esp, 4
cmp dword [ebp + 0x20], 8
jb 0x42e27b
push dword [ebp + 0xc]
call fcn.00470aa0
add esp, 4
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

Function at 0x42e500
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x689300]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov word [ebp - 0x18], cx
push 0x608620
push eax
call fcn.0042f430
add esp, 0xc
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00423920
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005b8774
mov esp, ebp
pop ebp
ret
Function at 0x42e6b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f3d8b
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x689300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x828]
xor eax, eax
mov dword [ebp - 0x834], 0
push eax
push 0x65dcb4
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
call fcn.00423820
lea eax, [ebp - 0x82c]
mov dword [ebp - 4], 0
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x82c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42e767
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x65dcb4
mov ecx, esi
call fcn.00423920
jmp 0x42e80c
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.005ba350
add esp, 0xc
mov dword [ebp - 0x830], 0x800
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
push 0
push 0x6087bc
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42e7f2
cmp word [ebp - 0x810], ax
jne 0x42e7c3
xor ecx, ecx
jmp 0x42e7df
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e7d0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.00423820
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x828]
mov ecx, esi
push eax
call fcn.004243f0
cmp dword [ebp - 0x814], 8
jb 0x42e823
push dword [ebp - 0x828]
call fcn.00470aa0
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b8774
mov esp, ebp
pop ebp
ret
Function at 0x42e840
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f3de2
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x689300]
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 eax, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x218], 0
push ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov word [eax], cx
mov ecx, eax
push 0x65dcb4
mov dword [ebp - 4], 0
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x21c], eax
call fcn.00423820
push esi
push 0x100
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 0
push eax
push 0x65dcb4
push edi
push ebx
mov dword [ebp - 0x218], 1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x42e927
cmp word [ebp - 0x210], 0
jne 0x42e8fc
xor ecx, ecx
jmp 0x42e914
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e905
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x214]
lea eax, [ebp - 0x210]
push eax
call fcn.00423820
mov eax, dword [ebp - 0x214]
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.005b8774
mov esp, ebp
pop ebp
ret

Function at 0x42ea00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push str.Kill
call fcn.005ba081
add esp, 8
call fcn.005ba067
push dword [ebp + 8]
push 0
push 0x42b
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x42ea30
xor al, al
pop ebp
ret
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov al, 1
pop ebp
ret

Function at 0x42ea40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 1
push 0
push 0
push dword [ebp + 0xc]
push str.Open
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret
Function at 0x42ecc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
cmp byte [ebp + 0xc], 0
je 0x42ed21
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.005ba350
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 0
push eax
mov dword [ebp - 0x30], str.open
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x28], 0x65dcb4
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret
push str.wdc.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.WdcRunTaskAsInteractiveUser
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x39
push 0
push dword [ebp + 8]
call eax
mov esp, ebp
pop ebp
ret

Function at 0x4314d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f41ae
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x689300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x10]
mov dword [edi], 0
push eax
push 0
lea ecx, [edi + 4]
mov dword [ebp - 0x10], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.00436160
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
lea eax, [ebp - 0x10]
mov dword [edi + 0x20], 0
push eax
push 0
lea ecx, [edi + 0x24]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.00436160
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
mov byte [ebp - 4], 2
je 0x4315f8
test dl, 0x10
jne 0x4315f8
mov eax, 1
jmp 0x4315fa
xor eax, eax
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
push dword [esi + 0x18]
call fcn.004393c0
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 0x1c
Function at 0x438960
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x438991
lea esp, [esp]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x438980
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x43a3e0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f4860
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x689300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.005a3cc7
mov esi, dword [ebp + 8]
lea edi, [ebx + 0x10]
xor eax, eax
mov dword [ebx], vtable.._AV___LaunchPad_V___Bind__0A_XV_lambda_3bc57a02792396c7bffc01ea0577bb6f______V_std___std__.0
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
mov dword [edi + 0x10], 0
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], edi
mov word [edi], ax
call fcn.00423cd0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00423cd0
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43b900
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movsx eax, byte [eax]
add eax, 0xffffffde
cmp eax, 0x59
ja case.0x43b91a.35
movzx eax, byte [eax + 0x43b984]
jmp dword [eax*4 + 0x43b968]
mov dword [ebp + 8], edx
pop ebp
jmp fcn.0043ac50
mov dword [ebp + 8], edx
pop ebp
jmp fcn.0043b890
mov dword [ebp + 8], edx
pop ebp
jmp fcn.0043ab60
push 0
push dword [ebp + 0xc]
push edx
call fcn.0043b570
pop ebp
ret 8
mov dword [ebp + 8], edx
pop ebp
jmp fcn.0043b2b0
mov dword [ebp + 8], edx
pop ebp
jmp fcn.0043a9f0
mov dword [ebp + 8], edx
pop ebp
jmp fcn.0043acb0

Function at 0x43c1a0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f4a48
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x689300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
push dword [ebp + 8]
mov dword [esi + 0x10], 0
mov word [esi], ax
call fcn.00423cd0
xor eax, eax
mov dword [esi + 0x2c], 7
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
mov dword [ecx + 0x10], 0
push eax
push dword [ebp + 0xc]
mov word [ecx], ax
call fcn.00423cd0
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x30], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43e3f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov dword [eax], 0
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x43e407
sub esi, edx
sar esi, 1
je 0x43e421
cmp word [ecx + esi*2 - 2], 0x5c
jne 0x43e421
dec esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea ecx, [esi*2 + 6]
mov dword [ebp - 4], eax
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
jne 0x43e447
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
lea edi, [esi + esi]
push edi
push dword [ebp + 8]
push ebx
call fcn.005b8be0
add esp, 0xc
mov dword [edi + ebx], 0x2e005c
xor eax, eax
mov word [ebx + esi*2 + 4], ax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
push 0
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
cmp esi, 0xffffffff
je 0x43e495
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
mov dword [eax], 1
mov eax, 1
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 3
pop esi
setne cl
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43e950
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push str.HttpDownloadEnd
push 1
push 0x4a3
push 0x609e88
push str.CDuiFrameWnd::DownloadSuccess
mov edi, ecx
call fcn.004f5380
push 0xc
mov dword [ebp - 4], 0
call fcn.005b7f9f
mov esi, eax
add esp, 0x18
test esi, esi
je 0x43e99d
mov byte [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x43e99f
xor esi, esi
call fcn.00433440
mov dword [esi + 4], eax
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x43ea90
push 0
push 0
mov dword [esi + 8], 1
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [edi + 0x6c8], 2
je 0x43ea10
push str.switch
lea ecx, [edi + 0x2c]
mov dword [edi + 0x6c8], 2
call fcn.00449d46
test eax, eax
je 0x43ea10
push str.UpdateWindowSate:kWindow_Installing
push 1
push 0x2a9
push 0x609e88
push str.CDuiFrameWnd::UpdateWindowSate
call fcn.004f5380
add esp, 0x14
mov ecx, edi
call fcn.004422a0
push dword [edi + 0x748]
mov ecx, edi
call fcn.00442c00
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43ef60
Capabilities:
Initialize winhttp library
Prepare http request
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x689300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0
push 0
push 0
push 0
mov dword [ebp - 0x24], eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ebx, eax
mov dword [ebp - 0x30], 0
push 4
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28], ebx
push eax
push 0x58
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x43efc1
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b8774
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x43efae
cmp dword [esi + 0x14], 8
jb 0x43efcd
mov esi, dword [esi]
push 0
push 0x50
push esi
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x43efae
cmp dword [edi + 0x14], 8
jb 0x43efe8
mov edi, dword [edi]
push 0
push 0
push 0
push 0
push edi
push 0x65dd4c
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ebx, eax
test ebx, ebx
je 0x43efae
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x43efae
push 0
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x43f113
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
lea eax, [ebp - 0x20]
push 0
push eax
push 0
push 0
push 0x13
push ebx
mov dword [ebp - 0x20], 0
call esi
mov eax, dword [ebp - 0x20]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005a3188
mov ecx, dword [ebp - 0x20]
mov edi, eax
inc ecx
push ecx
push 0
push edi
call fcn.005ba350
add esp, 0x10
lea eax, [ebp - 0x20]
push 0
push eax
push edi
push 0
push 0x13
push ebx
call esi
push edi
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
push edi
mov esi, eax
call fcn.005b9f72
add esp, 4
cmp esi, 0x12e
jne 0x43efae
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
lea eax, [ebp - 0x20]
push 0
push eax
push 0
push 0
push 0x21
push ebx
call edi
mov eax, dword [ebp - 0x20]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005a3188
mov ecx, dword [ebp - 0x20]
mov esi, eax
inc ecx
push ecx
push 0
push esi
call fcn.005ba350
add esp, 0x10
lea eax, [ebp - 0x20]
push 0
push eax
push esi
push 0
push 0x21
push ebx
call edi
push esi
lea ecx, [ebp - 0x1c]
call fcn.00423920
mov ecx, dword [ebp - 0x24]
push eax
call fcn.00424e90
lea ecx, [ebp - 0x1c]
call fcn.00424ed0
push esi
call fcn.005b9f72
add esp, 4
jmp 0x43f138
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_has_occurred._n
push 1
push 0xe3
push 0x609e88
push str.GetRedirectUrl
call fcn.004f5380
add esp, 0x18
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebx
call esi
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x28]
call esi
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b8774
mov esp, ebp
pop ebp
ret
Function at 0x440250
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f5148
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x689300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
lea ecx, [esi + 0x6e4]
push esp
call fcn.0043ec60
lea eax, [ebp - 0x28]
push eax
call fcn.0042ee60
add esp, 0x1c
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
je 0x44036d
lea eax, [ebp - 0x70]
push eax
lea ecx, [esi + 0x6e4]
call fcn.0042b980
push eax
lea ecx, [esi + 0x53c]
mov byte [ebp - 4], 1
call fcn.00448106
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0043a5a0
push 0x60aa30
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.0042a7d0
add esp, 0x18
cmp dword [ebp - 0x2c], 8
jb 0x4402f8
push dword [ebp - 0x40]
call fcn.00470aa0
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x44031d
push dword [ebp - 0x70]
call fcn.00470aa0
add esp, 4
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0x60aa40
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.005b9e4e
mov esi, eax
add esp, 8
test esi, esi
je 0x44035c
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, dword [ebp - 0x28]
push 1
push dword [ebp - 0x18]
push ecx
call fcn.005bb19a
push esi
call fcn.005b9fe3
add esp, 0x14
cmp dword [ebp - 0x44], 8
jb 0x44036d
push dword [ebp - 0x58]
call fcn.00470aa0
add esp, 4
cmp dword [ebp - 0x14], 0x10
jb 0x44037e
push dword [ebp - 0x28]
call fcn.00470aa0
add esp, 4
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.005b8774
mov esp, ebp
pop ebp
ret