joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410950
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [edx]
mov dword [ebp - 0xc], edx
push edi
mov edi, dword [ebp + 0xc]
cmp esi, 0xffffffff
je 0x410aa9
test esi, esi
je 0x410aa9
cmp edi, 1
jge 0x410997
mov ecx, ebx
call fcn.0040b940
mov edi, eax
test edi, edi
je 0x410aa9
mov eax, dword [edx + 4]
mov dword [ebp - 8], 0
test al, 0x60
je 0x4109d1
push 0
lea eax, [ebp - 8]
push eax
lea eax, [edi + edi]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
pop edi
sbb eax, eax
and eax, dword [ebp - 8]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042520b
mov esp, ebp
pop ebp
ret 8
test eax, 0x188
je 0x410a69
push 0
push 0
push 0
push 0
push edi
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x410aa9
push 0x454798
push eax
call fcn.004255d2
add esp, 8
mov esi, eax
push 0
push 0
push dword [ebp - 0x10]
push esi
push edi
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x410a45
push 0
lea ecx, [ebp - 8]
push ecx
push eax
mov eax, dword [ebp - 0xc]
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x410a45
mov edi, dword [ebp - 8]
jmp 0x410a47
xor edi, edi
test esi, esi
je 0x410a54
push esi
call fcn.0042524f
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042520b
mov esp, ebp
pop ebp
ret 8
push 0x454798
push edi
call fcn.004255d2
add esp, 8
mov esi, eax
push 0
push 0
push edi
push esi
push edi
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
lea ecx, [ebp - 8]
push ecx
push eax
mov eax, dword [ebp - 0xc]
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
neg edi
sbb edi, edi
and edi, dword [ebp - 8]
jmp 0x410a47
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042520b
mov esp, ebp
pop ebp
ret 8

Function at 0x410ac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x410b0d
test eax, eax
je 0x410b0d
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push dword [ebp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042520b
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0042520b
mov esp, ebp
pop ebp
ret 8
Function at 0x410c20
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452d28
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov eax, dword [ebx + 8]
push 0x44
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.0043eb00
add esp, 0xc
mov dword [ebp - 0x68], 0x44
mov eax, 5
mov dword [ebp - 0x3c], 1
xorps xmm0, xmm0
mov word [ebp - 0x38], ax
mov ecx, esi
movups xmmword [ebp - 0x7c], xmm0
call fcn.0040b940
neg eax
mov ecx, edi
sbb eax, eax
and eax, esi
mov dword [ebp - 0x88], eax
call fcn.0040b940
mov ecx, dword [ebp - 0x6c]
neg eax
sbb eax, eax
and eax, edi
mov dword [ebp - 0x80], eax
call fcn.0040b940
neg eax
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
sbb eax, eax
and eax, ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x84], eax
call fcn.004099b0
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x6c], 0
call esi
mov ecx, eax
call fcn.00410f60
xor edi, edi
call esi
mov ecx, eax
call fcn.00410f60
test eax, eax
je 0x410d17
lea ecx, [ebp - 0x6c]
call fcn.00410e00
mov edi, eax
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x410d34
push eax
push 0x7d00
lea ecx, [ebp - 0x20]
call fcn.00409f00
lea ecx, [ebp - 0x20]
call fcn.00409c40
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push dword [ebp - 0x84]
push 0
push 0
push 0
push 0
push 0
push eax
push dword [ebp - 0x88]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test edi, edi
je 0x410d67
mov ecx, dword [ebp - 0x6c]
call fcn.00410ec0
test esi, esi
je 0x410d77
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x7c]
lea ecx, [ebp - 0x20]
call fcn.00409af0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042520b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc

Function at 0x411030
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41103f
xor al, al
ret
shr eax, 4
and al, 1
ret
Function at 0x4112b0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [0x47d00c]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
push 0
push 0
push 3
push 0
push 7
mov edi, ecx
mov dword [esp + 0x24], 0
push 0
push edi
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
jne 0x4112fd
or esi, 0xffffffff
jmp 0x411302
cmp esi, 0xffffffff
jne 0x41132e
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x41133a
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
push ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x41133a
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
cmp esi, 0xffffffff
je 0x411352
test esi, esi
je 0x411352
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x26c]
mov eax, edi
pop edi
pop esi
mov edx, ebx
pop ebx
xor ecx, esp
call fcn.0042520b
mov esp, ebp
pop ebp
ret

Function at 0x411370
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452df8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
cmp byte [ebp + 8], 0
je 0x411442
push ecx
push 0x20019
push str.HKLM64SOFTWAREMicrosoftWindowsCurrentVersion
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.0040c670
push esi
push str.ProgramFilesDir
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.0040c800
mov ecx, esi
call fcn.00409dc0
test al, al
je 0x4113f0
push 1
push str.C:Program_Files
mov ecx, esi
call fcn.00409b90
push 0
push 0x104
mov ecx, edi
call fcn.00409f00
push eax
push 1
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x411438
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.__x86_
mov ecx, esi
call fcn.00409c40
push eax
mov ecx, edi
call fcn.00409be0
lea ecx, [ebp - 0x14]
call fcn.0040c6c0
jmp 0x41146e
push 0
push 0x104
call fcn.00409f00
push eax
push 1
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 1
mov ecx, esi
call fcn.00409c40
push eax
mov ecx, edi
call fcn.00409b90
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042520b
mov esp, ebp
pop ebp
ret 4
Function at 0x411da0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push ecx
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push ecx
lea ecx, [ebp - 0x10]
movq qword [ebp - 0x10], xmm0
call fcn.00409a00
lea ecx, [ebp - 0x10]
call fcn.00409b70
test eax, eax
jne 0x411de0
xor edi, edi
jmp 0x411e71
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
jne 0x411df8
or esi, 0xffffffff
xor edi, edi
jmp 0x411e60
cmp esi, 0xffffffff
jne 0x411e01
xor edi, edi
jmp 0x411e60
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x411e60
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x10]
call fcn.00409ac0
test al, al
jne 0x411e51
mov ecx, dword [ebp - 0x234]
call fcn.00411bb0
movzx eax, al
push 0xa
add edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x23c]
push eax
push esi
call ebx
test eax, eax
jne 0x411e26
pop ebx
cmp esi, 0xffffffff
je 0x411e70
test esi, esi
je 0x411e70
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
lea ecx, [ebp - 0x10]
call fcn.00409af0
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.0042520b
mov esp, ebp
pop ebp
ret
Function at 0x413480
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4529b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x47d00c]
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 esi, ecx
mov eax, dword [esi + 0x22c]
test eax, eax
jne 0x4134be
xor al, al
jmp 0x413613
cmp byte [esi + 0x241], 2
jae 0x4134d0
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.004099b0
push 0x104
push 0
push 0x104
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.00409f00
push eax
push dword [esi + 0x22c]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
jne 0x41351c
push eax
lea ecx, [ebp - 0x1c]
call fcn.00409ab0
cmp dword [esi + 0x3c], 0
je 0x413533
mov eax, dword [esi + 0x40]
test eax, eax
je 0x413533
push ecx
push eax
push ecx
mov ecx, esi
call fcn.004169b0
mov eax, dword [esi + 0x234]
mov ebx, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x413546
push eax
call ebx
mov eax, dword [esi + 0x238]
test eax, eax
je 0x413553
push eax
call ebx
mov eax, dword [esi + 0x1fc]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x413566
push eax
call edi
mov eax, dword [esi + 0x200]
test eax, eax
je 0x413573
push eax
call edi
mov eax, dword [esi + 0x1e0]
test eax, eax
je 0x413580
push eax
call edi
mov eax, dword [esi + 0x1e8]
test eax, eax
je 0x413591
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0x254]
test eax, eax
je 0x4135a2
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
cmp byte [esi + 0x241], 2
jae 0x4135dd
push dword [esi + 0x22c]
call ebx
cmp byte [esi + 0x241], 0
jne 0x4135dd
lea ecx, [ebp - 0x1c]
call fcn.00409b70
test eax, eax
je 0x4135dd
push dword [esi + 0x11c]
lea ecx, [ebp - 0x1c]
call fcn.00409c40
push eax
call dword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, dword [esi + 0x23c]
test eax, eax
je 0x4135ee
push eax
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
push esi
push 0x412860
push dword [esi + 0x22c]
call dword [sym.imp.COMCTL32.dll_RemoveWindowSubclass]
push 0
mov ecx, esi
call fcn.00417c80
lea ecx, [ebp - 0x1c]
call fcn.00409af0
mov al, 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.0042520b
mov esp, ebp
pop ebp
ret
Function at 0x4160c0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4530e1
mov eax, dword fs:[0]
push eax
mov eax, 0x11f8
call fcn.0044fed0
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
push 0xffffffffffffffff
push str.HKCUSoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
call fcn.0040c670
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0
call fcn.0040b790
test eax, eax
jne 0x416134
xor bl, bl
jmp 0x416310
cmp dword [ebp - 0x220], 0
jne 0x4162d6
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 0x2af9
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
sub esp, 0x1c
mov dword [ebp - 0x234], 0
lea eax, [ebp - 0x21c]
xorps xmm0, xmm0
lea ecx, [ebp - 0x23c]
movq qword [ebp - 0x23c], xmm0
push 0
push 0
push 0
push str.Internet_exploreriexplore.exe
push eax
call fcn.00409a30
push 0xfc8
lea eax, [ebp - 0x1204]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0043eb00
add esp, 0xc
lea ecx, [ebp - 0x23c]
call fcn.00409c40
push eax
lea ecx, [ebp - 0x1204]
call fcn.0040ec70
sub esp, 0xc
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x1204]
movq qword [ebp - 0x230], xmm0
call fcn.0040ecf0
push eax
lea ecx, [ebp - 0x230]
call fcn.00409a00
push 2
push 1
push 1
push 1
push 0x46e2e8
lea ecx, [ebp - 0x230]
call fcn.0040a7e0
test eax, eax
je 0x416221
mov dword [ebp - 0x220], 0x22b8
jmp 0x41629f
push 2
push 1
push 1
push 1
push 0x46e2f0
lea ecx, [ebp - 0x230]
call fcn.0040a7e0
test eax, eax
je 0x416249
mov dword [ebp - 0x220], 0x270f
jmp 0x41629f
push 3
push 1
push 1
push 1
push 0x46e2f8
lea ecx, [ebp - 0x230]
call fcn.0040a7e0
test eax, eax
je 0x416271
mov dword [ebp - 0x220], 0x2711
jmp 0x41629f
push 3
push 1
push 1
push 1
push 0x46e300
lea ecx, [ebp - 0x230]
call fcn.0040a7e0
mov ecx, dword [ebp - 0x220]
test eax, eax
mov edx, 0x2ee1
cmovne ecx, edx
mov dword [ebp - 0x220], ecx
lea ecx, [ebp - 0x230]
call fcn.00409af0
lea ecx, [ebp - 0x248]
call fcn.00409af0
lea ecx, [ebp - 0x254]
call fcn.00409af0
lea ecx, [ebp - 0x260]
call fcn.00409af0
lea ecx, [ebp - 0x23c]
call fcn.00409af0
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
push 0
lea eax, [ebp - 0x220]
push eax
push 4
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x224]
call fcn.0040cba0
mov bl, al
lea ecx, [ebp - 0x224]
call fcn.0040c6c0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042520b
mov esp, ebp
pop ebp
ret 4
Function at 0x417120
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x3c], eax
cmp edi, 0xffffffff
jne 0x417146
mov edi, dword [esi + 0x40]
push edi
call fcn.004174a0
test al, al
jne 0x417165
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042520b
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esi + 0x234], 0
jne 0x417177
call fcn.004179c0
test al, al
je 0x417150
push 0x30
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.0043eb00
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [edi + edi*8]
shl ecx, 3
add esp, 0xc
mov dword [ebp - 0x38], ecx
add ecx, dword [esi + 0x3c]
mov dword [ebp - 0x34], 0x30
mov eax, dword [ecx + 4]
mov dword [ebp - 0x2c], eax
cmp dword [ecx], 0x1c
jne 0x4171e7
push 0
push edi
push 0x419
mov dword [ebp - 0x30], 0x10
push dword [ecx + 4]
call ebx
cmp eax, 0xffffffff
je 0x417150
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x38]
push eax
mov eax, dword [esi + 0x3c]
push 0x41d
push dword [eax + ecx + 4]
call ebx
test eax, eax
je 0x417150
mov dword [ebp - 0x28], edi
jmp 0x4171f4
mov dword [ebp - 0x30], 0x11
mov eax, dword [ecx + 4]
mov dword [ebp - 0x28], eax
push 0x186a0
push 0
push 0x418
push dword [esi + 0x234]
call ebx
mov eax, dword [esi + 0x11c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x432
push dword [esi + 0x234]
call ebx
mov ecx, dword [ebp - 4]
cmp eax, 1
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.0042520b
mov esp, ebp
pop ebp
ret 0x10

Function at 0x418050
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0
push 2
push 0
push 1
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
jne 0x4180b8
or esi, 0xffffffff
xor bl, bl
cmp esi, 0xffffffff
je 0x4180a3
test esi, esi
je 0x4180a3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042520b
mov esp, ebp
pop ebp
ret 0x10
cmp esi, 0xffffffff
je 0x418091
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push dword [ebp - 8]
push ebx
push edi
call fcn.00417e20
test eax, eax
je 0x418091
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x418091
push 0
lea edx, [ebp - 8]
mov dword [ebp - 8], 0
push edx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne bl
jmp 0x418093
Function at 0x419110
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4533a0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x74], esi
mov edi, ecx
mov dword [ebp - 0x70], edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x419194
xorps xmm0, xmm0
lea ecx, [ebp - 0x64]
push 0x22
push esi
movups xmmword [ebp - 0x64], xmm0
movups xmmword [ebp - 0x54], xmm0
call fcn.004102c0
lea ecx, [ebp - 0x5c]
call fcn.0040b700
mov eax, dword [ebp - 0x64]
cmp eax, 0xffffffff
je 0x419194
test eax, eax
je 0x419194
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x44]
movq qword [ebp - 0x44], xmm0
call fcn.004099b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x38], xmm0
call fcn.004099b0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x2c], xmm0
call fcn.004099b0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.004099b0
push 0
push 0x9470
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00409f00
push 0
push 0x9470
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.00409f00
push edi
push 0x9470
push esi
mov dword [ebp - 0x68], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
xor edi, edi
test eax, eax
je 0x4192d0
mov ecx, esi
call fcn.0040b940
mov dword [ebp - 0x6c], eax
test eax, eax
jle 0x4192d0
nop word [eax + eax]
push dword [ebp - 0x70]
push 0x9470
push dword [ebp - 0x68]
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
je 0x4192ae
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x2c]
call fcn.0041fd10
test al, al
je 0x4192ae
nop dword [eax]
lea ecx, [ebp - 0x2c]
call fcn.00409c40
push eax
push esi
push dword [ebp - 0x74]
lea ecx, [ebp - 0x20]
call fcn.0040a4f0
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x68]
movzx eax, byte [eax + 8]
add edi, eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041fce0
test al, al
jne 0x419280
lea ecx, [ebp - 0x38]
call fcn.00409c40
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x6c]
lea esi, [esi + eax*2]
add esi, 2
mov ecx, esi
call fcn.0040b940
mov dword [ebp - 0x6c], eax
test eax, eax
jg 0x419250
lea ecx, [ebp - 0x20]
call fcn.00409af0
lea ecx, [ebp - 0x2c]
call fcn.00409af0
lea ecx, [ebp - 0x38]
call fcn.00409af0
lea ecx, [ebp - 0x44]
call fcn.00409af0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042520b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x4194c0
Capabilities:
Create thread
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x68
mov edi, edx
mov esi, ecx
call fcn.0042521c
add esp, 4
mov dword [ebp - 8], eax
mov ecx, eax
call fcn.00419320
push 0x68
mov ebx, eax
push 0
push ebx
call fcn.0043eb00
add esp, 0xc
lea ecx, [ebx + 0x3c]
push esi
call fcn.00409a70
push edi
lea ecx, [ebx + 0x30]
mov dword [ebx + 0x1c], 3
call fcn.00409a70
push str.http:__www.carifred.com
lea ecx, [ebx + 0x48]
mov dword [ebx + 0x20], 0
call fcn.00409a70
lea ecx, [ebx + 0x54]
push str.Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_51.0.2704.103_Safari_537.36
call fcn.00409a70
push 0
lea ecx, [ebx + 0x30]
call fcn.00409ae0
movzx eax, word [eax]
cmp eax, 0x22
je 0x419576
cmp eax, 0x5c
je 0x419576
push 2
push 2
push 1
push 1
push 0x46dea8
lea ecx, [ebx + 0x30]
call fcn.0040a7e0
test eax, eax
je 0x419576
sub esp, 0x28
lea ecx, [ebx + 0x30]
push 0
push 0x46de94
call fcn.0040ada0
push 0
push 0
push ebx
push 0x419630
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x60], eax
test eax, eax
jne 0x4195d9
lea ecx, [ebx + 0x54]
call fcn.00409af0
lea ecx, [ebx + 0x48]
call fcn.00409af0
lea ecx, [ebx + 0x3c]
call fcn.00409af0
lea ecx, [ebx + 0x30]
call fcn.00409af0
lea ecx, [ebx + 0x24]
call fcn.00409af0
push 0x68
push ebx
call fcn.00425adf
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042520b
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
lea ecx, [ebp - 8]
push ecx
push eax
call esi
test eax, eax
je 0x41960f
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 8], 0x103
jne 0x41960f
call fcn.0040b8b0
push 5
call edi
lea eax, [ebp - 8]
push eax
push dword [ebx + 0x60]
call esi
test eax, eax
jne 0x4195f0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042520b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x419bd0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453428
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x47d00c]
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 esi, edx
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0x3c
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x58]
push 0
push eax
mov dword [ebp - 0x5c], ebx
call fcn.0043eb00
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.004099b0
push 0
mov dword [ebp - 4], 0
mov ecx, esi
push 0x400
mov dword [ebp - 0x58], 0x3c
call fcn.00409f00
push 0
push 0x400
mov ecx, ebx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0x400
call fcn.00409f00
push 0
push 0x400
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x400
call fcn.00409f00
mov dword [ebp - 0x24], eax
mov ecx, edi
lea eax, [ebp - 0x58]
mov dword [ebp - 0x20], 0x400
push eax
push 0
call fcn.0040b940
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov bl, al
test bl, bl
je 0x419cca
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.00409c40
mov ecx, dword [ebp - 0x5c]
push eax
call fcn.0040aa90
mov ecx, dword [ebp - 0x60]
mov ax, word [ebp - 0x40]
mov word [ecx], ax
lea ecx, [ebp - 0x1c]
call fcn.00409af0
mov al, bl
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.0042520b
mov esp, ebp
pop ebp
ret 8