joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f1d2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [esi + 0x2c]
push edi
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea ecx, [ebx + ecx - 0x106]
mov dword [ebp - 8], edi
cmp eax, ecx
jb 0x46f25f
mov eax, dword [esi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.004f6750
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x44]
sub dword [esi + 0x70], ebx
sub dword [esi + 0x6c], ebx
add esp, 0xc
sub dword [esi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x46f21f
mov eax, dword [esi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x46f241
add edi, ebx
mov dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x46f31a
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
cmp ecx, edx
jbe 0x46f287
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
test edx, edx
jne 0x46f292
xor eax, eax
jmp 0x46f2db
sub ecx, edx
mov dword [edi + 4], ecx
mov ecx, dword [edi + 0x1c]
mov ecx, dword [ecx + 0x18]
cmp ecx, 1
jne 0x46f2af
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
push edx
call fcn.004723a3
jmp 0x46f2bf
cmp ecx, 2
jne 0x46f2c5
push edx
push dword [edi + 0x30]
mov edx, dword [edi]
call fcn.0046e335
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xc]
push dword [ebp - 4]
push dword [edi]
push eax
call fcn.004f6750
mov eax, dword [ebp - 4]
add dword [edi], eax
add esp, 0xc
add dword [edi + 8], eax
add dword [esi + 0x74], eax
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x46f306
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x46f31a
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x46f1dd
pop edi
pop ebx
leave
ret
Function at 0x4729f3
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
push esi
call fcn.0042a585
test eax, eax
mov eax, dword [esi]
mov ecx, esi
je 0x472a0f
call dword [eax + 0xac]
xor eax, eax
inc eax
pop esi
ret
call dword [eax + 0x38]
mov ecx, esi
pop esi
jmp method.CIQDownloader.virtual_52
push 0xc
mov eax, 0x523340
call fcn.004fa4d4
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x24], edi
je 0x48a8e5
push 1
push 0x20
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.CCoreThread::StartThread
call fcn.00401769
mov dword [ebp - 4], edi
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.Thread_is_not_NULL_
call fcn.00401769
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.nullthread
call fcn.00401769
mov byte [ebp - 4], 2
mov eax, dword [esi]
push 1
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call dword [eax + 0x14]
xor eax, eax
jmp 0x48a9ab
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.Starting_thread...
call fcn.00401769
mov dword [ebp - 4], 3
push 4
pop ebx
push ebx
or dword [ebp - 4], 0xffffffff
call fcn.0041485d
push edi
push ebx
push edi
push edi
push esi
push 0x48aa28
mov dword [esi + 0x28], edi
call fcn.004dd93c
mov dword [esi + 0x24], eax
cmp eax, edi
jne 0x48a978
push 1
push 0x2d
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.CCoreThread::StartThread
call fcn.00401769
mov dword [ebp - 4], ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.AfxStartThread_failed_
call fcn.00401769
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.beginthreadfailed
call fcn.00401769
mov byte [ebp - 4], 6
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call dword [edi + 0x14]
jmp 0x48a8de
mov dword [eax + 0x28], edi
mov esi, dword [esi + 0x24]
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.Thread_started.
call fcn.00401769
mov dword [ebp - 4], 7
push ebx
or dword [ebp - 4], 0xffffffff
call fcn.0041485d
xor eax, eax
inc eax
call fcn.004fa5ac
ret
Function at 0x47cf1e
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push 8
mov eax, 0x523767
call fcn.004fa4d4
mov eax, dword [ebp + 8]
push dword [eax + 0x2c]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x47cf99
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x47cf95
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.CIQDaemonProcess::IsRunning
call fcn.00401769
and dword [ebp - 4], 0
push 0x5d
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.d:_tfs.vs2k8.win7InstallerMAINInstaller.CommonInstaller.Common.UtilIQDaemonProcess.h
call fcn.00401769
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.OpenMutex_failed_
call fcn.00401769
mov byte [ebp - 4], 2
call esi
push eax
or dword [ebp - 4], 0xffffffff
call fcn.00411585
xor eax, eax
jmp 0x47cfa3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
call fcn.004fa5ac
ret 4
Function at 0x47fb2e
Capabilities:
Inspect section memory permissions

Disassembly:
push 0x5c
mov eax, 0x51a86a
call fcn.004fa4d4
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
xor edi, edi
mov ebx, str.DxPresent
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x60], str.DxVersionSatisfy
mov dword [ebp - 0x5c], 2
mov dword [ebp - 0x58], str.DxUseHardware
mov dword [ebp - 0x54], 4
mov dword [ebp - 0x50], str.DxMaxTextureHeight
mov dword [ebp - 0x4c], 8
mov dword [ebp - 0x48], str.DxMaxTextureWidth
mov dword [ebp - 0x44], 0x10
mov dword [ebp - 0x40], str.DxMaxNumBlendingStages
mov dword [ebp - 0x3c], 0x20
mov dword [ebp - 0x38], str.Stencil16
mov dword [ebp - 0x34], 0x20000000
mov dword [ebp - 0x30], str.Stencil32
mov dword [ebp - 0x2c], 0x40000000
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x18], edi
call fcn.0047e270
mov dword [ebp - 4], edi
lea eax, [ebp - 0x18]
push eax
mov esi, 0x543c4c
push esi
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.00407f01
mov byte [ebp - 4], 1
jmp 0x47fca1
and dword [ebp - 0x10], 0
mov eax, ebx
push eax
lea ecx, [ebp + 0xc]
call fcn.0040412c
test eax, eax
je 0x47fc70
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*8 - 0x68]
test eax, eax
jne 0x47fbea
push 1
push 0x220
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.CIQXmlRequirements::ParseExecuteResult
call fcn.00401769
mov byte [ebp - 4], 2
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
lea ecx, [ebp + 0xc]
push ecx
push str.Invalid_flag_in_ExecuteResult:
push eax
call fcn.00404236
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
add eax, 0x10
push 1
mov byte [ebp - 4], 1
call dword [eax]
xor edi, edi
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401898
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401898
mov eax, edi
call fcn.004fa5ac
ret 8
mov eax, dword [ebp - 0x10]
or edi, dword [ebp + eax*8 - 0x64]
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00407f01
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp + 0xc]
call fcn.004044ef
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00401898
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
jne 0x47fbe4
jmp 0x47fc4e
Function at 0x47fef8
Capabilities:
Persist via run registry key

Disassembly:
push 0x3c
mov eax, 0x52dd02
call fcn.004fa4d4
push 1
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
call fcn.00401769
and dword [ebp - 4], 0
push SysReAllocStringLen
lea eax, [ebp - 0x48]
push eax
or dword [ebp - 4], 0xffffffff
call fcn.00420fbf
mov dword [ebp - 4], 1
lea esi, [ebp - 0x14]
call fcn.00413a61
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x10]
push 0x53e744
push eax
call fcn.00404236
mov byte [ebp - 4], 3
add esp, 8
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.___runonce
push eax
push ecx
call fcn.004041d2
mov byte [ebp - 4], 4
add esp, 8
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.InstallIQ
call fcn.00401769
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.0042235b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00401898
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00401898
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004210b8
call fcn.004fa5ac
ret

Function at 0x47ffb7
Capabilities:
Persist via run registry key

Disassembly:
push 0x30
mov eax, 0x52dcb7
call fcn.004fa4d4
push 1
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
call fcn.00401769
and dword [ebp - 4], 0
push SysReAllocStringLen
lea eax, [ebp - 0x3c]
push eax
or dword [ebp - 4], 0xffffffff
call fcn.00420fbf
mov dword [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.InstallIQ
call fcn.00401769
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00422413
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004210b8
call fcn.004fa5ac
ret
Function at 0x4820c6
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52db74
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x597790]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor esi, esi
cmp dword [ebx + 0xc], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jle 0x4822cc
test esi, esi
jl 0x4822b1
cmp esi, dword [ebx + 0xc]
jge 0x4822b1
mov eax, dword [ebx + 8]
mov ecx, esi
shl ecx, 3
xor edi, edi
add eax, ecx
inc edi
cmp dword [eax], edi
jne 0x482189
cmp esi, dword [ebx + 0xc]
jge 0x4822b1
mov eax, dword [ebx + 8]
add eax, ecx
push ecx
add eax, 4
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.0040184e
and dword [esp + 0x3c], 0
lea eax, [esp + 0x24]
push eax
or dword [esp + 0x40], 0xffffffff
call fcn.004822e2
mov dword [esp + 0x38], edi
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
setne byte [esp + 0x13]
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00401898
cmp byte [esp + 0x13], 0
je 0x4822a1
mov dword [esp + 0x18], edi
jmp 0x4822cc
cmp esi, dword [ebx + 0xc]
jge 0x4822b1
mov eax, dword [ebx + 8]
add eax, ecx
cmp dword [eax], 2
jne 0x48227d
cmp esi, dword [ebx + 0xc]
jge 0x4822b1
mov eax, dword [ebx + 8]
add eax, ecx
add eax, 4
push eax
lea ecx, [esp + 0x18]
call fcn.0040184e
mov dword [esp + 0x38], 2
push edi
lea edi, [esp + 0x18]
call fcn.0041db3b
xor ecx, ecx
mov esi, edi
mov dword [esp], str._firefoxprofiles_
call fcn.00414d7b
test eax, eax
jl 0x48221f
push ecx
mov eax, edi
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x3c], 3
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x40], 2
call fcn.00482466
mov byte [esp + 0x38], 4
push eax
mov ecx, edi
call fcn.004044ef
mov byte [esp + 0x38], 2
lea ecx, [esp + 0x24]
call fcn.00401898
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x3c], 5
mov byte [esp + 0x3c], 2
call fcn.00412646
pop ecx
test eax, eax
jne 0x4822b6
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x3c], 6
mov byte [esp + 0x3c], 2
call fcn.004126ee
pop ecx
test eax, eax
jne 0x4822b6
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00401898
mov esi, dword [esp + 0x1c]
jmp 0x4822a1
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.Unknown_uninstall_key_type_encountered__skipping_lookup
call fcn.00401769
mov dword [esp + 0x3c], 7
push edi
or dword [esp + 0x40], 0xffffffff
call fcn.0041485d
inc esi
cmp esi, dword [ebx + 0xc]
mov dword [esp + 0x1c], esi
jl 0x482104
jmp 0x4822cc
call fcn.004d3705
mov dword [esp + 0x18], 1
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00401898
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x48607d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5314bb
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x597790]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x34]
xor ebx, ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.0048c5d1
mov dword [esp + 0x80], ebx
mov dword [esp + 0x18], ebx
push dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x3c]
call fcn.0048c76d
mov byte [esp + 0x80], 1
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
je 0x4861b4
push ecx
lea eax, [edi + 0x54]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0040184e
mov byte [esp + 0x84], 2
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0040184e
mov byte [esp + 0x88], 3
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x8c], 1
mov ecx, esi
call fcn.0048e89f
mov byte [esp + 0x80], 4
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00414f4e
mov byte [esp + 0x80], 6
lea ecx, [esp + 0x20]
call fcn.00401898
mov eax, dword [edi + 0x58]
push ebx
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004152d0
test eax, eax
jge 0x48619b
mov byte [esp + 0x80], 1
lea ecx, [esp + 0x2c]
call fcn.00415022
mov byte [esp + 0x80], bl
lea ecx, [esp + 0x14]
call fcn.00401898
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 0x14
jl 0x4860c6
jmp 0x4861c4
mov dword [esp + 0x1c], 1
mov byte [esp + 0x80], 1
lea ecx, [esp + 0x2c]
call fcn.00415022
mov byte [esp + 0x80], bl
lea ecx, [esp + 0x14]
call fcn.00401898
or dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.0048c642
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48b16e
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x517fbd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x597790]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
push 0x53e11c
xor esi, esi
push 1
push esi
push 0x53e0fc
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x48b29e
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push esi
lea edx, [esp + 0x10]
push edx
push 0x53e10c
push eax
call dword [ecx + 0xc]
cmp eax, esi
jne 0x48b29e
mov dword [esp + 8], esi
jmp 0x48b284
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x53d9a4
push esi
push esi
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x48b27a
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push esi
lea edx, [esp + 0x20]
push edx
push 0x55fc44
push eax
call dword [ecx + 0xc]
cmp eax, esi
jge 0x48b23f
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push esi
lea edx, [esp + 0x20]
push edx
push str.FriendlyName
push eax
call dword [ecx + 0xc]
cmp eax, esi
jl 0x48b270
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0045c753
mov dword [esp + 0x38], esi
mov eax, dword [edi + 8]
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, edi
call fcn.004db92e
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00401898
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push esi
lea edx, [esp + 0xc]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x48b1e8
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x48b2ac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x48b2ba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
cmp dword [edi + 8], esi
setg al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x48ca2d
Capabilities:
Read .ini file

Disassembly:
push 0x18
mov eax, 0x51eac0
call fcn.004fa4d4
mov edi, dword [ebp + 8]
mov ebx, ecx
and dword [ebp - 4], 0
and dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
push ecx
lea esi, [ebx + 0x34]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push esi
call fcn.0040184e
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.0041571c
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x53e9ff
call fcn.00401769
mov byte [ebp - 4], 4
push 0x104
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Path
call fcn.00401769
mov byte [ebp - 4], 5
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 6
push edi
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.0041575b
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
mov dword [ebp - 0x18], 1
je 0x48cb9f
push edi
call fcn.00443fc7
push dword [esi]
push 0
push str.IsRelative
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x48cb9f
push edi
lea ecx, [ebp - 0x10]
call fcn.0040184e
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.MozillaFirefox
call fcn.00401769
mov byte [ebp - 4], 8
push ecx
add ebx, 0x38
mov ecx, esp
mov dword [ebp - 0x24], esp
push ebx
call fcn.0040184e
mov byte [ebp - 4], 9
mov byte [ebp - 4], 7
lea esi, [ebp - 0x1c]
call fcn.004139f3
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
push eax
mov ecx, edi
call fcn.004044ef
mov byte [ebp - 4], 7
mov ecx, esi
call fcn.00401898
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 0xb
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push edi
call fcn.0040184e
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 7
lea esi, [ebp - 0x1c]
call fcn.004139f3
pop ecx
pop ecx
mov byte [ebp - 4], 0xd
push eax
mov ecx, edi
call fcn.004044ef
mov byte [ebp - 4], 7
mov ecx, esi
call fcn.00401898
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.00401898
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
call fcn.0041e7f8
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401898
mov eax, edi
call fcn.004fa5ac
ret 8
Function at 0x49547b
Capabilities:
Extract http body

Disassembly:
push 0x18
mov eax, 0x522a8e
call fcn.004fa507
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [edi]
call dword [eax + 0x10]
test eax, eax
jne 0x4954b3
push 0x53e9ff
mov ecx, dword [ebp + 8]
call fcn.00401769
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 1
jmp 0x4955e1
mov dword [ebp - 4], 1
lea esi, [edi + 0x2c]
cmp dword [esi], ebx
jne 0x4954ed
mov edi, dword [edi + 0x28]
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
push ecx
push edi
call dword [eax + 0x48]
cmp eax, ebx
jne 0x4954e9
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push esi
push 0x53d914
push eax
call dword [ecx]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esi], ebx
je 0x49556b
push 0x53e9ff
lea ecx, [ebp - 0x1c]
call fcn.00401769
mov byte [ebp - 4], 2
mov esi, dword [esi]
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push ecx
push esi
call dword [eax + 0x24]
cmp eax, ebx
jne 0x49554a
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0xf0]
cmp eax, ebx
jne 0x495534
push dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
call fcn.0040e107
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040184e
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00401898
jmp 0x4955e1
mov dword [ebp - 4], ebx
jmp 0x4955cd
push 0x53e9ff
mov ecx, dword [ebp + 8]
call fcn.00401769
mov dword [ebp - 4], ebx
or dword [ebp - 0x14], 1
mov eax, dword [ebp + 8]
call fcn.004fa5ac
ret 4
Function at 0x4cc850
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5171c3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x597790]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi + 0x1c], 0xf
mov dword [esi + 0x18], 0
mov byte [esi + 8], 0
lea eax, [esi + 0x30]
push eax
mov dword [esp + 0x18], 0
call fcn.004ce3f0
lea ecx, [esi + 0x48]
push ecx
mov byte [esp + 0x18], 1
call fcn.004c9ae2
mov byte [esp + 0x14], 2
mov dword [esi], 0
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x4ccb00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5171c3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x597790]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esi + 0x1c], 0xf
mov dword [esi + 0x18], eax
mov byte [esi + 8], al
mov dword [esp + 0x14], eax
lea eax, [esi + 0x30]
push eax
call fcn.004ce3f0
lea ecx, [esi + 0x48]
push ecx
mov byte [esp + 0x18], 1
call fcn.004c9ae2
fld qword [esp + 0x20]
mov byte [esp + 0x14], 2
fstp qword [esi + 0x28]
mov dword [esi], 3
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0xc

Function at 0x4ccc40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x51712d
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x597790]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [edi + 0x1c], 0xf
mov dword [edi + 0x18], eax
mov byte [edi + 8], al
lea eax, [edi + 0x30]
push eax
mov byte [esp + 0x18], 1
call fcn.004ce3f0
lea esi, [edi + 0x48]
push esi
mov byte [esp + 0x18], 2
call fcn.004c9ae2
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], 3
push ecx
mov dword [edi], 5
call fcn.004c9c6e
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x18], 0xffffffff
call fcn.004c93dc
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x24