joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x498e26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [ecx + 4]
mov dword [ecx], vtable.btkSocketStream.5.0
mov dword [ecx + 0x30], vtable.btkSocketStream.4.0
mov dword [ecx + 0x34], vtable.btkSocketStream.3.0
mov edx, dword [eax + 4]
push esi
mov dword [edx + ecx + 4], vtable.btkSocketStream.2.0
mov eax, dword [ecx + 4]
mov edx, dword [eax + 8]
push edi
lea esi, [ecx + 0x30]
lea edi, [ecx + 0x34]
mov dword [edx + ecx + 4], vtable.btkSocketStream.1.0
mov eax, dword [ecx + 4]
mov edx, dword [eax + 0x10]
mov dword [edx + ecx + 4], vtable.btkSocketStream.0
mov eax, dword [ecx + 4]
mov eax, dword [eax + 8]
lea edx, [eax - 0x4c]
mov dword [esp + 8], ecx
mov dword [eax + ecx], edx
mov eax, dword [ecx + 4]
mov edx, dword [eax + 8]
lea ecx, [edx + ecx + 4]
mov dword [esp + 0x14], 1
call fcn.00429cb0
mov ecx, edi
mov byte [esp + 0x14], 0
call fcn.00420530
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00420500
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4260b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4990b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
cmp dword [esp + 0x20], ebx
je 0x426151
push edi
lea edi, [esi + 0x64]
lea ecx, [esi + 0x40]
mov dword [esi + 4], 0x4a037c
mov dword [esi + 0x20], 0x4a036c
mov dword [esi + 0x54], 0x4a336c
mov dword [edi], 0x4a334c
mov dword [esi + 0x70], 0x4a0b94
call fcn.0041c840
push ebx
lea ecx, [esi + 0x50]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], 1
call fcn.00429c10
push ebx
mov ecx, edi
mov dword [esp + 0x20], 1
mov dword [esp + 0x10], 3
call fcn.0042a7a0
push ebx
lea ecx, [esi + 0x6c]
mov dword [esp + 0x10], 7
call fcn.0042a860
mov dword [esp + 0xc], 0xf
pop edi
push ebx
mov ecx, esi
call fcn.0042ae00
mov dword [esi + 0x30], vtable.btkProcess::IStream.0
mov dword [esi + 0x34], vtable.btkProcess::OStream.0
mov eax, dword [esi + 4]
mov dword [esi], vtable.btkSocketStream.5.0
mov dword [esi + 0x30], vtable.btkSocketStream.4.0
mov dword [esi + 0x34], vtable.btkSocketStream.3.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], vtable.btkSocketStream.2.0
mov edx, dword [esi + 4]
mov eax, dword [edx + 8]
mov dword [eax + esi + 4], vtable.btkSocketStream.1.0
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x10]
mov dword [edx + esi + 4], vtable.btkSocketStream.0
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
lea ecx, [eax - 0x4c]
mov dword [eax + esi], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x429600
Capabilities:
Accept command line arguments

Disassembly:
call fcn.0047af00
test eax, eax
jne 0x42960f
jmp dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov eax, dword [0x4c0904]
test eax, eax
jne 0x42962c
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00465a50
add esp, 4
mov dword [0x4c0904], eax
ret

Function at 0x429650
Capabilities:
Query environment variable

Disassembly:
call fcn.0047af00
test eax, eax
jne 0x42966f
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
ret
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
push edi
push eax
call fcn.00465a60
mov ebp, dword [esp + 0x20]
lea ecx, [ebp + ebp]
push ecx
mov edi, eax
call fcn.00478880
add esp, 8
push ebp
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
cmp ebx, ebp
jle 0x4296be
push esi
call fcn.00478e30
lea edx, [ebx + ebx]
push edx
call fcn.00478880
add esp, 8
push ebx
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push esi
call fcn.00465a50
push esi
mov ebx, eax
call fcn.00478e30
push edi
call fcn.00478e30
mov eax, ebx
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4296e0
sub eax, edx
inc eax
cmp eax, ebp
jbe 0x42970f
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4296f3
sub eax, edx
push ebx
mov esi, eax
call fcn.00478e30
add esp, 4
pop edi
lea eax, [esi + 1]
pop esi
pop ebp
pop ebx
ret
mov esi, dword [esp + 0x18]
push ebp
push ebx
push esi
call fcn.0047bd90
push ebx
call fcn.00478e30
mov eax, esi
add esp, 0x10
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x429730
pop edi
pop esi
pop ebp
sub eax, edx
pop ebx
ret

Function at 0x429760
Capabilities:
Get session user name

Disassembly:
call fcn.0047af00
test eax, eax
jne 0x42977a
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
ret
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esi]
lea edx, [edi + edi]
push edx
call fcn.00478880
add esp, 4
mov ebp, eax
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x4297ac
push ebp
call fcn.00478e30
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebp
ret
push ebx
push ebp
call fcn.00465a50
mov esi, dword [esp + 0x18]
mov ebx, eax
push edi
push ebx
push esi
call fcn.0047bd90
mov eax, esi
add esp, 0x10
mov byte [edi + esi - 1], 0
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4297d0
mov ecx, dword [esp + 0x18]
sub eax, edx
push ebp
mov dword [ecx], eax
call fcn.00478e30
push ebx
call fcn.00478e30
add esp, 8
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
ret
Function at 0x429900
Capabilities:
Get disk information

Disassembly:
call fcn.0047af00
test eax, eax
jne 0x429938
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
ret
mov edx, dword [esp + 4]
push ebx
push ebp
push esi
push edi
push edx
xor ebx, ebx
xor edi, edi
call fcn.00465a60
add esp, 4
mov esi, eax
cmp dword [esp + 0x18], ebx
je 0x429964
push 0x20a
call fcn.00478880
add esp, 4
mov ebx, eax
cmp dword [esp + 0x2c], edi
je 0x429979
push 0x20a
call fcn.00478880
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push 0x105
push edi
push eax
push ecx
push edx
push 0x105
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push esi
mov ebp, eax
call fcn.00478e30
add esp, 4
test ebp, ebp
je 0x4299fa
cmp dword [esp + 0x18], 0
je 0x4299d2
push ebx
call fcn.00465a50
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x20]
push eax
push esi
push ecx
call fcn.0047bd90
push esi
call fcn.00478e30
add esp, 0x14
cmp dword [esp + 0x2c], 0
je 0x4299fa
push edi
call fcn.00465a50
mov edx, dword [esp + 0x34]
mov esi, eax
mov eax, dword [esp + 0x30]
push edx
push esi
push eax
call fcn.0047bd90
push esi
call fcn.00478e30
add esp, 0x14
push edi
call fcn.00478e30
push ebx
call fcn.00478e30
add esp, 8
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret
Function at 0x429ad0
Capabilities:
Access the windows event log

Disassembly:
push ecx
call fcn.0047af00
test eax, eax
jne 0x429b0f
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
pop ecx
ret
push esi
mov esi, dword [esp + 0x20]
push edi
movzx edi, si
test edi, edi
jle 0x429bb5
push ebx
lea eax, [edi*4]
push ebp
push eax
call fcn.00478880
add esp, 4
mov ebx, eax
test edi, edi
jle 0x429b60
mov ebp, dword [esp + 0x34]
mov esi, ebx
sub ebp, ebx
mov dword [esp + 0x10], edi
mov ecx, dword [esi + ebp]
push ecx
call fcn.00465a60
mov dword [esi], eax
add esp, 4
add esi, 4
sub dword [esp + 0x10], 1
jne 0x429b44
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push ebx
push eax
mov eax, dword [esp + 0x2c]
push esi
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
xor esi, esi
mov ebp, eax
test edi, edi
jle 0x429ba4
mov eax, dword [ebx + esi*4]
push eax
call fcn.00478e30
inc esi
add esp, 4
cmp esi, edi
jl 0x429b93
push ebx
call fcn.00478e30
add esp, 4
mov eax, ebp
pop ebp
pop ebx
pop edi
pop esi
pop ecx
ret
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push 0
push edx
mov edx, dword [esp + 0x24]
push esi
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
pop edi
pop esi
pop ecx
ret
Function at 0x42cfc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x499680
push eax
mov dword fs:[0], esp
mov eax, dword [0x4c0934]
sub esp, 0x40
test eax, eax
je 0x42d12e
cmp dword [0x4c0944], 0
je 0x42d12e
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push eax
call ebp
mov eax, dword [0x4c0944]
push 1
push eax
lea ecx, [esp + 0x2c]
call fcn.0042cc50
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 0x4c], 0
call eax
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
test al, al
jne 0x42d120
push esi
push edi
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov esi, dword [eax]
cmp dword [esi + 8], 0
je 0x42d100
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x42d100
mov eax, dword [esi + 8]
add eax, 4
push eax
call ebp
mov edx, dword [esi + 8]
push 1
add edx, 0x48
push edx
lea ecx, [esp + 0x14]
call fcn.0042cce0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax]
mov byte [esp + 0x54], 1
call edx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
test al, al
jne 0x42d0e0
lea ebx, [ebx]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov ecx, dword [esp + 0x10]
cmp dword [eax], edi
mov eax, dword [ecx]
je 0x42d0cb
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
test al, al
je 0x42d0a0
jmp 0x42d0e0
mov edx, dword [eax + 0x14]
call edx
mov ecx, edi
call fcn.004220e0
push edi
call fcn.00466620
add esp, 4
mov eax, dword [esi + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esi + 4]
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov byte [esp + 0x54], 0
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x42d034
pop edi
pop esi
mov ecx, dword [0x4c0934]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x42eed0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x388
push esi
push edi
mov dword [ebp - 0x388], ecx
mov eax, dword [ebp - 0x388]
cmp dword [eax + 0x14], 0
jne 0x42eef8
mov ecx, dword [ebp - 0x388]
call fcn.0042ea20
cmp dword [ebp + 0x14], 0
jne 0x42ef9d
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 0x10], eax
jne 0x42ef4b
push 0x2cc
push 0
lea ecx, [ebp - 0x380]
push ecx
call fcn.004063f0
add esp, 0xc
mov dword [ebp - 0x380], 0x10007
call 0x42ef32
pop eax
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2cc], ebp
mov dword [ebp - 0x2bc], esp
xor edx, edx
jne 0x42ef0d
jmp 0x42ef9b
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea ecx, [ebp - 0x380]
push ecx
call fcn.004063f0
add esp, 0xc
mov dword [ebp - 0x380], 0x10007
lea edx, [ebp - 0x380]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x42ef9b
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
jmp 0x42f0eb
jmp 0x42efad
mov esi, dword [ebp + 0x14]
mov ecx, 0xb3
lea edi, [ebp - 0x380]
rep movsd dword es:[edi], dword [esi]
push 0xa4
push 0
lea edx, [ebp - 0xa8]
push edx
call fcn.004063f0
add esp, 0xc
mov dword [ebp - 0xac], 0x14c
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa0], 3
mov ecx, dword [ebp - 0x2cc]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x88], 3
mov edx, dword [ebp - 0x2bc]
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x7c], 3
mov dword [ebp - 0x384], 0
jmp 0x42f027
mov eax, dword [ebp - 0x384]
add eax, 1
mov dword [ebp - 0x384], eax
mov ecx, dword [ebp - 0x384]
cmp ecx, dword [ebp + 0xc]
jge 0x42f0d6
mov edx, dword [ebp - 0x388]
cmp dword [edx + 8], 0
je 0x42f07f
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x380]
push eax
lea ecx, [ebp - 0xa8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x388]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0x388]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x38]
call edx
test eax, eax
jne 0x42f0aa
mov eax, dword [ebp - 0xa8]
xor ecx, ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.StackWalk64
mov edx, dword [ebp - 0x388]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x388]
mov edx, dword [eax + 8]
call edx
jmp 0x42f0d6
cmp dword [ebp - 0x9c], 0
jne 0x42f0b5
jmp 0x42f0d6
mov edi, dword [ebp - 0x384]
imul edi, edi, 0xa4
add edi, dword [ebp + 8]
mov ecx, 0x29
lea esi, [ebp - 0xa8]
rep movsd dword es:[edi], dword [esi]
jmp 0x42f018
cmp dword [ebp + 0x14], 0
jne 0x42f0e6
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44c870
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x44]
push edi
test eax, eax
je 0x44c8af
push ebx
mov ebx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ebx
push 1
push eax
call fcn.0046beb0
add esp, 0x10
mov edi, eax
cmp edi, ebx
pop ebx
je 0x44c8a8
mov ecx, dword [esi + 0x44]
push ecx
call fcn.0046be60
add esp, 4
test eax, eax
je 0x44c8d7
mov eax, edi
pop edi
pop esi
ret 8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0
lea edx, [esp + 0x14]
push edx
mov edx, dword [esi + 0x3c]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44c8d7
mov eax, dword [esp + 0x10]
pop edi
pop esi
ret 8
pop edi
or eax, 0xffffffff
pop esi
ret 8

Function at 0x44e4b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49a35e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], vtable.btkPipeStream.0
cmp byte [esi + 0xc], 0
mov dword [esp + 0x14], 2
je 0x44e504
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 8]
lea ecx, [ecx + esi + 0x14]
call fcn.00429cb0
mov edx, dword [esi + 0x70]
mov eax, dword [edx + 8]
lea ecx, [eax + esi + 0x70]
call fcn.00429cb0
mov byte [esi + 0xc], 0
lea edi, [esi + 0x6c]
mov ecx, edi
mov byte [esp + 0x14], 1
call fcn.0044d020
lea ecx, [edi + 0x44]
call fcn.0042a770
lea ecx, [edi + 0x20]
call fcn.0041c860
lea edi, [esi + 0x10]
mov ecx, edi
mov byte [esp + 0x14], 0
call fcn.0044cf30
lea ecx, [edi + 0x54]
call fcn.0042a770
lea ecx, [edi + 0x30]
call fcn.0041c860
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.0041c860
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x45726e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49a9a8
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x1c]
push esi
mov esi, ecx
push edi
mov dword [esi], eax
test ebx, ebx
jne 0x45727d
mov ebx, 0x49dbc8
lea edi, [esi + 4]
mov ecx, edi
mov dword [esp + 0x1c], edi
call fcn.004193b0
push ebx
mov ecx, edi
mov dword [esp + 0x18], 0
call fcn.00417f30
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0xc]
pop edi
mov dword [esi + 0xc], edx
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x18
Function at 0x45a250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49acea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], ebx
push edi
mov dword [esp + 0x14], esi
cmp dword [esp + 0x30], ebx
je 0x45a299
lea ecx, [esi + 0x48]
mov dword [esi + 4], 0x4a4314
call fcn.0041c840
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x2c]
lea ecx, [esi + 0x28]
mov dword [esi + 8], 0xfffffffd
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x20], bl
mov dword [esi + 0x24], ebx
mov dword [ecx], bind
mov dword [ecx + 4], ebx
call fcn.0041a480
mov ebp, dword [esp + 0x28]
mov dword [esi + 0x30], ebx
cmp ebp, ebx
jne 0x45a2d7
mov ebp, str.non_specified
lea edi, [esi + 0x34]
mov ecx, edi
mov dword [esp + 0x30], edi
call fcn.004193b0
push ebp
mov ecx, edi
mov dword [esp + 0x24], 1
call fcn.00417f30
lea ecx, [esi + 0x38]
mov dword [esp + 0x20], 2
call fcn.0040f5a0
mov byte [esp + 0x20], 3
mov dword [esi + 0x40], 0xffffffff
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esi + 0x14], eax
call fcn.00448170
mov edi, eax
cmp edi, ebx
jne 0x45a333
mov ecx, 0x4d1e30
call fcn.004766b0
mov dword [esi + 0x3c], eax
jmp 0x45a374
call fcn.0042fab0
test al, 2
jne 0x45a348
mov ecx, 0x4d1e30
call fcn.004766b0
jmp 0x45a356
push str.CommTrailID
push edi
call fcn.00432ed0
add esp, 8
mov dword [esi + 0x3c], eax
call fcn.0042fab0
test al, 1
je 0x45a374
mov ecx, dword [esi + 0x3c]
push ecx
push str.CommTrailID
push edi
call fcn.00432f80
add esp, 0xc
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc
Function at 0x45ce90
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x49b1d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.0041c840
xor eax, eax
lea edi, [esi + 0x10]
mov ecx, edi
mov dword [esp + 0x30], eax
mov dword [esi + 0xc], eax
call fcn.00426dc0
mov ebp, dword [esp + 0x38]
mov eax, 1
push eax
push ebp
lea ecx, [esi + 0x24]
mov dword [esp + 0x38], eax
mov dword [esi], vtable.btkSockConnectionPoint.0
mov byte [esi + 0x20], al
call fcn.004242f0
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
mov byte [esp + 0x34], 2
mov dword [esi + 0xc], 3
call fcn.00424390
mov ebx, dword [eax]
mov ecx, ebp
mov byte [esp + 0x30], 3
call fcn.00422e60
push eax
push ebx
lea ecx, [esp + 0x40]
push str.net:___s:_d
push ecx
call fcn.00419980
add esp, 0x10
mov bl, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
call fcn.00425210
lea edx, [esp + 0x18]
push edx
mov ecx, edi
mov byte [esp + 0x34], 5
call fcn.0041c080
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call fcn.004252f0
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 3
call fcn.0040e600
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.0040e600
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x49b1d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.0041c840
xor eax, eax
lea edi, [esi + 0x10]
mov ecx, edi
mov dword [esp + 0x30], eax
mov dword [esi + 0xc], eax
call fcn.00426dc0
mov ebp, dword [esp + 0x38]
mov eax, 1
push eax
push ebp
lea ecx, [esi + 0x24]
mov dword [esp + 0x38], eax
mov dword [esi], vtable.btkSockConnectionPoint.0
mov byte [esi + 0x20], al
call fcn.004242f0
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
mov byte [esp + 0x34], 2
mov dword [esi + 0xc], 3
call fcn.00424390
mov ebx, dword [eax]
mov ecx, ebp
mov byte [esp + 0x30], 3
call fcn.00422e60
push eax
push ebx
lea ecx, [esp + 0x40]
push str.net:___s:_d
push ecx
call fcn.00419980
add esp, 0x10
mov bl, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
call fcn.00425210
lea edx, [esp + 0x18]
push edx
mov ecx, edi
mov byte [esp + 0x34], 5
call fcn.0041c080
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call fcn.004252f0
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 3
call fcn.0040e600
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.0040e600
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x461270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49b838
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
lea ecx, [esp + 0xc]
call fcn.0040f5a0
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
call fcn.0040f5a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.0040f5a0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.0040f5a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 3
call fcn.0040f5a0
mov edi, dword [esp + 0x38]
lea eax, [esp + 0x10]
push eax
mov ecx, edi
mov byte [esp + 0x34], 4
call fcn.00425350
lea ecx, [esp + 8]
mov byte [esp + 0x30], 5
call fcn.004193b0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 6
call fcn.00418010
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x4c], 7
call fcn.00425720
add esp, 0x1c
lea ecx, [esp + 8]
mov byte [esp + 0x30], 5
call fcn.0040e600
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 4
call fcn.0040e600
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0xc]
push eax
push ecx
push edx
call fcn.0045da90
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4613a0
push ebp
mov ebp, dword [esp + 0x48]
test ebp, ebp
je 0x46139f
mov eax, dword [esi]
mov edx, dword [eax]
push edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
push eax
mov ecx, ebp
mov byte [esp + 0x38], 8
call fcn.00418010
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 4
call fcn.0040e600
pop ebp
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 3
call fcn.0040e600
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.0040e600
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.0040e600
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 0
call fcn.0040e600
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0040e600
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret