joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55f920
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5d4050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.005528ff
mov dword [ebp - 0x14], eax
cmp dword [0x5e03e0], esi
jne 0x55fa13
push 0x800
push esi
push 0x5a8db0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x55f9a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x55faf3
push esi
push esi
push 0x5a8db0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x55faf3
push 0x5a8dc8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x55faf3
push eax
call ebx
push 0x5a8dd4
push edi
mov dword [0x5e03e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5a8de4
push edi
mov dword [0x5e03e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5a8df8
push edi
mov dword [0x5e03e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5e03f0], eax
test eax, eax
je 0x55fa10
push 0x5a8e14
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5e03ec], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x55fa38
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x55fa2b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x55fa4d
push 4
pop eax
jmp 0x55faf5
cmp dword [ebp - 0x14], esi
je 0x55fa4d
push dword [0x5e03e0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x55fa32
mov eax, dword [0x5e03ec]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x55faab
cmp dword [0x5e03f0], edi
je 0x55faab
push eax
call ebx
push dword [0x5e03f0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x55faab
test eax, eax
je 0x55faab
call ecx
test eax, eax
je 0x55faa0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x55faa0
test byte [ebp - 8], 1
jne 0x55faab
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x55fadb
mov eax, dword [0x5e03e4]
cmp eax, edi
je 0x55fad8
push eax
call ebx
test eax, eax
je 0x55fad8
call eax
mov esi, eax
test esi, esi
je 0x55fad8
mov eax, dword [0x5e03e8]
cmp eax, edi
je 0x55fad8
push eax
call ebx
test eax, eax
je 0x55fad8
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5e03e0]
call ebx
test eax, eax
je 0x55faf3
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x55faf5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00549fe1
mov esp, ebp
pop ebp
ret
Function at 0x401beb
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x403dc4
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x408018]
xor eax, esp
mov dword [esp + 0x31c], eax
push esi
push edi
mov eax, dword [0x408018]
xor eax, esp
push eax
lea eax, [esp + 0x330]
mov dword fs:[0], eax
lea eax, [esp + 0x114]
push eax
mov esi, ecx
mov edi, edx
call fcn.00402bbd
and dword [esp + 0x338], 0
push esi
lea eax, [esp + 0x118]
push eax
call fcn.00402bef
push edi
lea eax, [esp + 0x118]
push eax
call fcn.00402bef
mov ecx, dword [esp + 0x114]
call fcn.004019fd
push dword [esp + 0x114]
lea eax, [esp + 0x14]
call fcn.00402986
mov byte [esp + 0x338], 1
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
mov byte [esp + 0x338], 0
mov edi, dword [sym.imp.MSVCR80.dll_free]
lea eax, [esp + 0x14]
cmp dword [esp + 0x10], eax
je 0x401cac
push dword [esp + 0x10]
call edi
pop ecx
test esi, esi
je 0x401cf0
push dword [esp + 0x114]
lea esi, [esp + 0x14]
call fcn.004029cb
mov byte [esp + 0x338], 2
push dword [eax]
push str.Deleting__s_n
call dword [sym.imp.MSVCR80.dll_printf]
pop ecx
pop ecx
mov byte [esp + 0x338], 0
lea eax, [esp + 0x14]
cmp dword [esp + 0x10], eax
je 0x401cf0
push dword [esp + 0x10]
call edi
pop ecx
or dword [esp + 0x338], 0xffffffff
lea eax, [esp + 0x114]
push eax
call fcn.0040194d
mov ecx, dword [esp + 0x330]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x31c]
xor ecx, esp
call fcn.004030fc
mov esp, ebp
pop ebp
ret
Function at 0x4030fc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x408018]
jne 0x403106
repz ret
jmp fcn.00403579

Function at 0x8ccbba
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x8cc92e
add ebx, 1
call fcn.008ccbf9
push 0xa17a8523
pop ebx
and edi, ebx
xor dword [ecx], esi
sub ebx, 0x2703a2c
inc ecx
add edi, 0xa67a4d29
sub ebx, 0x5f2c5a74
cmp ecx, eax
jne fcn.008ccbba
mov ebx, 0x71f75873
ret
Function at 0x437a00
Capabilities:
Get hostname

Disassembly:
sub esp, 0x42c
mov eax, dword [0x43b004]
xor eax, esp
mov dword [esp + 0x428], eax
cmp edi, 0x182
jne 0x437a2b
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
jmp 0x437a5f
cmp edi, 0x19f
jne 0x437a5f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
push str.fihiresaduduvakuzafanenazewuduhe
push str.vabunayadedifecibu
push str.yosavagenisusoluselidesuli
push str.nibezitihomoyaradilocaxihenazigo
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push esi
xor esi, esi
test edi, edi
jle 0x437ad2
jmp 0x437a70
lea ecx, [esp + 8]
mov dword [esp + 4], 5
mov dword [esp + 8], 0
call fcn.004379f0
mov eax, dword [esp + 8]
add eax, 0x46
mov dword [esp + 4], eax
sub dword [esp + 4], 0x46
mov cl, byte [esp + 4]
xor byte [ebx + esi], cl
cmp edi, 0xf
jne 0x437acd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
inc esi
cmp esi, edi
jl 0x437a70
pop esi
cmp edi, 0x2d
jne 0x437aec
mov dword [0x515500], 0xa62e7790
mov dword [0x515504], 0xffffffff
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.00401000
add esp, 0x42c
ret
Function at 0x401131
Capabilities:
Encode data using xor

Disassembly:
push 4
mov eax, 0x52bc90
call fcn.004fc6ce
xor esi, esi
mov dword [ebp - 4], esi
push 0x53a3d8
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call fcn.004056ee
mov dword [ebp - 4], esi
mov eax, dword [edi]
cmp dword [eax - 0xc], esi
mov dword [ebp - 0x10], 1
jle 0x401185
movzx ecx, word [eax + esi*2]
lea eax, [esi + 0x78]
cdq
mov ebx, 0xff
idiv ebx
mov eax, dword [ebp + 8]
xor edx, ecx
push edx
call fcn.004046b3
mov eax, dword [edi]
inc esi
cmp esi, dword [eax - 0xc]
jl 0x401163
mov eax, dword [ebp + 8]
call fcn.004fc7a6
ret

Function at 0x40145e
Capabilities:
Encode data using xor

Disassembly:
push 0x20
mov eax, 0x526be8
call fcn.004fc6ce
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
mov eax, dword [0x590e04]
mov ecx, 0x590e04
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push ecx
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov eax, esp
mov dword [ebp - 0x18], esp
push str.EMail
push eax
lea esi, [ebp - 0x10]
call fcn.004056ee
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push str.Software360TotalSecurity360ConnectConnect
push eax
mov byte [ebp - 4], 2
call fcn.004056ee
push SysReAllocString
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.0040499a
push eax
mov byte [ebp - 4], 3
call fcn.00404869
pop ecx
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00401105
mov esi, dword [ebp + 8]
call fcn.004048e0
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], edi
mov dword [ebp - 0x14], ebx
jle 0x401508
movzx eax, word [esi + edi*2]
xor eax, 0x4d2
push eax
mov eax, dword [ebp + 8]
call fcn.004046b3
inc edi
cmp edi, dword [esi - 0xc]
jl 0x4014f0
lea eax, [esi - 0x10]
call fcn.00405521
mov eax, dword [ebp + 8]
call fcn.004fc7a6
ret

Function at 0x404523
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x585698]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x214], 0x208
mov dword [ebp - 0x210], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4045d6
mov edx, dword [ebp - 0x214]
shr edx, 1
dec edx
cmp edx, 0x104
jae 0x4045d6
lea eax, [edx + edx]
lea ecx, [ebp + eax - 0x20c]
cmp word [ecx], 0x5c
je 0x4045ce
cmp edx, 0x103
jae 0x4045d6
push 0x5c
pop edx
mov word [ecx], dx
xor ecx, ecx
mov word [ebp + eax - 0x20a], cx
lea eax, [ebp - 0x20c]
jmp 0x4045db
mov eax, 0x53a3d8
push eax
push edi
call fcn.004056ee
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.004f189b
leave
ret
Function at 0x404811
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
mov esi, eax
mov eax, dword [esi + 4]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [esi + 0xc]
or ecx, 1
push ecx
push 0
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404864
push dword [ebp + 0x10]
mov esi, dword [esi + 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x404866
xor eax, eax
pop esi
leave
ret

Function at 0x4048f5
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
mov esi, eax
mov eax, dword [esi + 4]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [esi + 0xc]
or ecx, 2
push ecx
push 0
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40493d
push dword [esi + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x40493f
xor eax, eax
pop esi
leave
ret

Function at 0x404a1f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
push edi
mov esi, eax
mov eax, dword [esi + 4]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [esi + 0xc]
push edi
or ecx, 0x20006
push ecx
push edi
push edi
push edi
push eax
push dword [esi]
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x404a7a
push dword [ebp + 0x10]
mov esi, dword [esi + 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x404a7c
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x4053b7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40540e
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x405400
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x4053fc
cmp edi, eax
jae 0x405400
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x4053ee
cmp edi, eax
jb 0x405404
xor eax, eax
jmp 0x40540d
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x4058e1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405957
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push str.Path
push dword [ebp - 4]
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.004f192a
pop ecx
test eax, eax
je 0x405959
lea ecx, [esi + eax*2]
cmp word [ecx - 2], 0x5c
je 0x405959
push 0x5c
pop edx
mov word [ecx], dx
leave
ret
xor eax, eax
leave
ret

Function at 0x405ac9
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x585698]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x587334]
test eax, eax
jl 0x405af3
xor ecx, ecx
test eax, eax
setne cl
mov al, cl
jmp 0x405b97
and dword [0x587334], 0
push esi
push 0x24
lea eax, [ebp - 0x144]
push 0
push eax
call fcn.004f18b0
mov esi, 0x11c
push esi
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004f18b0
add esp, 0x18
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x405b52
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call esi
test eax, eax
je 0x405b94
push 0x53bc60
push 0x53bc74
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x405b94
lea ecx, [ebp - 0x144]
push ecx
call eax
cmp word [ebp - 0x144], 9
je 0x405b8a
cmp word [ebp - 0x144], 6
jne 0x405b94
xor eax, eax
inc eax
mov dword [0x587334], eax
jmp 0x405b96
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f189b
leave
ret
Function at 0x406174
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x585698]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x90]
push eax
push edi
mov byte [ebp - 0x85], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x4061b2
xor al, al
jmp 0x406268
push ebx
push esi
call fcn.004f4fb6
pop ecx
mov ebx, eax
push ebx
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40625a
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x98]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40625a
cmp dword [ebp - 0x8c], 0
je 0x40625a
mov eax, dword [ebp - 0x98]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push str.StringFileInfo_04x_04xFileDescription
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.0042a55b
add esp, 0x14
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x84]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40625a
push dword [ebp - 0x94]
mov edx, dword [ebp - 0x8c]
push dword [ebp + 0xc]
call fcn.0042a4a0
test eax, eax
jl 0x40625a
mov byte [ebp - 0x85], 1
push ebx
call fcn.004f29a6
mov al, byte [ebp - 0x85]
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004f189b
leave
ret

Function at 0x406bce
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
xor ecx, ecx
push str.DefaultScope
push str.SOFTWAREMicrosoftInternet_ExplorerSearchScopes
push dword [esi]
call fcn.0042a410
add esp, 0x10
test al, al
jne 0x406bf2
xor al, al
jmp 0x406c0a
push str.SOFTWAREMicrosoftInternet_ExplorerUser_Preferences
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x406c08
cmp eax, 2
jne 0x406bee
mov al, 1
pop ebp
ret 4

Function at 0x406e13
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push str.DefaultScope
push str.SOFTWAREMicrosoftInternet_ExplorerSearchScopes
push esi
mov ecx, pe_nt_image_headers32
call fcn.0042a410
add esp, 0x10
test al, al
jne 0x406e3f
xor al, al
jmp 0x406e56
push str.SOFTWAREMicrosoftInternet_ExplorerUser_Preferences
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x406e54
cmp eax, 2
jne 0x406e3b
mov al, 1
pop esi
pop ebp
ret

Function at 0x406e59
Capabilities:
Create thread

Disassembly:
push ebx
xor ebx, ebx
push edi
cmp dword [esi + 8], ebx
jne 0x406ea6
lea edi, [esi + 0xc]
cmp dword [edi], ebx
jne 0x406ea6
cmp dword [esi], ebx
je 0x406ea6
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
je 0x406ea6
cmp eax, ebx
je 0x406ea6
mov eax, dword [esi + 0x14]
cmp eax, 0xffffffff
je 0x406ea6
cmp eax, ebx
je 0x406ea6
push edi
push ebx
push esi
push 0x406eab
push ebx
push ebx
call fcn.004f5629
add esp, 0x18
mov dword [esi + 8], eax
cmp eax, ebx
je 0x406ea6
cmp dword [edi], ebx
je 0x406ea6
mov al, 1
jmp 0x406ea8
xor al, al
pop edi
pop ebx
ret
Function at 0x409d88
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
cmp ecx, ebx
je 0x409df7
cmp eax, ebx
je 0x409df7
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0xc], ebx
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push 4
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x10], ecx
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
je 0x409df7
mov eax, dword [ebp - 0xc]
cmp eax, dword [esi + 4]
je 0x409dfe
mov eax, esi
call fcn.00409b99
test al, al
je 0x409de2
push dword [esi]
call fcn.004f2b13
pop ecx
mov dword [esi], ebx
mov edi, dword [ebp - 0xc]
call fcn.0040de3a
test al, al
jne 0x409dfe
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [esi]
call fcn.004f4830
add esp, 0xc
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
jmp 0x409df9

Function at 0x409e1b
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
cmp ecx, ebx
je 0x409e89
cmp eax, ebx
je 0x409e89
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0xc], ebx
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x10], ecx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x409e89
mov eax, dword [ebp - 0xc]
cmp eax, dword [esi + 4]
je 0x409e90
mov eax, esi
call fcn.00409b99
test al, al
je 0x409e74
push dword [esi]
call fcn.004f2b13
pop ecx
mov dword [esi], ebx
mov edi, dword [ebp - 0xc]
call fcn.0040de3a
test al, al
jne 0x409e90
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [esi]
call fcn.004f4830
add esp, 0xc
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
jmp 0x409e8b
Function at 0x409f44
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push 0x420
mov eax, 0x521419
call fcn.004fc76d
mov eax, dword [ebp + 8]
xor ebx, ebx
push eax
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x41c], 0x1388
mov dword [ebp - 4], ebx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
push ebx
push ebx
push ebx
push ebx
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__SV1_
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x418], eax
cmp eax, ebx
jne 0x409fa4
call dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
xor eax, eax
inc eax
call fcn.004fc7c9
ret
call esi
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea eax, [ebp - 0x41c]
push eax
push 2
push dword [ebp - 0x418]
call edi
push 4
lea eax, [ebp - 0x41c]
push eax
push 5
push dword [ebp - 0x418]
call edi
push 4
lea eax, [ebp - 0x41c]
push eax
push 6
push dword [ebp - 0x418]
call edi
push 4
lea eax, [ebp - 0x41c]
push eax
push 8
push dword [ebp - 0x418]
call edi
call esi
push ebx
push 0x80080000
push ebx
push ebx
push dword [ebp - 0x420]
push dword [ebp - 0x418]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
cmp edi, ebx
jne 0x40a033
call dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push dword [ebp - 0x418]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x409f9b
call esi
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x42c], 4
call esi
push ebx
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x428]
push eax
push 0x20000013
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
call esi
mov eax, dword [ebp - 0x428]
add eax, 0xffffff38
mov dword [ebp - 0x420], ebx
cmp eax, 0x63
ja 0x40a0f4
push 0x3ff
lea eax, [ebp - 0x413]
push ebx
push eax
mov byte [ebp - 0x414], bl
call fcn.004f18b0
add esp, 0xc
mov dword [ebp - 0x424], ebx
mov esi, 0x400
push esi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0x424]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x40a0f4
xor eax, eax
cmp eax, ebx
je 0x40a0f4
cmp dword [ebp - 0x424], ebx
je 0x40a0f4
lea ecx, [ebp - 0x414]
push ecx
push eax
call fcn.0042911c
cmp dword [ebp - 0x424], ebx
jne 0x40a0a0
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x418]
call esi
cmp dword [ebp - 0x420], ebx
je 0x409f9b
xor eax, eax
jmp 0x409f9e