joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410c50
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x48b088]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x28c], eax
mov esi, edx
mov eax, dword [ebp + 0xc]
mov edx, 0x6ef06106
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x284], 0x6ea7a6d2
mov eax, dword [ebp - 0x284]
sub edx, eax
push edi
push 4
push ecx
mov ebx, dword [edx]
mov dword [ebp - 0x288], ecx
add ebx, 0x145050d4
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x410d34
push 0x100
lea eax, [ebp - 0x204]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x410e2d
lea eax, [ebx + ebx]
mov ecx, 0x4bc2088e
sub ecx, eax
lea eax, [ebp - 0x204]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410d06
test dx, dx
je 0x410d02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410d06
add eax, 4
add ecx, 4
test dx, dx
jne 0x410ce0
xor eax, eax
jmp 0x410d0b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x410e2d
push 0x100
lea eax, [ebp - 0x204]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x410e2d
lea esi, [ebp - 0x204]
lea edi, [ebx + ebx]
mov eax, 0x4bc21d3a
sub eax, edi
push eax
push esi
call fcn.00433fba
add esp, 8
test eax, eax
jne 0x410d65
mov eax, 0x4bc21d42
sub eax, edi
push eax
push esi
call fcn.00433fba
add esp, 8
test eax, eax
je 0x410e2d
mov ecx, esi
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410d70
sub ecx, edx
mov edx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x280]
call fcn.00410f20
add esp, 4
test eax, eax
je 0x410e2d
mov eax, dword [ebp - 0x288]
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x294], ecx
lea ecx, [ebp - 0x29c]
push ecx
push 0x404190
push eax
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x298], 0x410e40
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov edx, dword [ebp - 0x208]
xor edi, edi
xor esi, esi
test edx, edx
jle 0x410e2d
lea ecx, [ebp - 0x278]
mov eax, dword [ecx - 4]
and eax, 7
cmp al, 7
jne 0x410df7
mov eax, dword [ecx]
cmp eax, esi
jle 0x410df7
movzx edi, word [ecx - 8]
mov esi, eax
add ecx, 0xc
sub edx, 1
jne 0x410de1
test di, di
je 0x410e2d
mov eax, dword [ebp - 0x28c]
mov dword [eax], 0xa
mov eax, dword [ebp - 0x290]
mov word [eax], di
lea eax, [edx + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00431ac5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00431ac5
mov esp, ebp
pop ebp
ret
Function at 0x4139f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 0xb]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x413a61
cmp dword [ecx], edi
jne 0x413a59
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x413a69
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x413a69
cmp dword [ecx], edi
jne 0x413a6c
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x413a93
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0xc], 0
push edi
call fcn.00431ac0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x413b00
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp ebx, esi
jne 0x413b5b
mov ecx, esi
jmp 0x413b60
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x413b78
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x413b6f
mov eax, dword [eax]
jmp 0x413b53
mov ecx, dword [edi]
cmp ecx, dword [eax + 8]
jne 0x413b78
mov esi, eax
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x414010
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c820
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x48b088]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov edi, dword [ebp + 0xc]
mov esi, dword [ebx + 0xc]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
mov eax, dword [esi + ecx*8]
lea edx, [ecx*8]
mov dword [ebp + 0xc], edx
cmp eax, dword [ebx + 4]
jne 0x41409b
mov esi, dword [ebx + 4]
jmp 0x4140a1
mov esi, dword [esi + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x4140b3
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x4140fa
cmp esi, eax
jne 0x4140a7
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
cmp esi, eax
je 0x4140e3
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x41414a
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx + 4], edi
jmp 0x41416c
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x414124
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0xc], 0
push edi
call fcn.00431ac0
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x414152
mov dword [ecx], edi
jmp 0x41416c
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x41416c
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.004141c0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4167d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x48b088]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx + 4]
mov edx, dword [ebp + 8]
or eax, 0x2001f
push esi
push edi
push eax
push edx
push dword [ecx]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.00409cd0
mov esi, eax
test esi, esi
jne 0x4168c7
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x100
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x416899
lea esp, [esp]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.004167d0
mov esi, eax
test esi, esi
jne 0x4168c7
lea eax, [esp + 0x20]
mov dword [esp + 8], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
je 0x416860
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4168b0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
push dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 0
call fcn.004168f0
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4168d6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.00431ac5
mov esp, ebp
pop ebp
ret 4
Function at 0x4174e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ca66
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x48b088]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x41758c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x41758c
call fcn.00415b60
mov esi, eax
jmp 0x41767c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4175af
call fcn.00415b60
jmp 0x41766f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x4175cd
call fcn.00415b60
jmp 0x41766f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x4175ee
mov esi, 0x8007000e
jmp 0x417671
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00415b10
jmp 0x417618
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
jne 0x41762f
mov esi, 0x8007000e
jmp 0x417671
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x41764f
call fcn.00415b60
jmp 0x41766f
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00417380
mov esi, eax
test edi, edi
je 0x41767c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4176a0
lea ecx, [ebp - 0x418]
call fcn.00406770
jmp 0x4176a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00431ac5
mov esp, ebp
pop ebp
ret 0x10
Function at 0x423bb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x10
push 1
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x423c19
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x423c19
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push 0x483474
push eax
push ebx
call fcn.00423b10
add esp, 0x14
test eax, eax
je 0x423c13
mov eax, dword [ebp - 8]
test eax, eax
jne 0x423c1c
xor ecx, ecx
xor eax, eax
jmp 0x423c1f
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
test edx, edx
je 0x423c2b
mov dword [edx], eax
mov eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x425700
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44cc40
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x48b088]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
test eax, eax
jne 0x425746
xor al, al
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
xor ecx, ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x28]
push ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_LockFileEx]
test eax, eax
setne al
mov byte [ebp - 0x30], al
mov dword [ebp - 4], 0
test al, al
jne 0x425798
xor bl, bl
mov al, bl
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
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004069b0
add eax, 0x10
add esp, 4
mov dword [ebp + 8], eax
push 0xa
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00425680
mov esi, dword [ebp + 8]
cmp dword [esi - 4], 1
mov edi, dword [esi - 0xc]
jle 0x4257d5
push edi
lea ecx, [ebp + 8]
call fcn.00408360
mov esi, dword [ebp + 8]
xor eax, eax
test edi, edi
jle 0x4257e9
mov ecx, 0xdead
xor word [esi + eax*2], cx
inc eax
cmp eax, edi
jl 0x4257e0
mov eax, edi
cmp edi, 0xffffffff
jne 0x4257fc
push dword [esi - 8]
push esi
call fcn.00437710
add esp, 8
test eax, eax
js 0x4258a8
cmp eax, dword [esi - 8]
jg 0x4258a8
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea eax, [ebp - 0x10]
push 2
push eax
push ecx
push dword [ebx]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x425835
call fcn.00415b60
push 0
lea eax, [ebp + 8]
push eax
lea eax, [edi + edi]
push eax
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x425855
call fcn.00415b60
mov ebx, eax
jmp 0x425857
xor ebx, ebx
shr ebx, 0x1f
add esi, 0xfffffff0
xor bl, 1
mov byte [ebp - 4], 0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x425879
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x30], 0
je 0x425892
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_UnlockFileEx]
mov al, bl
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
push 0x80070057
call fcn.00408540
int3
Function at 0x4260c0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x4260e6
call fcn.00415b60
test eax, eax
js 0x4260f3
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
mov dword [ecx + 4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x4261f0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44cd3b
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x48b088]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
call fcn.0042a8c0
mov esi, eax
test esi, esi
je 0x426264
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426233
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [edi + 8]
call fcn.00406a20
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [edi + 8]
call fcn.00426970
push 0x110
lea eax, [ebp - 0x120]
mov dword [ebp - 0x124], 0x114
push 0
push eax
call fcn.00434d70
add esp, 0xc
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x4262c6
cmp dword [ebp - 0x12c], 0
mov esi, 0x461310
jne 0x4262cb
mov esi, 0x46131c
push 0xffffffffffffffff
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00428c50
mov ecx, dword [eax]
mov eax, dword [ebp - 0x128]
push 3
push 0x1000300
push esi
movzx eax, ax
push eax
push ecx
push dword [ebp - 0x118]
lea eax, [edi + 0xc]
mov dword [ebp - 4], 0
push dword [ebp - 0x11c]
push dword [ebp - 0x120]
push dword [0x48b088]
push dword [edi + 8]
push str._uniqueuserid_:__s___installersessionid_:__p___osversion_:__u._u._u_s___oslang_:__hu___cpu_:_s__version_:_d__insttype_:_d_
push eax
call fcn.00407490
mov edx, dword [ebp - 0x130]
add esp, 0x3c
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42634d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
lea eax, [edi + 0x10]
push str.debug__s
push eax
call fcn.00407490
add esp, 0xc
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.00431ac5
mov esp, ebp
pop ebp
ret 4
Function at 0x426380
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push 0
lea ebx, [esi + 0x100]
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x4263b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4263b2
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x426599
push dword [ebp + 0x20]
mov eax, dword [ebp + 8]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [eax + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
test eax, eax
jne 0x4263eb
call fcn.00415b60
test eax, eax
jns 0x4263ee
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov dword [esi + 4], eax
cmp dword [esi + 0x80], 0
je 0x426420
push 4
lea eax, [ebp + 8]
mov dword [ebp + 8], 2
push eax
push 2
push dword [esi + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x426420
call fcn.00415b60
test eax, eax
js 0x426599
push 0
push 0xffffffffffffffff
push 0x427fd0
push dword [esi + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp eax, 0xffffffff
jne 0x426444
call fcn.00415b60
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
push edi
mov ecx, esi
call fcn.004276c0
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov ebx, dword [ebp + 0x24]
ja 0x426588
jb 0x426469
cmp ebx, 0xffffffff
ja 0x426588
push ebx
call fcn.00437c31
add esp, 4
mov dword [esi + 0xd0], eax
test eax, eax
setne al
test al, al
je 0x426588
mov edi, dword [ebp + 0x28]
mov dword [esi + 0xd4], ebx
cmp dword [esi + 0xac], 0
je 0x42650a
cmp dword [esi + 0xb0], 8
lea eax, [esi + 0x9c]
jb 0x4264a8
mov eax, dword [eax]
push 0
push 0
push pe_nt_image_headers32
push 4
push edi
push 0x40000000
lea ecx, [esi + 0xd8]
push eax
call fcn.00425b00
mov edi, eax
test edi, edi
js 0x42658d
push 0
push dword [esi + 0x7c]
lea ecx, [esi + 0xd8]
push dword [esi + 0x78]
call fcn.004277b0
mov edi, eax
test edi, edi
js 0x42658d
push dword [esi + 0x7c]
lea ecx, [esi + 0xd8]
push dword [esi + 0x78]
call fcn.00427bf0
mov edi, eax
test edi, edi
js 0x42658d
mov edi, dword [ebp + 0x28]
cmp dword [esi + 0x94], 0
je 0x426572
push ebx
lea ecx, [esi + 0xe0]
call fcn.00425970
test al, al
je 0x426588
lea eax, [esi + 0x84]
mov dword [esi + 0xe4], ebx
cmp dword [eax + 0x14], 8
jb 0x426537
mov eax, dword [eax]
push 0
push 0
push pe_nt_image_headers32
push 3
push edi
push SysReAllocString
push eax
lea ecx, [esi + 0xe8]
call fcn.00425b00
mov edi, eax
test edi, edi
js 0x42658d
lea eax, [esi + 0xf0]
push eax
lea ecx, [esi + 0xe8]
call fcn.004260c0
mov edi, eax
test edi, edi
js 0x42658d
push dword [ebp - 4]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov edi, 0x8007000e
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x426ed0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
call fcn.004276c0
cmp dword [ebp + 8], 0
je 0x426f1e
push edi
lea edi, [esi + 0x100]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0xac], 0
je 0x426f16
add esi, 0x9c
cmp dword [esi + 0x14], 8
jb 0x426f06
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x426f16
call fcn.00415b60
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x14

Function at 0x426fb0
Capabilities:
Check http status code
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
mov esi, ecx
push 0
push 0x20000013
push dword [esi + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x426ff2
call fcn.00415b60
test eax, eax
js 0x427098
mov eax, dword [ebp - 4]
cmp eax, 0x197
jne 0x42700a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x191
jne 0x42701f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0xc8
je 0x427051
cmp eax, 0xce
je 0x427051
push 0x2f79
mov dword [esi + 0x11c], 1
mov dword [esi + 0x118], eax
call fcn.004169d0
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov dword [esi + 0x118], eax
mov ecx, esi
lea eax, [esi + 0x120]
mov dword [esi + 0x11c], 1
push eax
call fcn.00427630
push 0
push dword [esi + 0xd4]
push dword [esi + 0xd0]
push dword [esi + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x427096
call fcn.00415b60
pop esi
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10