joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009d290
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10171aa5
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x101e0cf8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push eax
push 0
push edi
mov dword [ebp - 4], 0
call fcn.100646d0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x1c]
add esp, 0xc
cmp eax, 1
je 0x1009d2e3
test eax, eax
jne 0x1009d347
mov word [edi], 2
movzx ecx, word [ebx + 0x18]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [edi + 2], ax
mov edx, dword [ebx + 8]
mov eax, dword [edx + 4]
lea esi, [ebx + 8]
mov ecx, esi
call eax
test eax, eax
jne 0x1009d311
push eax
call dword [sym.imp.WS2_32.dll_htonl]
jmp 0x1009d344
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
mov ecx, esi
call eax
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [edi + 4], eax
jne 0x1009d347
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
mov ecx, esi
call eax
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x1009d347
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [edi + 4], eax
cmp dword [ebx + 0x1c], 2
jne 0x1009d352
mov word [edi], 6
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 0x100a5350
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x101734b3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
mov esi, ecx
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0x20]
xor ebx, ebx
mov dword [esi], ecx
push 0xffffffffffffffff
lea ecx, [esi + 4]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov dword [esp + 0x24], ebx
mov byte [ecx + 4], bl
call fcn.100034b0
push 0xffffffffffffffff
lea ecx, [esi + 0x20]
push ebx
lea edx, [esp + 0x30]
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x24], 1
mov word [ecx + 4], bx
call fcn.10003660
cmp dword [esp + 0x40], 8
jb 0x100a53d9
mov eax, dword [esp + 0x2c]
push eax
call fcn.100bbe20
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x24
Function at 0x100a8c40
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x10173e98
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x101e0cf8]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x74]
xor ebx, ebx
push 0x18
mov edi, ecx
mov esi, 0xf
push str.izg::CPacket::EnumFields
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.10003590
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x78], ebx
call fcn.100703f0
cmp dword [esp + 0x30], 0x10
mov byte [esp + 0x6c], 2
jb 0x100a8cd0
mov edx, dword [esp + 0x1c]
push edx
call fcn.100bbe20
add esp, 4
mov dword [esp + 0x30], esi
lea esi, [edi + 0x28]
mov ecx, esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x34], esi
call fcn.100e9b80
add edi, 0x18
push edi
mov ecx, ebp
mov byte [esp + 0x70], 3
call fcn.100a6ae0
mov edi, dword [esp + 0x14]
mov ecx, esi
mov byte [esp + 0x6c], 2
call fcn.100ea1a0
lea ecx, [esp + 0x38]
mov dword [esp + 0x6c], 0xffffffff
call fcn.10070560
mov eax, edi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.100bc9af
add esp, 0x5c
ret 4

Function at 0x100aa9f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x101741e6
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x20]
mov dword [esi], vtable.izg::CReplyReceiver.0
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov ecx, dword [eax]
mov dword [esi + 0xc], ecx
mov edx, dword [eax + 4]
mov eax, ecx
push eax
mov dword [esi + 0x10], edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esp + 0x18], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
push 1
lea ecx, [esi + 0x28]
mov byte [esp + 0x1c], 1
call fcn.10109190
mov al, byte [esp + 0x24]
mov byte [esi + 0x2c], al
mov dword [esi + 0x30], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 8
Function at 0x100ac240
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x10174494
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.10101440
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
mov dword [esi], vtable.izg::CSendRecvRequestWorker.0
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov edx, dword [eax + 4]
mov eax, ecx
push eax
mov dword [esi + 0xc], edx
call edi
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esi + 0x10]
mov byte [esp + 0x1c], 1
call fcn.100ac110
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov dword [esi + 0x20], ecx
mov edx, dword [eax]
mov dword [esi + 0x24], edx
mov eax, dword [eax + 4]
mov dword [esi + 0x28], eax
mov eax, edx
push eax
call edi
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov dword [esi + 0x2c], ecx
mov edx, dword [eax + 4]
mov eax, ecx
push eax
mov dword [esi + 0x30], edx
call edi
mov eax, dword [esp + 0x2c]
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 4
mov dword [esi + 0x34], eax
call fcn.100e5bc0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x18

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

Disassembly:
push 0xffffffffffffffff
push 0x10174630
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0x4d
lea ecx, [esp + 0xc]
call fcn.1000d900
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x70]
push edx
mov edx, dword [esp + 0x40]
push edx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x3c], 0
call eax
mov edx, dword [esp + 8]
push eax
mov eax, dword [edx + 0x38]
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 1
call eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0
call fcn.1000d9b0
lea ecx, [esp + 8]
call fcn.1000e3b0
test al, al
lea ecx, [esp + 8]
je 0x100acac0
push 0
call fcn.1000e650
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x30], 0xffffffff
call fcn.1000d9b0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
mov dword [esp + 0x30], 0xffffffff
call fcn.1000d9b0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
Function at 0x100b9550
Capabilities:
Create mailslot

Disassembly:
push 0xffffffffffffffff
push 0x101760d0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov al, byte [esp + 0x54]
push 0x4d
push str..mailslot_
lea ecx, [esp + 0x18]
mov byte [esp + 0x17], 0
mov byte [esi + 8], al
call fcn.1000d930
mov ecx, dword [esp + 0x50]
push 0x4d
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], 0
call fcn.1000d930
mov ebx, 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], bl
call fcn.1000cd60
test eax, eax
jne 0x100b95f5
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], al
call fcn.1000d9b0
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
call fcn.1000d9b0
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x40
ret 8
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x14]
call edx
cmp byte [esi + 8], 0
push ebx
je 0x100b964b
call fcn.1002e8d0
sub eax, ebx
neg eax
sbb eax, eax
add eax, 0x56
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x1c]
call fcn.1000da60
mov edx, dword [eax]
push 0
push 0x3e8
mov ecx, eax
mov eax, dword [edx + 0x54]
push 0
mov byte [esp + 0x54], 2
call eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMailslotW]
jmp 0x100b968f
call fcn.1002e8d0
sub eax, ebx
neg eax
sbb eax, eax
add eax, 0x56
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x1c]
call fcn.1000da60
mov edx, dword [eax]
push 0
push 0x80
push 3
push 0
push 3
mov ecx, eax
mov eax, dword [edx + 0x54]
push 0x40000000
mov byte [esp + 0x60], 3
call eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
lea ecx, [esp + 0x30]
mov dword [esi + 4], eax
mov byte [esp + 0x48], bl
call fcn.1000d9b0
cmp dword [esi + 4], 0xffffffff
jne 0x100b96a9
mov bl, byte [esp + 0xf]
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 0
call fcn.1000d9b0
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
call fcn.1000d9b0
mov al, bl
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x40
ret 8

Function at 0x100b9710
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x100b9742
cmp byte [ecx + 8], 0
jne 0x100b9742
mov edx, dword [esp + 8]
push 0
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x100b9742
mov eax, 2
ret 8
xor eax, eax
ret 8
Function at 0x100b9750
Capabilities:
Read file on windows
Read from mailslot

Disassembly:
sub esp, 0xc
push ebx
push edi
mov edi, ecx
cmp dword [edi + 4], 0xffffffff
je 0x100b9860
xor ebx, ebx
cmp byte [edi + 8], bl
je 0x100b9860
mov edx, dword [edi + 0xc]
push ebp
push esi
lea esi, [edi + 0xc]
push ebx
lea eax, [esp + 0x14]
push eax
mov eax, dword [edx + 4]
mov ecx, esi
mov dword [esp + 0x18], ebx
call eax
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x10]
push 0xffffffffffffffff
push ebx
mov ecx, esi
call eax
mov ecx, dword [edi + 4]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
push ecx
call ebp
cmp eax, 1
je 0x100b982e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x79
je 0x100b9846
cmp eax, 0x7a
jne 0x100b9853
mov edx, dword [esp + 0x10]
push edx
push str.Read_INSUFFICIENT_BUFFER__d_n
call fcn.100c14fa
mov edx, dword [edi + 4]
add esp, 8
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebx
push edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_GetMailslotInfo]
test eax, eax
je 0x100b9853
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
push ecx
mov ecx, esi
call edx
mov edx, dword [esi]
push ebx
lea eax, [esp + 0x14]
push eax
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x10]
push 0xffffffffffffffff
push ebx
mov ecx, esi
call eax
mov ecx, dword [edi + 4]
push eax
push ecx
call ebp
cmp eax, 1
jne 0x100b97a8
mov edx, dword [esi]
mov eax, dword [esp + 0x10]
mov edx, dword [edx + 0xc]
push eax
mov ecx, esi
call edx
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0xc
ret
pop esi
pop ebp
pop edi
mov eax, 3
pop ebx
add esp, 0xc
ret
pop esi
pop ebp
pop edi
mov eax, 2
pop ebx
add esp, 0xc
ret
pop edi
mov eax, 1
pop ebx
add esp, 0xc
ret

Function at 0x100bc9af
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101e0cf8]
jne 0x100bc9b9
repz ret
jmp fcn.100c6e6c
Function at 0x100c030f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x100c034c
cmp dword [ebp + 0x14], edi
je 0x100c034c
cmp ecx, edi
jne 0x100c0353
call fcn.100bf5d5
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.100bcafc
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x100c0367
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x100c0388
cmp ebx, 0xffffffff
je 0x100c0377
push ebx
push edi
push ecx
call fcn.100bd300
add esp, 0xc
cmp esi, edi
je 0x100c0334
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x100c0334
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x100c03a4
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x100c03ab
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x100c049c
test word [esi + 0xc], 0x10c
je 0x100c03ff
mov eax, dword [esi + 4]
test eax, eax
je 0x100c03ff
jl 0x100c04fd
cmp ebx, eax
mov edi, ebx
jb 0x100c03d0
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x100c04a4
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.100bc147
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x100c0494
cmp ebx, dword [ebp - 0xc]
jb 0x100c046c
cmp dword [ebp - 0xc], 0
je 0x100c0429
mov ecx, accept
xor edx, edx
cmp ebx, ecx
jbe 0x100c041e
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x100c0425
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x100c0434
mov eax, accept
cmp ebx, eax
ja 0x100c0434
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x100c04d0
push eax
push dword [ebp - 8]
push esi
call fcn.100ce7d7
pop ecx
push eax
call fcn.100cf6f0
add esp, 0xc
test eax, eax
je 0x100c050f
cmp eax, 0xffffffff
je 0x100c04fd
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x100c0494
push esi
call fcn.100cf00f
cmp eax, 0xffffffff
pop ecx
je 0x100c0501
cmp dword [ebp - 4], 0
je 0x100c04d0
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x100c03b3
mov eax, dword [ebp + 0x14]
jmp 0x100c034e
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x100c04bb
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.100bd300
add esp, 0xc
call fcn.100bf5d5
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x100c0344
cmp dword [ebp + 0xc], 0xffffffff
je 0x100c04e6
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.100bd300
add esp, 0xc
call fcn.100bf5d5
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x100c0344
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x100c034e
or dword [esi + 0xc], 0x10
jmp 0x100c0501
Function at 0x100c9aa4
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x101e1738]
je 0x100c9abf
inc edi
cmp edi, 0x17
jb 0x100c9ab0
cmp edi, 0x17
jae 0x100c9c3f
push ebp
push 3
call fcn.100dd55e
cmp eax, 1
pop ecx
je 0x100c9c0b
push 3
call fcn.100dd55e
test eax, eax
pop ecx
jne 0x100c9af3
cmp dword [0x101e4240], 1
je 0x100c9c0b
cmp ebx, 0xfc
je 0x100c9c3e
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x101e4898
push ebp
call fcn.100c119d
add esp, 0xc
test eax, eax
je 0x100c9b29
push esi
push esi
push esi
push esi
push esi
call fcn.100bc9c8
add esp, 0x14
push 0x104
mov esi, 0x101e48b1
push esi
push 0
mov byte [0x101e49b5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100c9b6d
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.100c119d
add esp, 0xc
test eax, eax
je 0x100c9b6d
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.100bc9c8
add esp, 0x14
push esi
call fcn.100c1650
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x100c9bb2
push esi
call fcn.100c1650
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x101e4bac
push 0x1018ae6c
sub ecx, eax
push ecx
push eax
call fcn.100c135f
add esp, 0x14
test eax, eax
je 0x100c9bb2
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.100bc9c8
add esp, 0x14
jmp 0x100c9bb4
xor esi, esi
push 0x1018ae68
push ebx
push ebp
call fcn.100c1412
add esp, 0xc
test eax, eax
je 0x100c9bd4
push esi
push esi
push esi
push esi
push esi
call fcn.100bc9c8
add esp, 0x14
push dword [edi*8 + 0x101e173c]
push ebx
push ebp
call fcn.100c1412
add esp, 0xc
test eax, eax
je 0x100c9bf6
push esi
push esi
push esi
push esi
push esi
call fcn.100bc9c8
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.100dd3a1
add esp, 0xc
jmp 0x100c9c3e
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x100c9c3e
cmp ebp, 0xffffffff
je 0x100c9c3e
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x101e173c]
push dword [esi]
call fcn.100c1650
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x100dd3a1
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.100c53d5
xor ebx, ebx
cmp dword [0x101e4ce0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x100dd477
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x100dd557
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x100dd557
push eax
call fcn.100c5367
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101e4ce0], eax
call esi
push eax
call fcn.100c5367
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101e4ce4], eax
call esi
push eax
call fcn.100c5367
mov dword [0x101e4ce8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.100c4f66
test eax, eax
pop ecx
pop ecx
je 0x100dd445
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100bc9c8
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x100dd477
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.100c5367
cmp eax, ebx
pop ecx
mov dword [0x101e4cf0], eax
je 0x100dd477
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100c5367
pop ecx
mov dword [0x101e4cec], eax
mov eax, dword [0x101e4cec]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x100dd4fc
cmp dword [0x101e4cf0], ecx
je 0x100dd4fc
push eax
call fcn.100c53de
push dword [0x101e4cf0]
mov esi, eax
call fcn.100c53de
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x100dd4fc
cmp edi, ebx
je 0x100dd4fc
call esi
cmp eax, ebx
je 0x100dd4c9
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100dd4c9
test byte [ebp - 0x18], 1
jne 0x100dd4fc
lea eax, [ebp - 0x10]
push eax
call fcn.100c5015
test eax, eax
pop ecx
je 0x100dd4e4
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100bc9c8
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x100dd4f3
or dword [ebp + 0x10], 0x200000
jmp 0x100dd537
or dword [ebp + 0x10], 0x40000
jmp 0x100dd537
mov eax, dword [0x101e4ce4]
cmp eax, dword [ebp - 8]
je 0x100dd537
push eax
call fcn.100c53de
cmp eax, ebx
pop ecx
je 0x100dd537
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x100dd537
mov eax, dword [0x101e4ce8]
cmp eax, dword [ebp - 8]
je 0x100dd537
push eax
call fcn.100c53de
cmp eax, ebx
pop ecx
je 0x100dd537
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101e4ce0]
call fcn.100c53de
cmp eax, ebx
pop ecx
je 0x100dd557
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100dd559
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100f5d80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101770e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x44]
call fcn.10101440
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x44]
mov dword [eax], vtable.Poco::PooledThread.0
mov ecx, dword [ebp - 0x44]
mov byte [ecx + 4], 1
mov edx, dword [ebp - 0x44]
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x44]
add ecx, 0x14
mov dword [ebp - 0x40], ecx
push 0
push 0
mov ecx, dword [ebp - 0x40]
call fcn.10002cf0
mov edx, dword [0x1018c500]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.100034b0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0x30
call fcn.1010bfa0
mov byte [ebp - 4], 2
push 1
mov ecx, dword [ebp - 0x44]
add ecx, 0x88
call fcn.10109190
mov byte [ebp - 4], 3
push 0
mov ecx, dword [ebp - 0x44]
add ecx, 0x8c
call fcn.10109190
mov byte [ebp - 4], 4
push 1
mov ecx, dword [ebp - 0x44]
add ecx, 0x90
call fcn.10109190
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x44]
add ecx, 0x94
call fcn.101144e0
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x48], eax
push 0
call fcn.100bfd3a
add esp, 4
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8