joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425930
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5797a9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x5f6998]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 1
push str.lang_
lea eax, [ebp - 0x10]
push 0x5fc3cc
push eax
call fcn.00406860
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x425997
mov edx, dword [ebp - 0x10]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x58df78
lea ecx, [ebp - 0x14]
call fcn.00403d90
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx - 0xc]
test eax, eax
js 0x425a2f
push str.mts_lang_
push ecx
call fcn.00542363
mov ecx, dword [ebp + 0xc]
add esp, 8
test eax, eax
je 0x425a2f
sub eax, ecx
sar eax, 1
js 0x425a2f
push 5
add eax, 9
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 0xc]
call fcn.00402650
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x14]
call fcn.00403340
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425a0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.004066d0
push 0x58f1f8
lea ecx, [ebp - 0x10]
call fcn.0041ab90
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.004066d0
push 4
push str..xml
lea ecx, [ebp - 0x10]
call fcn.004066d0
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push ecx
mov ecx, esi
call fcn.00568ba9
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x425a85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425aa8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425ace
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x427b60
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579c83
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5f6998]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x7c
call fcn.0043f938
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x427bad
mov ecx, eax
call fcn.00408b50
mov esi, eax
jmp 0x427baf
xor esi, esi
mov byte [ebp - 4], bl
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0x20]
push esi
push eax
call fcn.0048e8aa
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.00568858
push ebx
lea ecx, [esi + 4]
push 0x58df78
call fcn.00402a10
push ebx
lea ecx, [esi + 8]
push 0x58df78
call fcn.00402a10
push ebx
lea ecx, [esi + 0xc]
push 0x58df78
call fcn.00402a10
push ebx
lea ecx, [esi + 0x10]
push 0x58df78
call fcn.00402a10
push ebx
lea ecx, [esi + 0x14]
push 0x58df78
call fcn.00402a10
push ebx
lea ecx, [esi + 0x18]
push 0x58df78
call fcn.00402a10
push ebx
lea ecx, [esi + 0x1c]
push 0x58df78
call fcn.00402a10
mov dword [esi + 0x20], ebx
mov ecx, dword [edi + 8]
push ebx
mov dword [esi + 0x2c], ecx
lea ecx, [esi + 0x24]
push 0x58df78
mov dword [esi + 0x28], ebx
call fcn.00402a10
push ebx
lea ecx, [esi + 0x38]
push 0x58df78
call fcn.00402a10
push ebx
lea ecx, [esi + 0x34]
push 0x58df78
call fcn.00402a10
push ebx
lea ecx, [esi + 0x30]
push 0x58df78
call fcn.00402a10
push ebx
lea ecx, [esi + 0x74]
push 0x58df78
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x70], ebx
call fcn.00402a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00567cb8
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 4
Function at 0x427cc0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579cab
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5f6998]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
jne 0x427d06
xor eax, eax
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 0x7c
call fcn.0043f938
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x427d23
mov ecx, eax
call fcn.00408b50
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 0x3c]
lea ecx, [ebx + 0x34]
push esi
push eax
call fcn.0048e8aa
push edi
mov ecx, esi
call fcn.00568858
lea ecx, [edi + 4]
push ecx
lea ecx, [esi + 4]
call fcn.00403340
lea edx, [edi + 8]
push edx
lea ecx, [esi + 8]
call fcn.00403340
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00403340
lea ecx, [edi + 0x10]
push ecx
lea ecx, [esi + 0x10]
call fcn.00403340
lea edx, [edi + 0x14]
push edx
lea ecx, [esi + 0x14]
call fcn.00403340
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
call fcn.00403340
lea ecx, [edi + 0x1c]
push ecx
lea ecx, [esi + 0x1c]
call fcn.00403340
mov edx, dword [edi + 0x20]
lea eax, [edi + 0x24]
push eax
lea ecx, [esi + 0x24]
mov dword [esi + 0x20], edx
call fcn.00403340
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [ebx + 8]
lea eax, [edi + 0x38]
push eax
lea ecx, [esi + 0x38]
mov dword [esi + 0x2c], edx
call fcn.00403340
lea ecx, [edi + 0x30]
push ecx
lea ecx, [esi + 0x30]
call fcn.00403340
lea edx, [edi + 0x34]
push edx
lea ecx, [esi + 0x34]
call fcn.00403340
add edi, 0x4c
push edi
lea ecx, [esi + 0x4c]
call fcn.00403340
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 4
Function at 0x428a20
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579fbd
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x5f6998]
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
push ecx
mov dword [ebp - 0x248], esp
mov ecx, esp
or ebx, 0xffffffff
push ebx
push str.InstallAppName
call fcn.00568ba9
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x24c], esp
mov ecx, esp
push ebx
push str.SOFTWAREFoxit_SoftwareFoxit_Reader
call fcn.00568ba9
mov byte [ebp - 4], 1
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x244]
push eax
mov dword [ebp - 4], ebx
call fcn.004330a0
add esp, 0x10
mov dword [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x428aad
add eax, 0xc
jmp 0x428ab2
mov eax, 0x58df78
push eax
lea ecx, [ebp - 0x240]
call fcn.00403d90
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x244]
call fcn.00567cb8
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [ebp - 0x23c]
mov esi, eax
push ecx
mov edi, 0x22c
push esi
mov dword [ebp - 0x23c], edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x428b1d
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x428b16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x428bcc
lea ecx, [ebp - 0x23c]
push ecx
push esi
mov dword [ebp - 0x23c], edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x428b71
jmp 0x428b40
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x218]
push edx
push eax
call fcn.005430ac
add esp, 8
test eax, eax
je 0x428b9e
lea ecx, [ebp - 0x23c]
push ecx
push esi
mov dword [ebp - 0x23c], edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x428b40
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x428b16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x428bcc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x428bc7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
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.00542c3e
mov esp, ebp
pop ebp
ret
Function at 0x432120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x5f6998]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
push esi
lea eax, [ebp - 0x404]
push eax
push ecx
xor esi, esi
call fcn.00432090
mov ecx, dword [ebp + 0xc]
add esp, 8
test ecx, ecx
je 0x43216d
mov eax, dword [ebp + 8]
push edi
movzx edi, byte [eax]
mov edx, esi
shr edx, 0x18
xor edx, edi
shl esi, 8
xor esi, dword [ebp + edx*4 - 0x404]
inc eax
dec ecx
jne 0x432154
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00542c3e
mov esp, ebp
pop ebp
ret
Function at 0x4330a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57bbc2
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x5f6998]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x118], 0
mov dword [ebp - 4], 2
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4330f6
add eax, 0xc
jmp 0x4330fb
mov eax, 0x58df78
lea edx, [ebp - 0x124]
push edx
mov ebx, 1
push ebx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x433172
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x120], 0x104
test eax, eax
je 0x433132
add eax, 0xc
jmp 0x433137
mov eax, 0x58df78
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x114]
push edx
mov edx, dword [ebp - 0x124]
lea ecx, [ebp - 0x11c]
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x433172
push 0xffffffffffffffff
lea eax, [ebp - 0x114]
push eax
mov ecx, esi
call fcn.00568ba9
jmp 0x433180
push 0xffffffffffffffff
push 0x58df78
mov ecx, esi
call fcn.00568ba9
mov dword [ebp - 0x118], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x10]
call fcn.00567cb8
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00567cb8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00542c3e
mov esp, ebp
pop ebp
ret

Function at 0x4331c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
lea eax, [ebp - 4]
push eax
push 0
push 2
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4331ec
xor eax, eax
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x14]
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4331f5
mov ecx, dword [ebp + 0x10]
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
mov edx, dword [ebp - 4]
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4337c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57bcb8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x5f6998]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x9c], 0
jne 0x433880
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
push 0x104
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00568de3
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.005690f3
push 0x59324c
lea ecx, [ebp - 0x10]
call fcn.00569801
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43383e
add eax, 0xc
jmp 0x433843
mov eax, 0x58df78
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x43386a
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorW]
test eax, eax
je 0x43386a
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebx + 0x9c], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00567cb8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4338a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5f6998]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push ecx
push eax
mov dword [ebp - 0x114], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x43393e
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x114]
push edx
push edi
push edi
push eax
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x108]
mov edx, esi
mov ecx, eax
sub edx, ecx
jmp 0x433920
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x433920
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00542c3e
mov esp, ebp
pop ebp
ret
Function at 0x434cb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c0e9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5f6998]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 2
mov esi, dword [ebp + 8]
push 0x58e1fe
mov ecx, esi
call fcn.00403900
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
push 1
push ebx
push ecx
push edx
mov dword [ebp - 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x434d90
mov edx, dword [ebp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x10]
push ebx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push edx
push eax
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x14], 4
call edi
test eax, eax
jne 0x434d86
mov ecx, dword [ebp + 0xc]
inc ecx
push ecx
call fcn.0043f972
mov edx, dword [ebp + 0xc]
inc edx
push edx
mov esi, eax
push ebx
push esi
call fcn.00542dc0
mov edx, dword [ebp + 0x14]
add esp, 0x10
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x10]
push esi
lea ecx, [ebp - 0x14]
push ecx
push ebx
push edx
push eax
call edi
test eax, eax
jne 0x434d7a
mov ecx, dword [ebp + 8]
push esi
call fcn.004027f0
push esi
call fcn.0043f967
mov esi, dword [ebp + 8]
add esp, 4
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x434db3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434dd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x10
Function at 0x437b30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c8c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x5f6998]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00440a7e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x437b70
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x437baa
push 0x104
lea ecx, [ebp - 0x14]
call fcn.004019c0
mov esi, dword [ebp - 0x14]
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00542f68
add esp, 8
test eax, eax
js 0x437c85
cmp eax, dword [esi - 8]
jg 0x437c85
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov dword [ebp - 0x10], ecx
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], 1
call fcn.00403d90
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
push edx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x437c25
mov edx, dword [ebp - 0x10]
push 4
lea ecx, [ebp - 0x1c]
push ecx
push 4
push eax
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437c52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437c75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401090
int3
Function at 0x43bf80
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push 0
push 0x58df78
push 0x58df78
push 0
push eax
mov esi, ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0x30d74], eax
test eax, eax
jne 0x43bfbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x30d80], eax
xor eax, eax
pop esi
pop ebp
ret 0x14
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push 0
push 0x4400000
push 3
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 0x30d78], eax
test eax, eax
jne 0x43c005
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x30d80], eax
mov eax, dword [esi + 0x30d74]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
pop ebp
ret 0x14
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
je 0x43c03e
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x30d78]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov dword [esi + 0x30d80], eax
call edi
mov edx, dword [esi + 0x30d74]
push edx
call edi
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x14
mov eax, 1
pop esi
pop ebp
ret 0x14

Function at 0x43c140
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x30d7c], 0
jne 0x43c162
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x30d80], eax
xor eax, eax
pop esi
pop ebp
ret 8
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push 0
push ebx
call fcn.00542dc0
mov eax, dword [esi + 0x30d7c]
add esp, 0xc
push 0x5fc948
push edi
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
pop edi
pop ebx
test eax, eax
je 0x43c14f
mov eax, dword [0x5fc948]
pop esi
pop ebp
ret 8
Function at 0x43c2f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, ebx
push esi
mov dword [ebp - 4], 0x400
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43c305
sub eax, edx
sar eax, 1
mov esi, eax
je 0x43c33b
push edi
lea edi, [ebx + esi*2]
lea esp, [esp]
push 1
push 0x5913dc
push edi
call fcn.005467a4
add esp, 0xc
test eax, eax
je 0x43c33a
sub edi, 2
dec esi
jne 0x43c320
pop edi
lea eax, [ebp + 8]
push eax
push 1
push 0
lea ecx, [ebx + esi*2]
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop esi
pop ebx
test eax, eax
jne 0x43c39f
lea edx, [ebp - 4]
push edx
push 0x5fc950
push eax
push eax
mov eax, dword [ebp + 8]
push str.Content_Type
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43c38a
push 0x18
push str.application_octet_stream
push 0x5fc950
call fcn.0054334c
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x5fc950
mov esp, ebp
pop ebp
ret 4
push 0x18
push str.application_octet_stream
push 0x5fc950
call fcn.0054334c
add esp, 0xc
mov eax, 0x5fc950
mov esp, ebp
pop ebp
ret 4

Function at 0x43c6f0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ecx + 4]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
cmp ebx, dword [ecx + 8]
jae 0x43c75d
push esi
mov eax, dword [ebx + 0xa00]
dec eax
je 0x43c74b
dec eax
jne 0x43c751
push eax
push 0x80
push 3
push eax
push 1
push SysReAllocStringLen
lea eax, [ebx + 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
lea edi, [edi + eax + 0x1800]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
jmp 0x43c751
add edi, 0x2000
add ebx, 0xa04
cmp ebx, dword [ecx + 8]
jb 0x43c704
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret