joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ba30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x42ba49
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x42ba84
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x42ba80
lea ebx, [ebx]
cmp esi, edx
jae 0x42ba84
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x42ba70
cmp esi, edx
jb 0x42ba8b
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x42be20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f2a8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5557a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004d0778
add esp, 4
mov dword [ebp - 0x10], eax
push eax
push esi
call edi
mov eax, dword [ebp - 0x10]
mov esi, eax
cmp word [eax], 0
je 0x42bf04
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
lea ecx, [ecx]
push esi
call edi
test eax, eax
je 0x42beec
cmp eax, 1
je 0x42beec
cmp eax, 2
je 0x42beec
cmp eax, 4
je 0x42beec
cmp eax, 5
je 0x42beec
cmp eax, 6
je 0x42beec
call fcn.0042c070
test al, al
jne 0x42beec
push esi
lea ecx, [ebp - 0x28]
call fcn.00404310
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.0042dc80
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x42beec
push dword [ebp - 0x28]
call fcn.004d11f0
add esp, 4
push 0
push esi
call fcn.004d842d
add esp, 8
cmp word [eax + 2], 0
lea esi, [eax + 2]
jne 0x42be90
mov eax, dword [ebp - 0x10]
push eax
call fcn.004d8195
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42bf30
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50f2d8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5557a0]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push esi
mov eax, dword [0x5557a0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
push 4
xor eax, eax
mov dword [esp + 0x28], 7
push 0x5409ec
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.004041e0
mov dword [esp + 0x50], 0
cmp word [esi], 0
jne 0x42bfa1
xor ecx, ecx
jmp 0x42bfb5
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bfa6
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [esp + 0x18]
call fcn.0040e560
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
push 0
cmovae eax, dword [esp + 0x14]
push 0
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x42c032
push 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
push ecx
push 0xc
lea ecx, [esp + 0x40]
mov dword [esp + 0x34], 8
push ecx
push 0xc
lea ecx, [esp + 0x3c]
mov dword [esp + 0x40], 0
push ecx
push 0x2d1400
push eax
mov byte [esp + 0x5c], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp byte [esp + 0x3c], 1
jne 0x42c032
mov bl, 1
jmp 0x42c034
xor bl, bl
cmp dword [esp + 0x24], 8
jb 0x42c047
push dword [esp + 0x10]
call fcn.004d11f0
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004d11d6
mov esp, ebp
pop ebp
ret
Function at 0x42c800
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5557a0]
xor eax, ebp
mov dword [ebp - 4], eax
push 3
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.00408ab0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x10]
push 0
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], 0
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x42c84e
xorps xmm0, xmm0
jmp 0x42c861
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.004de62e
mulsd xmm0, qword [0x541490]
cmp dword [ebp - 0x14], 8
movsd qword [ebp - 0x30], xmm0
jb 0x42c87c
push dword [ebp - 0x28]
call fcn.004d11f0
movsd xmm0, qword [ebp - 0x30]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d11d6
mov esp, ebp
pop ebp
ret

Function at 0x42c890
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x5557a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov dword [ebp - 0x268], 0
push 0x256
push eax
mov word [ebp - 0x25c], ax
mov esi, edx
lea eax, [ebp - 0x25a]
mov edi, ecx
push eax
call fcn.004db610
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x42c920
lea eax, [ebp - 0x260]
push eax
push 4
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x42c919
push 0x104
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x264]
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp word [ebp - 0x25c], ax
jne 0x42c940
xor ecx, ecx
jmp 0x42c95f
lea ecx, [ebp - 0x25c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c950
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x25c]
mov ecx, edi
push eax
call fcn.004041e0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004d11d6
mov esp, ebp
pop ebp
ret
Function at 0x42d200
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f4aa
mov eax, dword fs:[0]
push eax
sub esp, 0x864
mov eax, dword [0x5557a0]
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 edi, edx
mov esi, ecx
push 3
xor ebx, ebx
lea eax, [ebp - 0x834]
push ebx
push eax
mov dword [ebp - 0x83c], ebx
call fcn.00408ab0
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x818]
cmp dword [ebp - 0x820], 8
lea eax, [ebp - 0x834]
push ebx
cmovae eax, dword [ebp - 0x834]
push ebx
push ecx
push eax
mov dword [ebp - 0x818], ebx
mov dword [ebp - 0x814], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x42d44a
xor eax, eax
mov dword [ebp - 0x81c], 1
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.004db610
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x42d2b6
mov eax, dword [esi]
jmp 0x42d2b8
mov eax, esi
push 0x400
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x81c]
push ecx
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x42d356
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x870]
call fcn.00404310
push 5
push str.FAT32
mov byte [ebp - 4], 1
mov ebx, 1
push dword [eax + 0x10]
mov dword [ebp - 0x83c], ebx
push ecx
mov ecx, eax
call fcn.004098f0
test eax, eax
je 0x42d356
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x858]
call fcn.00404310
push 4
push str.NTFS
mov dword [ebp - 4], 2
mov ebx, 3
push dword [eax + 0x10]
mov dword [ebp - 0x83c], ebx
push ecx
mov ecx, eax
call fcn.004098f0
mov byte [ebp - 0x835], 1
test eax, eax
jne 0x42d35d
mov byte [ebp - 0x835], 0
test bl, 2
je 0x42d399
and ebx, 0xfffffffd
cmp dword [ebp - 0x844], 8
jb 0x42d37c
push dword [ebp - 0x858]
call fcn.004d11f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x844], 7
mov dword [ebp - 0x848], 0
mov word [ebp - 0x858], ax
mov dword [ebp - 4], 0
test bl, 1
je 0x42d3bc
cmp dword [ebp - 0x85c], 8
jb 0x42d3bc
push dword [ebp - 0x870]
call fcn.004d11f0
add esp, 4
cmp byte [ebp - 0x835], 0
jne 0x42d44a
mov edx, dword [ebp - 0x814]
mov ecx, dword [ebp - 0x818]
call fcn.004de62e
mulsd xmm0, qword [0x541490]
lea eax, [ebp - 0x870]
push 2
push 0
push eax
mov ecx, esi
movsd qword [ebp - 0x840], xmm0
call fcn.00408ab0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x42d408
mov eax, dword [eax]
mov ecx, eax
call fcn.0042bf30
cmp dword [ebp - 0x85c], 8
mov byte [edi], al
jb 0x42d428
push dword [ebp - 0x870]
call fcn.004d11f0
add esp, 4
cmp byte [edi], 0
movsd xmm0, qword [ebp - 0x840]
je 0x42d455
cvttsd2si eax, xmm0
cmp eax, 0x4400
jle 0x42d455
mulsd xmm0, qword [0x5414d8]
jmp 0x42d44d
xorps xmm0, xmm0
movsd qword [ebp - 0x840], xmm0
cmp dword [ebp - 0x820], 8
jb 0x42d474
push dword [ebp - 0x834]
call fcn.004d11f0
movsd xmm0, qword [ebp - 0x840]
add esp, 4
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.004d11d6
mov esp, ebp
pop ebp
ret
Function at 0x42d610
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50f57f
mov eax, dword fs:[0]
push eax
sub esp, 0x874
mov eax, dword [0x5557a0]
xor eax, esp
mov dword [esp + 0x86c], eax
push ebx
push esi
mov eax, dword [0x5557a0]
xor eax, esp
push eax
lea eax, [esp + 0x880]
mov dword fs:[0], eax
mov esi, ecx
push 3
xor ebx, ebx
lea eax, [esp + 0x60]
push ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.00408ab0
mov dword [esp + 0x888], ebx
lea ecx, [esp + 0x4c]
cmp dword [esp + 0x70], 8
lea eax, [esp + 0x5c]
push ebx
cmovae eax, dword [esp + 0x60]
push ebx
push ecx
push eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x42d7c2
xor eax, eax
mov dword [esp + 0x58], 1
push 0x7fe
push eax
mov word [esp + 0x7c], ax
lea eax, [esp + 0x7e]
push eax
call fcn.004db610
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x42d6c1
mov esi, dword [esi]
push 0x400
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x60]
push eax
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x42d755
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x38]
call fcn.00404310
push 5
push str.FAT32
mov byte [esp + 0x890], 1
mov ebx, 1
push dword [eax + 0x10]
mov dword [esp + 0x20], ebx
push ecx
mov ecx, eax
call fcn.004098f0
test eax, eax
je 0x42d755
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x20]
call fcn.00404310
push 4
push str.NTFS
mov dword [esp + 0x890], 2
mov ebx, 3
push dword [eax + 0x10]
mov dword [esp + 0x20], ebx
push ecx
mov ecx, eax
call fcn.004098f0
mov byte [esp + 0x13], 1
test eax, eax
jne 0x42d75a
mov byte [esp + 0x13], 0
test bl, 2
je 0x42d78c
and ebx, 0xfffffffd
cmp dword [esp + 0x30], 8
jb 0x42d775
push dword [esp + 0x1c]
call fcn.004d11f0
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
test bl, 1
je 0x42d7a4
cmp dword [esp + 0x48], 8
jb 0x42d7a4
push dword [esp + 0x34]
call fcn.004d11f0
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x42d7c2
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
call fcn.004de62e
mulsd xmm0, qword [0x541490]
jmp 0x42d7c5
xorps xmm0, xmm0
cmp dword [esp + 0x70], 8
movsd qword [esp + 0x14], xmm0
jb 0x42d7e4
push dword [esp + 0x5c]
call fcn.004d11f0
movsd xmm0, qword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0x880]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x86c]
xor ecx, esp
call fcn.004d11d6
mov esp, ebp
pop ebp
ret
Function at 0x42e890
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50f660
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
mov eax, dword [0x5557a0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x560ca8], 0
je 0x42e8eb
sub esp, 8
call fcn.004335c0
test eax, eax
jne 0x42e8fe
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esi + 0x28]
test ecx, ecx
jne 0x42e8e6
call fcn.004cf947
mov eax, dword [ecx]
call dword [eax + 8]
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [0x560cc0]
call esi
push 5
push dword [0x560cbc]
call esi
push str.ad_iron_show
lea ecx, [esp + 0x10]
call fcn.00404310
lea eax, [esp + 0x24]
mov dword [esp + 0x48], 0
push eax
mov ecx, 0x560d00
call fcn.00405830
push eax
lea eax, [esp + 0x10]
mov byte [esp + 0x4c], 1
push eax
mov ecx, 0x560d00
call fcn.00407df0
cmp dword [esp + 0x38], 8
jb 0x42e965
push dword [esp + 0x24]
call fcn.004d11f0
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x20], 8
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
jb 0x42e997
push dword [esp + 0xc]
call fcn.004d11f0
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
sub esp, 0x18
mov word [esp + 0x24], ax
mov eax, esp
mov dword [esp + 0x34], 0
mov ecx, 0x561050
push str.ad_show
mov dword [eax + 0x10], 0
call fcn.0041b880
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42e9e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f698
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push edi
mov eax, dword [0x5557a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x560cc4]
call fcn.00433870
test eax, eax
jne 0x42ea4a
push eax
push dword [0x560cc0]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x560cbc]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [edi + 0x28]
test ecx, ecx
jne 0x42ea45
call fcn.004cf947
mov eax, dword [ecx]
call dword [eax + 8]
push 0xe
xor eax, eax
mov dword [ebp - 0x18], 7
push str.ad_iron_reject
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.004041e0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x560d00
call fcn.00405830
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x10], esp
xor edx, edx
push 0xffffffffffffffff
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], dx
call fcn.00403e50
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403e50
mov ecx, 0x560f70
mov byte [ebp - 4], 1
call fcn.00416f80
cmp dword [ebp - 0x30], 8
jb 0x42eaf1
push dword [ebp - 0x44]
call fcn.004d11f0
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x42eb1d
push dword [ebp - 0x2c]
call fcn.004d11f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
sub esp, 0x18
mov word [ebp - 0x2c], ax
mov eax, esp
mov dword [ebp - 0x1c], 0
mov ecx, 0x561050
push str.ad_reject
mov dword [eax + 0x10], 0
call fcn.0041b880
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x42eb60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f698
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push edi
mov eax, dword [0x5557a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x560cc4]
call fcn.004337d0
test eax, eax
jne 0x42ebca
push eax
push dword [0x560cc0]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x560cbc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x28]
test ecx, ecx
jne 0x42ebbc
call fcn.004cf947
mov eax, dword [ecx]
call dword [eax + 8]
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0xe
xor eax, eax
mov byte [edi + 0x43], 1
push str.ad_iron_accept
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.004041e0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x560d00
call fcn.00405830
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x10], esp
xor edx, edx
push 0xffffffffffffffff
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], dx
call fcn.00403e50
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403e50
mov ecx, 0x560f70
mov byte [ebp - 4], 1
call fcn.00416f80
cmp dword [ebp - 0x30], 8
jb 0x42ec75
push dword [ebp - 0x44]
call fcn.004d11f0
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x42eca1
push dword [ebp - 0x2c]
call fcn.004d11f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
sub esp, 0x18
mov word [ebp - 0x2c], ax
mov eax, esp
mov dword [ebp - 0x1c], 0
mov ecx, 0x561050
push str.ad_accept
mov dword [eax + 0x10], 0
call fcn.0041b880
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x42f8e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b0eb
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x5557a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x561154]
test eax, eax
jne 0x42f93e
push 0x38
call fcn.004d11f5
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42f930
mov ecx, eax
call fcn.00410fa0
jmp 0x42f932
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x561154], eax
cmp byte [eax + 0x1b], 0
je 0x42f96b
push 0
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x28]
test ecx, ecx
jne 0x42f966
call fcn.004cf947
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x430130
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
cmp byte [eax + 0x41], 0
je 0x430058
mov eax, dword [0x56117c]
inc eax
mov dword [0x56117c], eax
jmp 0x430074
push str.time_not_init
push 0x24c
push str.SDKAPIImpl::showADWindow::_lambda_3a419ee6a402fcc6e5fd5751bd3e187c_::operator___
call fcn.004359b0
mov eax, dword [0x56117c]
add esp, 0xc
cmp eax, 1
jne 0x4300ec
mov eax, dword [esi]
mov dword [0x561180], 0x3e8
cmp byte [eax + 0x42], 0
je 0x4300ba
cmp byte [0x560ca8], 0
je 0x4300b1
mov eax, dword [esi + 8]
sub eax, 0xb6
push eax
mov eax, dword [esi + 4]
sub eax, 0xaa
push eax
sub esp, 8
push dword [esi + 0xc]
call fcn.00432f20
mov ecx, dword [esi]
call fcn.0042e890
jmp 0x4300ec
push str.init_ret_is_false
push 0x256
push str.SDKAPIImpl::showADWindow::_lambda_3a419ee6a402fcc6e5fd5751bd3e187c_::operator___
call fcn.004359b0
mov eax, dword [esi]
add esp, 0xc
push 0
push dword [eax + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x430124
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [0x561180]
inc eax
mov dword [0x561180], eax
cmp eax, 0x14
jne 0x430122
mov eax, dword [esi]
push 0
mov dword [0x56117c], 0xa
push dword [eax + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x430129
mov eax, dword [ecx]
pop esi
jmp dword [eax + 8]
pop esi
ret
call fcn.004cf947
call fcn.004cf947
int3
add ecx, 4
jmp 0x430040
Function at 0x430270
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50f7b0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x5557a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
and eax, 0xfffffffe
cmp dword [ecx + 0x38], 0
jne 0x4302b3
or eax, 4
push 0
push eax
call fcn.004312c0
mov eax, dword [esi]
mov dword [esp + 0xc], esi
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi + 0x38]
test ecx, ecx
je 0x4302d1
mov eax, dword [ecx]
call dword [eax + 4]
push 1
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.004313c0
mov byte [esp + 0x10], al
mov dword [esp + 0x38], 1
mov eax, dword [esi]
mov eax, dword [eax + 4]
test byte [eax + esi + 0xc], 6
jne 0x430361
mov ecx, dword [eax + esi + 0x38]
movdqu xmm0, xmmword [ebp + 8]
push 1
sub esp, 0x18
mov edx, dword [ecx]
mov eax, esp
movdqu xmmword [eax], xmm0
movq xmm0, qword [ebp + 0x18]
movq qword [eax + 0x10], xmm0
lea eax, [esp + 0x30]
push eax
call dword [edx + 0x2c]
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
adc ecx, dword [esp + 0x20]
cmp eax, dword [0x528af8]
jne 0x430361
cmp ecx, dword [0x528afc]
jne 0x430361
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x430359
or eax, 4
push 0
push eax
call fcn.004312c0
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi + 0x38]
test ecx, ecx
je 0x43037b
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x18

Function at 0x431050
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50f988
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x5557a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00403660
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
push dword [ebp + 8]
push eax
call fcn.00430f80
add esp, 0x24
mov dword [esp + 0x30], 0
cmp dword [eax + 0x14], 0x10
jb 0x4310c1
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
call fcn.004d24e8
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x4310ea
push dword [esp + 0xc]
call fcn.004d11f0
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.std::_System_error.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc