joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f7ba
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
push 1
push 0
mov edi, ecx
mov ecx, ebx
push 0
call fcn.0043fdec
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
cmp esi, 0x20
ja 0x41f862
lea ecx, [ebp - 0x18]
call fcn.00438b2f
mov ecx, ebx
call fcn.0043fdec
push eax
push esi
push str.ShellExecute___error__p_opening_browser_with_URL__s
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0043a4d2
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.0043645f
push 0
push 0
push 0x3a
push 0x4ab7e0
lea ecx, [ebp - 0x18]
call fcn.0043fdec
push eax
lea eax, [ebp - 0x2c]
push 0x4a7db4
push eax
call fcn.00436731
add esp, 0x18
mov ecx, edi
push eax
call fcn.0043641b
lea ecx, [ebp - 0x2c]
call fcn.0043645f
lea ecx, [ebp - 0x18]
call fcn.00438dea
jmp 0x41f86e
push 0x4a46ac
mov ecx, edi
call fcn.004363fb
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a7e5
mov esp, ebp
pop ebp
ret

Function at 0x41f900
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 6
xor ebx, ebx
mov esi, edx
push ebx
mov edi, ecx
call dword [sym.imp.ole32.dll_CoInitializeEx]
xor ecx, ecx
movzx ebx, bl
inc ecx
test eax, eax
cmove ebx, ecx
lea ecx, [ebp - 0x18]
call fcn.00438b2f
lea ecx, [ebp - 0x2c]
call fcn.00438b2f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0043ef17
pop ecx
pop ecx
lea ecx, [ebp - 0x40]
call fcn.0043645f
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0043efc0
pop ecx
pop ecx
lea ecx, [ebp - 0x40]
call fcn.0043645f
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0043f716
pop ecx
pop ecx
lea ecx, [ebp - 0x40]
call fcn.0043645f
push 0x3c
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0046e6d0
add esp, 0xc
mov dword [ebp - 0x7c], 0x3c
mov ecx, esi
mov dword [ebp - 0x78], 0x401
mov dword [ebp - 0x60], 5
mov dword [ebp - 0x70], str.open
call fcn.0043fdec
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x54], str.txtfile
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0043f716
pop ecx
pop ecx
lea ecx, [ebp - 0x40]
call fcn.0043645f
push 0x4a46ac
mov ecx, edi
call fcn.004363fb
lea ecx, [ebp - 0x2c]
call fcn.00438dea
lea ecx, [ebp - 0x18]
call fcn.00438dea
test bl, bl
je 0x41fa06
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a7e5
mov esp, ebp
pop ebp
ret
Function at 0x423e92
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 0x38
lea eax, [ebp - 0x48]
mov dword [ebp - 0x4c], 0x3c
push 0
push eax
mov esi, ecx
call fcn.0046e6d0
add esp, 0xc
mov dword [ebp - 4], 0x80
mov dword [ebp - 8], pe_nt_image_headers32
lea edi, [esi + 4]
mov dword [ebp - 0xc], 0x800
push 0x20
pop ebx
push ebx
mov ecx, edi
call fcn.0043ae7d
push dword [ebp - 4]
lea ecx, [esi + 0x18]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ebx
call fcn.0043ae7d
push dword [ebp - 8]
mov dword [ebp - 0x3c], eax
lea ecx, [esi + 0x30]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x38], eax
call fcn.0043ae7d
push dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
lea ecx, [esi + 0x44]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
call fcn.0043ae7d
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x423f4b
mov ecx, dword [ebp - 0x48]
mov word [ecx], ax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], ax
xor ecx, ecx
mov eax, dword [ebp - 0x20]
mov word [eax], cx
mov eax, dword [ebp - 0x18]
mov word [eax], cx
push 0xffffffffffffffff
mov ecx, edi
call fcn.0043b17d
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
call fcn.0043b17d
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
call fcn.0043b17d
push 0xffffffffffffffff
lea ecx, [esi + 0x44]
call fcn.0043b17d
cmp dword [ebp - 0x10], 0
jne 0x423fab
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x423fa2
mov eax, dword [ebp - 4]
add ebx, ebx
add eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
add eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
add eax, eax
mov dword [ebp - 0xc], eax
jmp 0x423ecf
or dword [esi], 0xffffffff
or dword [esi + 0x2c], 0xffffffff
jmp 0x423fc2
mov ecx, edi
call fcn.0043fdec
mov ecx, eax
call fcn.00423dfb
mov dword [esi], eax
movzx eax, word [ebp - 0x34]
mov dword [esi + 0x2c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42c1fb
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor eax, eax
mov ebx, ecx
push edi
push eax
push eax
push str.__COMPAT_LAYER
mov dword [ebp - 4], eax
mov dword [ebx], eax
mov byte [ebx + 4], al
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
mov edi, eax
test edi, edi
je 0x42c341
push esi
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b2bc
mov esi, eax
pop ecx
test esi, esi
je 0x42c340
push edi
push esi
push str.__COMPAT_LAYER
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
mov edi, eax
test edi, edi
je 0x42c339
push str.IndeoIgnoreLoadLibrary
push esi
inc edi
call fcn.0046d51a
pop ecx
pop ecx
test eax, eax
je 0x42c339
push str._tcleaning_environment_variable___COMPAT_LAYER_n
call fcn.0042d3d5
xor ecx, ecx
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b2bc
mov dword [ebx], eax
pop ecx
pop ecx
test eax, eax
je 0x42c2a5
push edi
push esi
push eax
call fcn.0046bea6
add esp, 0xc
push str.IndeoIgnoreLoadLibrary
push esi
call fcn.0046d51a
pop ecx
pop ecx
jmp 0x42c2fd
push 0x16
pop ecx
push 0x20
pop edi
cmp di, word [edx + 0x2c]
push 0x17
pop eax
cmove ecx, eax
lea edi, [edx + ecx*2]
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 8], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 4]
jne 0x42c2cf
sub ecx, dword [ebp - 8]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push edx
call fcn.0046a990
push str.IndeoIgnoreLoadLibrary
push esi
call fcn.0046d51a
add esp, 0x14
mov edx, eax
test edx, edx
jne 0x42c2b4
mov edi, esi
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
cmp ax, dx
jne 0x42c308
sub edi, ecx
push 0x4a7750
push esi
sar edi, 1
call fcn.00472cec
pop ecx
pop ecx
xor edx, edx
mov ecx, esi
cmp eax, edi
cmove ecx, edx
push ecx
push str.__COMPAT_LAYER
call dword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
push esi
call fcn.0046b2b7
pop ecx
pop esi
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42d0e5
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
mov edi, edx
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
jne 0x42d11d
xor al, al
jmp 0x42d20a
cmp dword [ebp - 0x108], 1
je 0x42d12f
cmp dword [ebp - 0x108], 2
jne 0x42d116
push ebx
push esi
mov esi, dword [0x4c59ac]
test esi, esi
je 0x42d178
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d140
sub ecx, edx
lea ebx, [ecx + 0x10]
push ebx
call fcn.0047256c
mov dword [edi], eax
pop ecx
test eax, eax
je 0x42d1d8
push str..log
push 0x4a3cf0
push esi
push str._s_s_s
push ebx
push eax
call fcn.0046ee88
add esp, 0x18
jmp 0x42d203
mov ebx, dword [sym.imp.KERNEL32.DLL_GetTempPathA]
lea eax, [ebp - 0x119]
push eax
push 1
call ebx
test eax, eax
je 0x42d1d8
add eax, 0xa
mov dword [ebp - 0x120], eax
lea esi, [eax + 0x10]
push esi
call fcn.0047256c
mov dword [edi], eax
pop ecx
test eax, eax
je 0x42d1d8
push eax
push esi
call ebx
push str.LogMeInLogs
push dword [edi]
call fcn.00481120
pop ecx
pop ecx
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
test eax, eax
jne 0x42d1dc
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x50
je 0x42d1dc
cmp eax, 0xb7
je 0x42d1dc
xor al, al
jmp 0x42d208
mov eax, dword [edi]
sub esi, dword [ebp - 0x120]
add eax, dword [ebp - 0x120]
push str..log
push 0x4a3cf0
push str._s_s
push esi
push eax
call fcn.0046ee88
add esp, 0x14
test eax, eax
setns al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0046a7e5
mov esp, ebp
pop ebp
ret
Function at 0x42d570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push esi
push edi
mov esi, 0x114
mov dword [ebp - 0x14c], eax
push esi
push eax
mov edi, eax
mov dword [ebp - 0x148], eax
mov ebx, eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x138]
push eax
call fcn.0046e6d0
add esp, 0xc
mov dword [ebp - 0x138], esi
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
lea eax, [ebp - 0x13c]
push eax
cmovne edi, dword [ebp - 0x134]
cmovne ebx, dword [ebp - 0x130]
and dword [ebp - 0x13c], 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x42d668
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x1c], str.EnableLUA
mov dword [ebp - 0x10], eax
xor esi, esi
lea eax, [ebp - 0x148]
mov dword [ebp - 0x18], str.EnableVirtualization
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x150]
mov dword [ebp - 0x14], str.EnableInstallerDetection
mov dword [ebp - 8], eax
lea eax, [ebp - 0x154]
mov dword [ebp - 0x154], 4
push eax
push dword [ebp + esi - 0x10]
push 0
push 0
push dword [ebp + esi - 0x1c]
push dword [ebp - 0x13c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esi, 4
cmp esi, 0xc
jl 0x42d637
cmp dword [ebp - 0x13c], 0
je 0x42d67d
push dword [ebp - 0x13c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x140]
call fcn.0043324a
mov ecx, dword [ebp - 0x140]
lea edx, [ebp - 0x144]
and ecx, 0xf000
call fcn.004332f5
cmp dword [ebp - 0x144], 0
mov eax, 0x4a60cc
cmovne eax, dword [ebp - 0x144]
push eax
push dword [ebp - 0x140]
push dword [ebp - 0x150]
push dword [ebp - 0x148]
push dword [ebp - 0x14c]
push ebx
push edi
push str.logSecurityInfo_n_t_t_tOS_ver__d._d__n_t_t_tlua_d__virtualization_d__inst_detect_d__n_t_t_tintegrity_level_0x_.8X___s__n
call fcn.0042d3d5
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046a7e5
mov esp, ebp
pop ebp
ret
Function at 0x42e63b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push str._t_createProcess:_..._n
mov dword [ebp - 0x34], esi
call fcn.0042d3d5
push 0x44
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.0046e6d0
mov eax, dword [edi + 0x1c]
lea ecx, [ebp - 0x18]
add esp, 0x10
mov dword [ebp - 0x64], eax
lea eax, [edi + 4]
mov dword [ebp - 0x90], 0x44
mov dword [ebp - 0x1c], str.CreateProcess
push eax
call fcn.00438559
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x42e6af
call fcn.0043fdec
mov dword [ebp - 0x20], eax
xor edx, edx
jmp 0x42e6b6
xor edx, edx
mov eax, edx
mov dword [ebp - 0x20], edx
cmp dword [edi], edx
je 0x42e707
cmp dword [esi + 0x34], edx
jne 0x42e6c9
push 0x4a7dd4
jmp 0x42e7c4
push str._tusing_token_n
call fcn.0042d346
mov esi, dword [edi]
lea eax, [ebp - 0x30]
pop ecx
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x1c], str.CreateProcessWithTokenW
push eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
push 0
push 0
push 1
call fcn.0043ae7d
push eax
mov eax, dword [ebp - 0x34]
push 0
push 0
push esi
call dword [eax + 0x34]
jmp 0x42e72d
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x90]
push ecx
push eax
push edx
push edx
push dword [edi + 0x20]
lea ecx, [ebp - 0x18]
push edx
push edx
push 1
call fcn.0043ae7d
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.0043b17d
test esi, esi
jne 0x42e770
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x42e74c
mov dword [ecx], eax
push 0
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x48]
push eax
call fcn.00436b55
add esp, 0xc
mov ecx, ebx
push eax
call fcn.0043641b
lea ecx, [ebp - 0x48]
call fcn.0043645f
jmp 0x42e7cb
mov ecx, dword [edi + 0x28]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
test ecx, ecx
je 0x42e784
mov eax, dword [ebp - 0x2c]
mov dword [ecx], eax
jmp 0x42e789
push dword [ebp - 0x2c]
call esi
cmp dword [edi + 0x30], 0
je 0x42e7ac
push 0xffffffffffffffff
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov eax, dword [edi + 0x30]
or dword [eax], 0xffffffff
push dword [edi + 0x30]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x42e7ba
mov eax, dword [ebp - 0x30]
mov dword [ecx], eax
jmp 0x42e7bf
push dword [ebp - 0x30]
call esi
push 0x4a46ac
mov ecx, ebx
call fcn.004363fb
lea ecx, [ebp - 0x18]
call fcn.00438dea
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a7e5
mov esp, ebp
pop ebp
ret 8
Function at 0x42f475
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0xb8], ebx
jne 0x42f4aa
push 0x10000000
push ebx
push ebx
push ebx
lea ecx, [edi + 0xcc]
call fcn.0043fdec
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [edi + 0xb8], eax
mov eax, dword [edi + 0xb8]
test eax, eax
jne 0x42f4f7
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [edi + 0x1c0]
mov esi, eax
push esi
push dword [ecx + 0x2c]
push dword [edi + 0x1c4]
call fcn.0043230e
add esp, 0xc
lea ecx, [ebp - 0x14]
mov edx, str.InternetOpen
push ebx
push esi
call fcn.00431007
pop ecx
mov ecx, dword [ebp + 8]
push eax
call fcn.0043641b
lea ecx, [ebp - 0x14]
call fcn.0043645f
jmp 0x42f54a
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea ecx, [edi + 0x164]
cmp dword [ecx], ebx
je 0x42f50f
push 4
push ecx
push 2
push eax
call esi
lea eax, [edi + 0x168]
cmp dword [eax], ebx
je 0x42f526
push 4
push eax
push 5
push dword [edi + 0xb8]
call esi
lea eax, [edi + 0x16c]
cmp dword [eax], ebx
je 0x42f53d
push 4
push eax
push 6
push dword [edi + 0xb8]
call esi
mov ecx, dword [ebp + 8]
push 0x4a46ac
call fcn.004363fb
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42f556
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0xbc], ebx
jne 0x42f695
push 0xffffffffffffffff
push str.http
lea eax, [ebp - 0x14]
lea esi, [edi + 0x104]
push eax
mov ecx, esi
call fcn.0043a2bf
lea ecx, [ebp - 0x14]
cmp dword [eax + 0xc], 0x3ec
sete bl
call fcn.0043645f
test bl, bl
je 0x42f5ac
and dword [edi + 0xc4], 0xff7fffff
push 0x50
pop eax
jmp 0x42f5e7
push 0xffffffffffffffff
push 0x4a5fd0
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0043a2bf
lea ecx, [ebp - 0x14]
cmp dword [eax + 0xc], 0x3ec
sete bl
call fcn.0043645f
test bl, bl
je 0x42f66f
or dword [edi + 0xc4], 0x800000
mov eax, 0x1bb
movzx ecx, word [edi + 0x140]
test cx, cx
je 0x42f5f5
mov eax, ecx
push edi
xor ebx, ebx
lea ecx, [edi + 0x118]
push ebx
push 3
push ebx
push ebx
push eax
call fcn.0043fdec
push eax
push dword [edi + 0xb8]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [edi + 0xbc], eax
cmp eax, ebx
jne 0x42f695
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
lea ecx, [edi + 0x118]
push esi
call fcn.0043fdec
mov ecx, dword [edi + 0x1c0]
push eax
push dword [ecx + 0x30]
push dword [edi + 0x1c4]
call fcn.0043230e
add esp, 0x10
lea ecx, [ebp - 0x14]
mov edx, str.InternetConnect
push ebx
push esi
call fcn.00431007
pop ecx
mov ecx, dword [ebp + 8]
push eax
call fcn.0043641b
lea ecx, [ebp - 0x14]
call fcn.0043645f
jmp 0x42f6a2
mov ecx, esi
call fcn.0043fdec
push eax
mov eax, dword [edi + 0x1c0]
push dword [eax + 0x20]
push dword [edi + 0x1c4]
call fcn.0043230e
add esp, 0xc
push 0x4a7de0
jmp 0x42f69a
push 0x4a46ac
mov ecx, dword [ebp + 8]
call fcn.004363fb
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x430806
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
lea ecx, [esi + 8]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
call fcn.0043c120
inc dword [ebp - 0xc]
cmp byte [esi + 0xf4], 0
je 0x430834
push 0x4a7dd8
jmp 0x430891
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
push dword [ebp + 0xc]
push 0x20000005
push dword [esi + 0xc0]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x43088c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push eax
lea eax, [ebp - 0x24]
push str.HttpQueryInfo
push eax
call fcn.00436b55
mov ecx, dword [ebp + 8]
add esp, 0xc
push eax
call fcn.0043641b
lea ecx, [ebp - 0x24]
call fcn.0043645f
jmp 0x430899
push 0x4a46ac
mov ecx, dword [ebp + 8]
call fcn.004363fb
lea ecx, [ebp - 0x10]
call fcn.004097d8
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x431f1a
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, edx
xor edx, edx
push edx
push 0x80
mov dword [eax], edx
mov esi, edx
mov eax, dword [ebp + 0xc]
push 3
push edx
push 1
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
push 0x80000000
push ecx
mov dword [ebx], edx
mov dword [eax], edx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebx], eax
cmp eax, 0xffffffff
jne 0x431f5f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x431fc6
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x431f81
call edi
test eax, eax
jne 0x431fc4
mov eax, dword [ebp - 8]
cmp dword [ebp - 4], esi
ja 0x431fce
cmp eax, 0x8000000
ja 0x431fce
mov ecx, dword [ebp + 0x10]
push 0
push eax
push dword [ebp - 4]
mov dword [ecx], eax
push 2
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
test eax, eax
je 0x431fc4
xor ecx, ecx
push ecx
push ecx
push ecx
push 4
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
test eax, eax
jne 0x432013
call edi
mov esi, eax
test esi, esi
je 0x432013
jmp 0x431fd1
push 8
pop esi
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
and dword [eax], 0
cmp dword [edi], 0
je 0x431fea
push dword [edi]
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
and dword [edi], 0
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [eax], 0
je 0x432002
push dword [eax]
call edi
mov eax, dword [ebp + 8]
and dword [eax], 0
cmp dword [ebx], 0
je 0x432013
cmp dword [ebx], 0xffffffff
je 0x432013
push dword [ebx]
call edi
and dword [ebx], 0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432d40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
push 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], edi
call fcn.00436442
mov ebx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
mov ecx, edi
and dword [ebx], 0
call fcn.0043fdec
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x432daf
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x432d89
push 0x4a7e70
jmp 0x432df7
push 0
push eax
push str.GetFileVersionInfoSize
lea eax, [ebp - 0x30]
push eax
call fcn.00436b55
add esp, 0xc
mov ecx, esi
push eax
call fcn.0043641b
lea ecx, [ebp - 0x30]
call fcn.0043645f
jmp 0x432dfe
push edi
call fcn.0047256c
mov dword [ebx], eax
pop ecx
test eax, eax
jne 0x432dc3
push 0x4a49f0
jmp 0x432df7
mov ecx, dword [ebp - 8]
push eax
push edi
push dword [ebp - 4]
call fcn.0043fdec
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x432df2
push ebx
call fcn.00432e0f
pop ecx
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push eax
push str.GetFileVersionInfo
jmp 0x432d91
push 0x4a46ac
mov ecx, esi
call fcn.004363fb
lea ecx, [ebp - 0x1c]
call fcn.0043645f
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x432ea6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x228]
push edi
xor edi, edi
push 0x112
push eax
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
test eax, eax
je 0x432f58
cmp eax, 0x104
jae 0x432f58
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x432ef0
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x22a], 0x5c
je 0x432f20
push 1
lea eax, [ebp - 0x228]
push 0x4a3e50
push eax
call fcn.004735e3
add esp, 0xc
push 0xd
lea eax, [ebp - 0x228]
push 0x4a3b30
push eax
call fcn.004735e3
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x432f58
push str.WinVerifyTrust
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [esi + 4], eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0046a7e5
mov esp, ebp
pop ebp
ret
Function at 0x43686c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x228], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x22c], eax
xor esi, esi
push edi
lea eax, [ebx - 0x834]
mov edi, 0x1300
cmp eax, 0x383
ja 0x436943
mov esi, 0x105
lea eax, [ebp - 0x210]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
test eax, eax
je 0x4369d6
cmp eax, esi
ja 0x4369d6
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x224]
call fcn.00438ae2
mov esi, 0x4a3e50
lea ecx, [ebp - 0x224]
push esi
call fcn.0043a452
cmp eax, 0x3e8
jne 0x436906
push esi
lea ecx, [ebp - 0x224]
call fcn.00439083
push str.netmsg.dll
lea ecx, [ebp - 0x224]
call fcn.00439083
push 2
push 0
lea ecx, [ebp - 0x224]
call fcn.0043fdec
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov esi, eax
lea ecx, [ebp - 0x224]
test esi, esi
mov eax, 0x1b00
cmovne edi, eax
call fcn.00438dea
push 0
push 0
lea eax, [ebp - 0x228]
push eax
push 0x400
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_FormatMessageW]
mov ecx, dword [ebp - 0x228]
mov edi, eax
test ecx, ecx
je 0x43699d
test edi, edi
je 0x4369b3
push 0xd
push ecx
call fcn.0046ce1b
pop ecx
pop ecx
test eax, eax
je 0x43697f
xor ecx, ecx
mov word [eax], cx
push 0xa
push dword [ebp - 0x228]
call fcn.0046ce1b
pop ecx
pop ecx
test eax, eax
je 0x436997
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 0x228]
test edi, edi
je 0x4369b3
push ecx
mov ecx, dword [ebp - 0x22c]
call fcn.00436e8f
mov ecx, dword [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.DLL_LocalFree]
test esi, esi
je 0x4369c5
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a7e5
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.GetSystemDirectory_failed_with_error__u
push 0
push str.ECResult::formatWin32Message__
push 2
call fcn.00404c99
add esp, 0x14
jmp 0x4369c5