joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413b69
Capabilities:
Get installed programs
Query or enumerate registry key

Disassembly:
push 0x240
mov eax, 0x451e4f
call fcn.0043bb27
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x248], ebx
xor esi, esi
inc esi
mov dword [ebp - 4], esi
lea edi, [ebp + 0xc]
call fcn.0040d408
mov ecx, dword [ebp - 0x22c]
push 0x45ae5c
call fcn.004014ea
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x248], esi
call fcn.004014ea
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x21c]
push eax
push 0x20019
push ebx
push dword [ebp - 0x230]
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp eax, ebx
jne 0x413d85
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x224]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x224], ebx
je 0x413d85
mov dword [ebp - 0x228], ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x228]
mov dword [ebp - 0x224], 0x104
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
mov dword [ebp - 0x23c], eax
jne 0x413d69
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x238]
call fcn.004014ea
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x220]
call fcn.0041596f
mov byte [ebp - 4], 4
lea eax, [ebp - 0x234]
push eax
push 0xf003f
push ebx
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call esi
cmp eax, ebx
jne 0x413d4b
push ecx
mov ecx, esp
mov dword [ebp - 0x244], esp
push str.DisplayName
call fcn.004014ea
mov byte [ebp - 4], 5
push dword [ebp - 0x234]
mov byte [ebp - 4], 4
lea edi, [ebp - 0x24c]
call fcn.00413ace
pop ecx
pop ecx
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x220]
call fcn.00401ac2
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.004102dc
lea edi, [ebp - 0x220]
call fcn.0040d408
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00404343
test eax, eax
jne 0x413d4b
push ecx
mov ecx, esp
mov dword [ebp - 0x244], esp
push str.UninstallString
call fcn.004014ea
mov byte [ebp - 4], 7
push dword [ebp - 0x234]
mov byte [ebp - 4], 4
lea edi, [ebp - 0x240]
call fcn.00413ace
pop ecx
pop ecx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x22c]
push eax
call fcn.00401aad
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.004102dc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x220]
call fcn.004102dc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x238]
call fcn.004102dc
inc dword [ebp - 0x228]
cmp dword [ebp - 0x23c], ebx
mov dword [ebp - 0x224], 0x104
je 0x413c1b
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.004102dc
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.004102dc
mov eax, dword [ebp - 0x22c]
call fcn.0043bbaa
ret
Function at 0x414277
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x46dd08]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
mov dword [ebp - 0x118], 0x114
call fcn.00436ad0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
jne 0x4142d0
cmp dword [ebp - 0x110], 3
jae 0x4142d6
cmp dword [ebp - 0x114], 5
ja 0x4142d6
xor eax, eax
jmp 0x4142d9
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435f5a
leave
ret

Function at 0x4142e5
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push 0x220
mov eax, 0x451144
call fcn.0043bb27
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], edi
xor esi, esi
inc esi
mov dword [ebp - 4], esi
mov ecx, ebx
call fcn.0041596f
mov dword [ebp - 0x228], esi
call fcn.004139ae
test al, al
je 0x41440a
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.00401ac2
push str.SOFTWAREMicrosoftWindowsCurrentVersion
lea ecx, [ebp - 0x224]
call fcn.004014ea
mov byte [ebp - 4], 2
mov dword [ebp - 0x220], edi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x21c]
push eax
push 0x20119
push edi
push dword [ebp - 0x224]
mov dword [ebp - 0x21c], edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x4143ea
lea ecx, [ebp - 0x220]
call fcn.004085ab
cmp eax, edi
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x220], ecx
jne 0x4143ea
push str.ProgramFilesDir
lea eax, [ebp - 0x220]
push eax
lea esi, [ebp - 0x21c]
lea edi, [ebp - 0x218]
mov dword [ebp - 0x21c], 0x104
call fcn.0040ee7d
test eax, eax
jne 0x4143ea
mov eax, edi
push eax
lea ecx, [ebp - 0x21c]
call fcn.004014ea
mov byte [ebp - 4], 4
push dword [eax]
push str._ProgramFiles_
push ebx
call fcn.00408216
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x21c]
call fcn.004102dc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.004085ab
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.004102dc
xor edi, edi
mov eax, dword [ebx]
cmp dword [eax - 0xc], edi
je 0x41441c
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41443e
mov esi, dword [ebp + 8]
mov eax, 0x3fff
push eax
push eax
mov ecx, ebx
call fcn.0040c4c7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.0040537f
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004102dc
mov eax, ebx
call fcn.0043bbaa
ret
Function at 0x414ac4
Capabilities:
Identify system language via api

Disassembly:
push 8
mov eax, 0x44fefb
call fcn.0043babe
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
push str.en_us
call fcn.00415c14
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 2
lea eax, [ebp - 0x10]
push eax
push 0x45f024
push 0x17
push edi
push 0x45a9ec
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jl 0x414b2e
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
push dword [ebp + 8]
mov ebx, eax
add esi, 0x34
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
push ebx
call dword [esi]
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x414b3e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
call fcn.0043bb96
ret

Function at 0x414b68
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0x64
mov eax, 0x4528b6
call fcn.0043babe
mov esi, ecx
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
xor ebx, ebx
cmp eax, ebx
jne 0x414b8b
mov eax, 0x80070057
jmp 0x414cc3
lea eax, [ebp - 0x14]
push eax
call fcn.004144af
pop ecx
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x14]
mov eax, dword [edi - 0xc]
cmp eax, ebx
mov byte [ebp - 0xd], bl
jne 0x414bcb
lea edi, [ebp - 0x1c]
mov byte [ebp - 0xd], 1
call fcn.004149b1
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x14]
call fcn.00401ac2
mov byte [ebp - 4], bl
mov ecx, edi
call fcn.004102dc
mov edi, dword [ebp - 0x14]
cmp dword [edi - 0xc], ebx
je 0x414c92
movzx ecx, byte [ebp - 0xd]
mov eax, dword [esi]
push ecx
push eax
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.00414a5b
mov byte [ebp - 4], 2
push 0x40
lea eax, [ebp - 0x6c]
push ebx
push eax
mov dword [ebp - 0x70], 0x44
call fcn.00436ad0
add esp, 0x1c
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x44], 1
mov word [ebp - 0x40], 3
call fcn.0041596f
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.004136c8
pop ecx
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040c44d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x414c5e
xor esi, esi
jmp 0x414c69
call fcn.00403049
mov esi, eax
cmp esi, ebx
jl 0x414c79
push dword [ebp - 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x2c]
call edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004102dc
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call fcn.004102dc
jmp 0x414cb5
mov esi, dword [esi]
push 3
push ebx
push ebx
push esi
push 0x45e188
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x414cae
xor esi, esi
jmp 0x414cb5
call fcn.00408c68
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004102dc
mov eax, esi
call fcn.0043bb96
ret
Function at 0x414cc9
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0x6c
mov eax, 0x451cad
call fcn.0043babe
mov edi, 0x472b60
mov edx, 0x45be74
mov ecx, edi
mov dword [ebp - 0x14], 0x80070057
call fcn.0040292b
test eax, eax
je 0x414ed6
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.004014ea
and dword [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
lea ebx, [ebp - 0x10]
call fcn.004142e5
pop ecx
mov dword [ebp - 4], 1
push 0x5c
mov esi, ebx
call fcn.0040838f
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call fcn.004084e4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
mov ecx, dword [ebp - 0x18]
sub eax, dword [ecx - 0xc]
mov ecx, ebx
dec eax
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004083b0
mov byte [ebp - 4], 3
call fcn.004081d2
push 0x22
mov ecx, ebx
call fcn.00403f45
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
je 0x414d6e
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00408681
mov edx, str.LaunchAs
mov ecx, edi
xor esi, esi
call fcn.0040292b
cmp eax, ebx
je 0x414dc9
push str.AsInvoker
push eax
call fcn.00436eb5
test eax, eax
pop ecx
pop ecx
jne 0x414dc9
inc esi
call fcn.00414277
test al, al
je 0x414dc9
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push dword [ebp - 0x20]
call fcn.004155d3
add esp, 0xc
cmp byte [ebp + 8], bl
mov dword [ebp - 0x14], eax
je 0x414dc0
mov ecx, dword [0x4729d8]
push ebx
call fcn.0042b089
cmp dword [ebp - 0x14], ebx
jge 0x414e9e
push 0x40
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x78], 0x44
call fcn.00436ad0
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.0041596f
mov byte [ebp - 4], 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004136c8
pop ecx
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
mov edi, eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0040c44d
push eax
neg esi
push ebx
sbb esi, esi
and esi, 0x1000000
push esi
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040c44d
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x414e43
mov dword [ebp - 0x14], ebx
jmp 0x414e4b
call fcn.00403049
mov dword [ebp - 0x14], eax
cmp byte [ebp + 8], bl
je 0x414e7d
mov ecx, dword [0x4729d8]
push ebx
call fcn.0042b089
push 0xea60
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
test eax, eax
jne 0x414e7d
push ebx
push 0x414b47
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_EnumThreadWindows]
cmp dword [ebp - 0x14], ebx
jl 0x414e92
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.004102dc
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0040537f
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.0040537f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004102dc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004102dc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004102dc
mov eax, dword [ebp - 0x14]
call fcn.0043bb96
ret
Function at 0x415e7e
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415e9a
and dword [esi], eax
and dword [esi + 4], eax
jmp 0x415f10
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
push eax
mov dword [ebp - 8], eax
call fcn.00424f0a
xor ebx, ebx
cmp eax, ebx
pop ecx
mov dword [ebp - 0xc], eax
jne 0x415ebd
mov dword [esi], ebx
jmp 0x415f0d
push eax
push dword [ebp - 8]
xor edi, edi
push dword [ebp - 0x10]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x415f02
and dword [ebp - 8], ebx
and dword [ebp - 4], ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x45b4b0
push dword [ebp - 0xc]
call sub.VERSION.dll_VerQueryValueW
cmp dword [ebp - 4], 0x34
jb 0x415f02
mov eax, dword [ebp - 8]
test eax, eax
je 0x415f02
mov ecx, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov ebx, ecx
push dword [ebp - 0xc]
call fcn.00424f05
pop ecx
mov dword [esi], edi
mov dword [esi + 4], ebx
pop edi
mov eax, esi
pop ebx
leave
ret
Function at 0x416ce0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
cmp byte [eax + 0x29], 0
je 0x416cfa
mov eax, 1
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push edi
xor edi, edi
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 8]
push edx
push edi
push 0x2001f
push edi
push edi
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call ebx
cmp eax, edi
jne 0x416d32
mov ecx, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 4], ecx
cmp eax, edi
push esi
mov esi, eax
jne 0x416e52
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.InstallerData
push ecx
mov dword [ebp - 0xc], edi
call ebx
test eax, eax
jne 0x416d67
mov edi, dword [ebp - 0xc]
test eax, eax
mov esi, eax
jne 0x416e47
lea edx, [ebp + 0xc]
push edx
call fcn.0040d491
push 0x7fff
lea eax, [ebp + 0xc]
push eax
call fcn.0040d459
test al, al
jne 0x416dba
lea ecx, [ebp + 0xc]
push ecx
call fcn.004027c3
test edi, edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x416da2
push edi
call esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x416dac
push eax
call esi
pop esi
pop edi
mov eax, 0x8007000e
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 8]
cmp byte [edx + 0x28], 0
jne 0x416e2c
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x10], 0x7fff
mov ecx, dword [ebp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push ecx
push 0
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x416e2c
mov edx, dword [ebp + 0xc]
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x416dd0
call fcn.00408c68
mov esi, eax
lea eax, [ebp + 0xc]
push eax
call fcn.004027c3
test edi, edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x416e17
push edi
call ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x416e69
push eax
call ebx
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
add ecx, 0x10
mov dword [ebp - 0x10], ecx
call fcn.00417780
test eax, eax
jne 0x416e77
lea ecx, [ebp + 0xc]
push ecx
call fcn.004027c3
test edi, edi
je 0x416e52
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.00408c68
mov esi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x416e69
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push ecx
mov ebx, eax
call fcn.00417930
cmp dword [ebx + 0xc], 0
mov dword [ebp + 8], eax
je 0x416eb3
mov esi, dword [ebx + 4]
test esi, esi
mov ebx, dword [ebx]
je 0x416ebb
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
push esi
push 1
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
jne 0x416ec5
cmp dword [ebp + 8], 0
jne 0x416e74
jmp 0x416e3e
push 0x80004005
call fcn.00401793
mov eax, esi
jmp 0x416dfa
Function at 0x418160
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 4]
push 0
push eax
push ecx
push 2
push 0
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
mov dword [esi + 8], eax
jne 0x41819a
call fcn.00403049
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
push 0
push ecx
mov dword [esi + 0x10], 0
mov edx, dword [esi + 0x10]
push edx
mov dword [esi + 4], ecx
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x14]
push ecx
push 4
push eax
mov dword [esi + 0x18], 4
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
test eax, eax
mov dword [esi], eax
jne 0x4181ee
call fcn.00403049
mov edx, dword [esi + 8]
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x418b80
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
mov ax, word [ebp + 0xc]
sub esp, 8
push esi
xor esi, esi
cmp ax, si
je 0x418ba4
cmp ax, 1
je 0x418ba4
mov eax, 0x80004001
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [0x47288c]
mov edx, dword [eax + 0xc]
push ebx
push edi
mov ecx, 0x47288c
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call edx
mov ebx, dword [ebp + 8]
mov edi, eax
add edi, 0x10
cmp dword [ebx + 0x44], esi
mov dword [ebp + 0x18], edi
je 0x418c89
mov edx, dword [ebx + 0x48]
xor eax, eax
cmp edx, esi
jbe 0x418bef
mov esi, dword [ebx + 0x40]
mov ecx, esi
lea ecx, [ecx]
cmp dword [ecx], 0
jne 0x418c02
add eax, 1
add ecx, 4
cmp eax, edx
jb 0x418be0
xor eax, eax
test eax, eax
mov esi, eax
je 0x418c68
test esi, esi
mov edx, esi
mov dword [ebp + 8], edx
jne 0x418c07
jmp 0x418c3e
mov eax, dword [esi + eax*4]
jmp 0x418bf1
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x418c3c
mov edi, dword [ebx + 0x48]
mov eax, dword [esi + 0xc]
xor edx, edx
div edi
add edx, 1
jmp 0x418c20
cmp edx, edi
jae 0x418c39
mov eax, dword [ebx + 0x40]
cmp dword [eax + edx*4], 0
lea eax, [eax + edx*4]
je 0x418c32
mov ecx, dword [eax]
add edx, 1
test ecx, ecx
je 0x418c20
mov edx, dword [ebp + 8]
mov esi, ecx
mov eax, dword [edx]
cmp dword [eax - 0xc], 0
je 0x418c61
mov ecx, dword [edx + 4]
cmp dword [ecx - 0xc], 0
je 0x418c61
push ecx
push eax
push str._s:__s_r_n
lea edi, [ebp + 0x18]
call fcn.00419d70
add esp, 0xc
test esi, esi
jne 0x418bf7
mov edi, dword [ebp + 0x18]
mov eax, dword [edi - 0xc]
test eax, eax
je 0x418c89
cmp dword [edi - 4], 1
mov dword [ebp - 4], eax
jle 0x418c86
mov ecx, eax
push ecx
lea ecx, [ebp + 0x18]
call fcn.00401825
mov edi, dword [ebp + 0x18]
mov dword [ebp - 8], edi
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 0x80]
push 0
push 0
push 0
push 0
push edx
push eax
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x418cbd
mov ecx, dword [ebx + 0x80]
push 0
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x418ceb
call fcn.00403049
mov esi, eax
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418ce0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x14
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418d07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x41cbe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [eax + 0x38], 0
mov dl, byte [eax + 0x34]
push ebx
push esi
mov dword [ebp - 4], 0
mov ebx, 1
jle 0x41cc2b
movzx esi, dl
push edi
nop
mov ecx, dword [eax + 0x260]
mov edi, ecx
shr edi, 0x18
shl ecx, 8
xor edi, esi
xor ecx, dword [edi*4 + 0x46c040]
mov dword [eax + 0x260], ecx
mov ecx, dword [ebp - 4]
add ecx, ebx
cmp ecx, dword [eax + 0x38]
mov dword [ebp - 4], ecx
jl 0x41cc00
pop edi
mov ecx, dword [eax + 0x34]
mov byte [eax + ecx + 0x58], bl
mov esi, dword [eax + 0x38]
mov ecx, esi
sub ecx, ebx
je 0x41ccb9
sub ecx, ebx
je 0x41cc9b
sub ecx, ebx
je 0x41cc8f
mov byte [esi + eax + 0x54], bl
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov dl, byte [eax + 0x38]
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
sub dl, 4
mov byte [esi + ecx], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e090
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x41e0a3
mov dword [edi], 0
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x41e20a
cmp dword [ebp + 0x10], 0
mov dword [esi + 0x13c4], 0
je 0x41e20a
mov ebx, dword [ebp + 0x14]
test ebx, ebx
jl 0x41e20a
cmp byte [esi + 0x1390], 0
jne 0x41e0f1
test edi, edi
je 0x41e0e0
mov dword [edi], 0xffffffff
pop edi
mov dword [esi + 0x13c4], 0xffffffff
pop esi
pop ebx
pop ebp
ret 0x10
mov eax, dword [esi]
push eax
call fcn.0043a617
add esp, 4
test eax, eax
je 0x41e11b
test edi, edi
je 0x41e10a
mov dword [edi], 0xfffffffa
pop edi
mov dword [esi + 0x13c4], 0xfffffffa
pop esi
pop ebx
pop ebp
ret 0x10
test ebx, ebx
jne 0x41e13a
test edi, edi
je 0x41e129
mov dword [edi], 0
pop edi
mov dword [esi + 0x13c4], 0
pop esi
pop ebx
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x10]
lea eax, [esi + 0x1394]
mov dword [esi + 0x1398], ebx
push 0
lea ebx, [esi + 4]
push eax
mov dword [eax], ecx
mov dword [esi + 0x13a8], 0x1388
mov dword [esi + 0x13a4], ebx
call fcn.0041d010
cmp eax, 1
jne 0x41e1d9
jmp 0x41e170
mov eax, dword [esi + 0x13a8]
cmp eax, 0x1388
jae 0x41e1a9
mov edx, dword [esi]
push edx
mov edi, 0x1388
sub edi, eax
push edi
push 1
push ebx
call fcn.0043a7a5
add esp, 0x10
cmp edi, eax
jne 0x41e1ec
mov eax, dword [esi]
push eax
call fcn.0043a617
add esp, 4
test eax, eax
jne 0x41e1ec
mov edi, dword [ebp + 8]
cmp dword [esi + 0x1398], 0
je 0x41e11f
push 0
lea eax, [esi + 0x1394]
mov dword [esi + 0x13a8], 0x1388
push eax
mov dword [esi + 0x13a4], ebx
call fcn.0041d010
cmp eax, 1
je 0x41e170
test edi, edi
je 0x41e1df
mov dword [edi], eax
pop edi
mov dword [esi + 0x13c4], eax
pop esi
pop ebx
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
test eax, eax
je 0x41e1f9
mov dword [eax], 0xfffffffa
pop edi
mov dword [esi + 0x13c4], 0xfffffffa
pop esi
pop ebx
pop ebp
ret 0x10
test edi, edi
je 0x41e214
mov dword [edi], 0xfffffffe
test esi, esi
je 0x41e222
mov dword [esi + 0x13c4], 0xfffffffe
pop edi
pop esi
pop ebx
pop ebp
ret 0x10