joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1806e9f
Capabilities:
Manipulate console buffer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
and word [ebp - 4], 0
and word [ebp - 2], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
lea eax, [ebp - 0x1c]
push eax
push ebx
call edi
movzx eax, word [ebp - 0x1c]
movzx esi, word [ebp - 0x1a]
imul esi, eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 4]
push esi
push 0x20
push ebx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
lea eax, [ebp - 0x1c]
push eax
push ebx
call edi
lea eax, [ebp + 8]
push eax
push dword [ebp - 4]
xor eax, eax
mov al, byte [ebp - 0x14]
shr al, 4
xor al, byte [ebp - 0x14]
push esi
and eax, 0xf
xor eax, dword [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1806ff3
Capabilities:
Manipulate console buffer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 0x10], esi
mov word [ebp - 4], si
mov word [ebp - 2], si
je 0x180704a
push dword [ebp - 4]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1807051
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
push 0x1806e52
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp + 0xc]
call esi
xor eax, eax
pop esi
leave
ret 0xc
push dword [ebp + 0xc]
call fcn.01806e9f
xor eax, eax
inc eax
jmp 0x180704c
Function at 0x1807177
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.018088f0
mov eax, dword [0x18122c8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2014], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push esi
mov esi, dword [ebp + 0xc]
add eax, 0x20
push eax
call dword [sym.imp.msvcrt.dll_fflush]
push esi
lea eax, [ebp - 0x2004]
push 0x2000
push eax
call dword [sym.imp.msvcrt.dll_fgets]
add esp, 0x10
test eax, eax
je 0x18072d5
push ebx
xor ebx, ebx
push ebx
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x2004]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
mov eax, dword [0x1812308]
cmp eax, ebx
mov dword [ebp - 0x2008], ecx
je 0x1807286
push edi
push ebx
lea edx, [ebp - 0x2010]
push edx
add ecx, 0xfffffffe
mov esi, 0x1801684
lea edi, [ebp - 0x200c]
movsw word es:[edi], word [esi]
push ecx
lea ecx, [ebp - 0x2004]
push ecx
movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jne 0x180724b
push dword [0x1812308]
call edi
mov dword [0x1812308], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
call sym.NETSH.EXE_PrintError
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x2010]
push eax
push 2
lea eax, [ebp - 0x200c]
push eax
push dword [0x1812308]
call esi
test eax, eax
jne 0x1807285
push dword [0x1812308]
call edi
mov dword [0x1812308], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
call sym.NETSH.EXE_PrintError
pop ecx
pop ecx
pop edi
mov eax, dword [ebp - 0x2008]
add eax, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, ebx
je 0x18072c4
push dword [ebp - 0x2008]
lea eax, [ebp - 0x2004]
push esi
push 0x2000
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x2008]
mov ecx, dword [ebp - 0x2014]
mov dword [ecx], eax
mov eax, esi
pop ebx
mov ecx, dword [ebp - 4]
pop esi
call fcn.0180865b
leave
ret 8
Function at 0x18072e7
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
xor esi, esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [ebp + 0xc]
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push eax
call ebx
push eax
push esi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp eax, esi
mov dword [ebp - 4], eax
je 0x180739c
push esi
push esi
push dword [ebp - 8]
push eax
push 0xffffffffffffffff
push dword [ebp + 0xc]
push esi
call edi
push eax
call ebx
mov ebx, dword [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
lea eax, [ebp - 0xc]
push eax
dec ebx
push ebx
push dword [ebp - 4]
push dword [ebp + 8]
call edi
mov eax, dword [0x1812308]
cmp eax, esi
je 0x180738b
push esi
lea ecx, [ebp - 0xc]
push ecx
push ebx
push dword [ebp - 4]
push eax
call edi
test eax, eax
jne 0x180738b
push dword [0x1812308]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1812308], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
call sym.NETSH.EXE_PrintError
pop ecx
pop ecx
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x18085c9
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x18085da
pop ebp
jmp fcn.01807e3d
call fcn.018084ee
pop ebp
ret 0xc

Function at 0x180865b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x18122c8]
jne 0x180866c
test ecx, 0xffff0000
jne 0x180866c
ret
jmp fcn.01808676

Function at 0x180875b
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x18018a8
call fcn.01808978
cmp word [0x1800000], 0x5a4d
jne 0x1808799
mov eax, dword [0x180003c]
lea eax, [eax + 0x1800000]
cmp dword [eax], 0x4550
jne 0x1808799
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x18087b2
cmp ecx, 0x20b
je 0x180879f
and dword [ebp - 0x1c], 0
jmp 0x18087c6
cmp dword [eax + 0x84], 0xe
jbe 0x1808799
xor ecx, ecx
cmp dword [eax + 0xf8], ecx
jmp 0x18087c0
cmp dword [eax + 0x74], 0xe
jbe 0x1808799
xor ecx, ecx
cmp dword [eax + 0xe8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
and dword [ebp - 4], 0
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1817d10], 0xffffffff
or dword [0x1817d14], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1812e70]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1812e6c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1817d18], eax
call fcn.0180896e
cmp dword [0x18122d0], 0
jne 0x1808823
push fcn.0180896e
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01808957
push 0x180120c
push 0x1801208
call sub.msvcrt.dll__initterm
mov eax, dword [0x1812e68]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1812e64]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x34], eax
Function at 0x401060
Capabilities:
Allocate or change rwx memory
Terminate process

Disassembly:
push ebx
push esi
push 4
push 0x3000
push 0x17c841c0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
push eax
cmp eax, 0x11
je 0x401023
mov eax, eax
cld
test ecx, ecx
or eax, eax
clc
pop eax
test esi, esi
je 0x401056
nop
mov al, al
push 0x5e69ec0
push 0
push esi
call fcn.004295f0
add esp, 0xc
push ebx
mov cl, cl
mov cl, cl
cld
pop ebx
push 0x8000
push 0x17c841c0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop esi
pop ebx
ret
push 0
push 0x40
push 0x3000
push 0x7d0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
test eax, eax
jne 0x401088
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp section..text

Function at 0x401090
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0x30]
cmp byte [eax + 2], 0
jne 0x40109f
xor eax, eax
ret
mov eax, 1
ret

Function at 0x4010b0
Capabilities:
Get memory capacity
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x44e664]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 0x40
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004295f0
add esp, 0xc
push 1
mov dword [esp + 0x14], 0x40
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
push 1
cmp eax, 1
jne 0x401143
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
shrd ebx, edi, 0x14
shr edi, 0x14
jmp 0x401159
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
xor ebx, ebx
xor edi, edi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
test edi, edi
ja 0x4011ab
jb 0x40118f
cmp ebx, 0x3d4
jae 0x4011ab
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004295d6
mov esp, ebp
pop ebp
ret
Function at 0x404630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7e0
mov eax, dword [0x44e664]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
push 0x7d0
lea ecx, [ebp - 0x7d4]
push 0
push ecx
mov dword [ebp - 0x7dc], eax
call fcn.004295f0
lea edx, [ebp - 0x7d4]
push str.To_take_a_trivial_example__which_of_us_ever_undertakes_laborious_physical_exercise__except_to_obtain_some_advantage_from_it__But_who_has_any_right_to_find_fault_with_a_man_who_chooses_to_enjoy
push edx
call fcn.00429760
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x14
lea eax, [ebp - 0x7d4]
push eax
call esi
lea ecx, [ebp - 0x7d4]
push ecx
call esi
lea edx, [ebp - 0x7d4]
push edx
call esi
lea eax, [ebp - 0x7d4]
push eax
call esi
lea ecx, [ebx + 1]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea edx, [ebp - 0x7d4]
mov edi, eax
push edx
mov dword [ebp - 0x7d8], edi
call esi
lea eax, [ebp - 0x7d4]
push eax
call esi
lea ecx, [ebp - 0x7d4]
push ecx
call esi
lea edx, [ebp - 0x7d4]
push edx
call esi
lea eax, [ebp - 0x7d4]
push eax
mov byte [ebx + edi], 0
call esi
lea ecx, [ebp - 0x7d4]
push ecx
call esi
lea edx, [ebp - 0x7d4]
push edx
call esi
lea eax, [ebp - 0x7d4]
push eax
call esi
xor edi, edi
test ebx, ebx
je 0x40476b
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 0x7d8]
mov dword [ebp - 0x7e0], eax
lea ecx, [ebp - 0x7d4]
push ecx
call esi
lea edx, [ebp - 0x7d4]
push edx
call esi
mov eax, dword [ebp - 0x7dc]
push eax
call esi
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov eax, dword [ebp - 0x7dc]
mov cl, byte [edx + eax]
mov edx, dword [ebp - 0x7d8]
lea eax, [edi + edx]
mov edx, dword [ebp - 0x7e0]
xor cl, byte [edx + eax]
mov byte [eax], cl
lea eax, [ebp - 0x7d4]
push eax
call esi
lea ecx, [ebp - 0x7d4]
push ecx
call esi
inc edi
cmp edi, ebx
jb 0x404714
lea edx, [ebp - 0x7d4]
push edx
call esi
lea eax, [ebp - 0x7d4]
push eax
call esi
push 0x7d0
lea ecx, [ebp - 0x7d4]
push 0
push ecx
call fcn.004295f0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x7d8]
add esp, 0xc
pop edi
xor ecx, ebp
pop esi
call fcn.004295d6
mov esp, ebp
pop ebp
ret 8
Function at 0x4047b0
Capabilities:
Parse pe header

Disassembly:
cmp dword [ebx + 4], 0x40
jb 0x404848
mov eax, dword [ebx]
push 0x40
push eax
push esi
call fcn.00429850
mov ecx, 0x5a4d
add esp, 0xc
cmp word [esi], cx
jne 0x404879
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x404879
lea edx, [eax + 0xf8]
cmp edx, dword [ebx + 4]
ja 0x404848
mov ecx, dword [ebx]
push edi
push 0xf8
add ecx, eax
push ecx
lea edi, [esi + 0x40]
push edi
call fcn.00429850
add esp, 0xc
cmp dword [edi], 0x4550
jne 0x404872
mov edx, 0x10b
cmp word [esi + 0x58], dx
jne 0x404872
movzx eax, word [esi + 0x46]
test ax, ax
je 0x404872
lea edi, [eax + eax*4]
add edi, edi
add edi, edi
add edi, edi
push edi
mov dword [esi + 0x140], edi
call fcn.00429beb
add esp, 4
mov dword [esi + 0x138], eax
test eax, eax
jne 0x40484e
mov eax, 3
pop edi
ret
mov eax, 1
ret
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
push ebx
lea ecx, [ecx + edx + 0x18]
push edi
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.00404e70
add esp, 0x10
neg eax
sbb eax, eax
inc eax
pop edi
ret
mov eax, 2
pop edi
ret
mov eax, 2
ret
Function at 0x407780
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x407787
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x40785d
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x449150]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x449150]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x449150]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x449150]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x449150]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x449150]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x449150]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x449150]
add ecx, 8
sub edx, 8
dec esi
jne 0x4077a0
pop edi
test edx, edx
je 0x40787a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x449150]
inc ecx
dec edx
jne 0x407861
not eax
pop esi
ret

Function at 0x407880
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x449150]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x449150]
mov dword [edx + 8], ecx
ret

Function at 0x4078d0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x449150]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x449150]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret
Function at 0x41c7a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d8a8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x44e664]
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 ebx, dword [ebp + 8]
mov edi, ecx
cmp ebx, 0xffffffff
jne 0x41c7dc
xor eax, eax
jmp 0x41c961
mov eax, dword [edi + 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x41c805
mov eax, dword [edi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x41c805
dec dword [eax]
mov edi, dword [edi + 0x24]
mov eax, dword [edi]
lea ecx, [eax + 1]
mov dword [edi], ecx
mov byte [eax], bl
mov eax, ebx
jmp 0x41c961
cmp dword [edi + 0x54], 0
je 0x41c95e
mov ecx, dword [edi + 0x10]
lea edx, [edi + 0x48]
cmp dword [ecx], edx
jne 0x41c82d
mov edx, dword [edi + 0x3c]
mov eax, dword [edi + 0x40]
mov dword [ecx], edx
mov ecx, dword [edi + 0x20]
mov dword [ecx], eax
mov edx, dword [edi + 0x30]
sub eax, eax
mov dword [edx], eax
cmp dword [edi + 0x44], 0
jne 0x41c853
mov edi, dword [edi + 0x54]
movsx eax, bl
push edi
push eax
call fcn.0042bf68
add esp, 8
cmp eax, 0xffffffff
je 0x41c95e
mov eax, ebx
jmp 0x41c961
lea esi, [ebp - 0x2c]
mov byte [ebp - 0x2d], bl
call fcn.0041d110
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
jmp 0x41c870
mov edx, eax
cmp ebx, 0x10
jae 0x41c87c
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x34]
push ebx
push edx
push eax
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x2d]
push edx
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x14]
call eax
test eax, eax
js 0x41c956
cmp eax, 1
jg 0x41c910
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x41c8bc
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
sub esi, ecx
je 0x41c8e5
cmp ebx, 0x10
jae 0x41c8cb
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0042cb8b
add esp, 0x10
cmp esi, eax
jne 0x41c956
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x2d]
mov byte [edi + 0x49], 1
cmp dword [ebp - 0x38], edx
jne 0x41c949
test esi, esi
jne 0x41c870
cmp dword [ebp - 0x1c], 0x20
jae 0x41c956
push esi
lea ebx, [esi + 8]
lea esi, [ebp - 0x2c]
call fcn.004109f0
jmp 0x41c865
cmp eax, 3
jne 0x41c956
mov edi, dword [edi + 0x54]
movsx eax, byte [ebp - 0x2d]
push edi
push eax
call fcn.0042bf68
add esp, 8
cmp eax, 0xffffffff
je 0x41c93a
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.00404ff0
mov eax, esi
jmp 0x41c961
lea ecx, [ebp - 0x2c]
or esi, 0xffffffff
call fcn.00404ff0
mov eax, esi
jmp 0x41c961
lea ecx, [ebp - 0x2c]
call fcn.00404ff0
mov eax, dword [ebp + 8]
jmp 0x41c961
lea ecx, [ebp - 0x2c]
call fcn.00404ff0
or eax, 0xffffffff
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.004295d6
mov esp, ebp
pop ebp
ret 4
Function at 0x41d420
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d848
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x44e664]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x41d528
cmp byte [edi + 0x49], 0
je 0x41d528
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x41d51c
lea esi, [ebp - 0x2c]
call fcn.0041d110
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x41d493
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x41d4bc
dec eax
je 0x41d4c0
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x41d517
jmp 0x41d523
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x41d4d0
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x41d4f9
cmp ebx, 0x10
jae 0x41d4df
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0042cb8b
add esp, 0x10
cmp esi, eax
jne 0x41d514
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x41d520
test esi, esi
jne 0x41d487
push esi
lea ebx, [esi + 8]
lea esi, [ebp - 0x2c]
call fcn.004109f0
jmp 0x41d481
lea ecx, [ebp - 0x2c]
call fcn.00404ff0
xor al, al
jmp 0x41d52a
lea ecx, [ebp - 0x2c]
call fcn.00404ff0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004295d6
mov esp, ebp
pop ebp
ret
Function at 0x41d690
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d44b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x44e664]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0042912c
push 4
mov dword [ebp - 4], 0
call fcn.0042a39b
mov edi, eax
add esp, 4
test edi, edi
je 0x41d70c
call fcn.00429004
mov dword [edi], eax
call fcn.00428dc3
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.004290ed
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x41d702
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00429115
jmp 0x41d70e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41f3a0
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43db79
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x44e664]
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
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 0x34], ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x447631
mov dword [ebp - 0x38], esi
mov byte [esi], bl
call fcn.0042a170
add esp, 4
push eax
push 0x447631
mov ecx, esi
call fcn.004050a0
mov dword [ebp - 4], ebx
mov edi, 1
push str.Mozilla_5.0__Windows_NT_10.0_
mov dword [ebp - 0x34], edi
call fcn.0042a170
add esp, 4
push eax
push str.Mozilla_5.0__Windows_NT_10.0_
mov ecx, esi
call fcn.004050a0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], ebx
call dword [0x45155c]
push eax
call dword [0x451500]
test eax, eax
je 0x41f445
cmp dword [ebp - 0x30], ebx
mov ebx, 0x44a52c
jne 0x41f44a
mov ebx, 0x44a530
lea ecx, [ebp - 0x2c]
push esi
push ecx
call fcn.004105e0
add esp, 8
mov dword [ebp - 4], edi
mov edi, eax
call fcn.00405020
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], 0x10
jb 0x41f477
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004295cb
add esp, 4
lea eax, [ebp - 0x2c]
push esi
push eax
mov ebx, str._rv:107.0__Gecko___20100101_Firefox___107.0
call fcn.004105e0
add esp, 8
mov edi, eax
mov dword [ebp - 4], 2
call fcn.00405020
cmp dword [ebp - 0x18], 0x10
jb 0x41f4a9
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004295cb
add esp, 4
mov eax, esi
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.004295d6
mov esp, ebp
pop ebp
ret