joyce8/EMBER2024-capa huggingface dataset:
Function at 0x498750
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0c61
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x613384]
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]
push ebx
call fcn.00464fe0
add esp, 4
test al, al
jne 0x498910
push str.API_MS_WIN_
push ebx
call fcn.00448b00
add esp, 8
test al, al
je 0x4987f1
push 0x110
lea eax, [ebp - 0x120]
mov dword [ebp - 0x124], 0x114
push 0
push eax
call fcn.00546c70
add esp, 0xc
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4987f1
cmp dword [ebp - 0x120], 6
ja 0x498910
jne 0x4987f1
cmp dword [ebp - 0x11c], 2
jae 0x498910
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
push 0x400
mov dword [ebp - 4], 2
call fcn.00449270
xor ecx, ecx
mov dword [ebp - 0x128], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00544c6b
mov edi, eax
add esp, 8
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x49886d
mov ecx, dword [ebp - 0x128]
dec ecx
push ecx
push eax
push edi
call fcn.00566d5b
mov eax, dword [ebp - 0x128]
xor ecx, ecx
mov word [edi + eax*2 - 2], cx
push dword [ebp - 0x12c]
call fcn.0054454b
add esp, 0x10
jmp 0x498872
xor eax, eax
mov word [edi], ax
mov dword [ebp - 0x12c], edi
mov esi, dword [ebp - 0x128]
push esi
push edi
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
jb 0x49889e
push dword [ebp - 0x12c]
xor esi, esi
jmp 0x498988
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
mov byte [ebp - 0x13c], 0
push 1
push 0xffffffffffffffff
push 0xfde9
push ebx
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 4
call fcn.00481da0
push 0xffffffffffffffff
push dword [ebp - 0x140]
lea ecx, [ebp - 0x12c]
push 0xffffffffffffffff
push 0x5bd160
call fcn.00498580
mov ecx, eax
call fcn.00498580
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [ebp - 0x144]
mov esi, eax
call fcn.004139c0
push dword [ebp - 0x12c]
jmp 0x498988
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x130], 0
push 1
push 0xffffffffffffffff
push 0xfde9
push ebx
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], 0
call fcn.00481da0
push dword [ebp - 0x134]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp byte [ebp - 0x130], 0
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 4], 1
je 0x498987
test ecx, ecx
je 0x498987
mov eax, dword [ebp - 0x138]
add eax, eax
push eax
push ecx
call fcn.0045fa10
mov ecx, dword [ebp - 0x134]
add esp, 8
push ecx
call fcn.0054454b
mov eax, esi
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.00544c5a
mov esp, ebp
pop ebp
ret
Function at 0x49c230
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
movzx edi, al
mov esi, ecx
push ebx
push edi
push str.vkCode_0x_x_flags_0x_x
push 0x617f24
mov dword [ebp - 4], edi
call fcn.00455650
mov edx, ebx
lea eax, [esi + 4]
and edx, 1
mov dword [ebp - 8], eax
shl edx, 8
add esp, 0x10
or edx, edi
mov dword [ebp - 0x10], edx
test bl, 2
je 0x49c325
mov ebx, dword [eax]
mov esi, ebx
mov eax, dword [ebx + 4]
mov ecx, eax
cmp byte [ecx + 0xd], 0
jne 0x49c2aa
mov edi, dword [ecx + 0x10]
cmp edi, edx
jge 0x49c292
mov ecx, dword [ecx + 8]
jmp 0x49c2a1
cmp byte [esi + 0xd], 0
je 0x49c29d
cmp edx, edi
cmovl esi, ecx
mov ebx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x49c286
mov edi, dword [ebp - 4]
cmp byte [esi + 0xd], 0
jne 0x49c2b2
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x49c2cc
cmp edx, dword [eax + 0x10]
jge 0x49c2c3
mov esi, eax
mov eax, dword [eax]
jmp 0x49c2c6
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
je 0x49c2b8
mov eax, ebx
cmp ebx, esi
je 0x49c312
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x49c2f8
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x49c2f4
cmp eax, dword [ecx + 8]
jne 0x49c2f4
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x49c2e4
mov eax, ecx
jmp 0x49c30e
mov eax, ecx
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x49c30e
mov ecx, dword [edx]
mov eax, edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x49c302
cmp eax, esi
jne 0x49c2d2
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x10]
push esi
push ebx
push eax
call fcn.0049bf10
mov ebx, dword [ebp + 0xc]
jmp 0x49c339
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
push ecx
push 0
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.0049b870
push 0
push ebx
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_keybd_event]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x49c670
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x613384]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x14]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
test eax, eax
je 0x49c6b7
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x49c6ec
mov eax, dword [esi + 8]
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push edi
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x10], eax
xor ecx, ebp
pop edi
mov eax, esi
pop esi
call fcn.00544c5a
mov esp, ebp
pop ebp
ret 0x10
push 0xd
push str.c:ent_slave_rootworkspace_vncconnect_buildsclients_vnc_7.6.xlabelcon_windows_64_rvcore_baseoswinwinhook.cxx
push str._next__next__getHookType____hookType
lea ecx, [ebp - 0x154]
call fcn.00465850
push eax
call fcn.004658d0
int3

Function at 0x49c770
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1160
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x613384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, esi
jne 0x49c7de
mov eax, dword [esi + 8]
push dword [esi + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00544c5a
mov esp, ebp
pop ebp
ret
push 0x14
push str.c:ent_slave_rootworkspace_vncconnect_buildsclients_vnc_7.6.xlabelcon_windows_64_rvcore_baseoswinwinhook.cxx
push str.pThrInst__this
lea ecx, [ebp - 0x160]
call fcn.00465850
push eax
call fcn.004658d0
int3
Function at 0x49e0e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a140d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x613384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0xffffffffffffffff
push 0x5ba238
call fcn.00448d00
mov dword [edi], eax
add esp, 8
mov dword [edi + 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
test eax, eax
je 0x49e138
cmp byte [eax], 0
jne 0x49e13a
xor eax, eax
push 0xffffffffffffffff
push eax
call fcn.00448d00
add esp, 8
mov dword [edi + 8], eax
push dword [0x617fd0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov eax, dword [edi + 8]
mov byte [ebp - 4], 2
test eax, eax
je 0x49e17c
push eax
push str.setting_locale__s
push 0x6175c4
call fcn.00455650
add esp, 0xc
push edi
push dword [0x617fd0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [edi + 8]
test eax, eax
je 0x49e272
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0
push 0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
push ecx
push eax
call fcn.00469a70
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.0049e450
push 0x18
call fcn.0054450d
add esp, 0x1c
mov dword [ebp + 8], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x49e1e3
mov ecx, eax
call fcn.0049e7c0
jmp 0x49e1e5
xor eax, eax
mov esi, dword [edi + 0x10]
mov byte [ebp - 4], 3
mov dword [edi + 0x10], eax
test esi, esi
je 0x49e205
mov ecx, esi
call fcn.0049e820
push 0x18
push esi
call fcn.0054453d
add esp, 8
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.00455ca0
mov ecx, eax
call fcn.004562f0
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x49e2b0
mov ebx, dword [ebp - 0x1c]
cmp esi, ebx
je 0x49e244
nop dword [eax]
push dword [esi]
call fcn.0054454b
add esi, 4
add esp, 4
cmp esi, ebx
jne 0x49e230
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x49e266
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49e2c6
push ecx
push esi
call fcn.0054453d
add esp, 8
jmp 0x49e2b0
mov eax, dword [edi + 0xc]
test eax, eax
je 0x49e283
push eax
mov ecx, edi
call fcn.0049e3d0
jmp 0x49e2b0
push 0x617fa8
mov dword [ebp + 8], 0x617fa8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x617fc0
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.0049e3d0
push 0x617fa8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
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
call fcn.0054fec6
int3
Function at 0x49e300
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1430
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x613384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [0x617fd0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, esi
jne 0x49e3ac
push dword [esi + 0xc]
push dword [0x617fd0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [esi + 8], 0
je 0x49e366
push str.restoring_locale
push 0x6175c4
call fcn.00455650
add esp, 8
mov edi, dword [esi + 0x10]
test edi, edi
je 0x49e37f
mov ecx, edi
call fcn.0049e820
push 0x18
push edi
call fcn.0054453d
add esp, 8
push dword [esi + 8]
call fcn.0054454b
push dword [esi]
call fcn.0054454b
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00544c5a
mov esp, ebp
pop ebp
ret
push 0x2f
push str.c:ent_slave_rootworkspace_vncconnect_buildsclients_vnc_7.6.xlabelcon_windows_64_rvcore_baseloclocalesetter.cxx
push str.thrInst__this
lea ecx, [ebp - 0x160]
call fcn.00465850
push eax
call fcn.004658d0
int3

Function at 0x49e7c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push dword [0x617fd4]
mov edi, ecx
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea esi, [edi + 4]
mov dword [edi], eax
mov ecx, esi
mov dword [ebp - 4], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0049e900
mov dword [esi], eax
push edi
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
push dword [0x617fd4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x49e820
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1500
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x613384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0049ea20
cmp eax, edi
je 0x49e876
push dword [0x617fd4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, edi
jne 0x49e8d3
push dword [edi]
push dword [0x617fd4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [edi + 0xc]
call fcn.00406290
mov esi, dword [edi + 4]
push dword [esi + 4]
lea ecx, [edi + 4]
mov dword [ebp - 4], 0
call fcn.00454e40
mov eax, dword [edi + 4]
push 0x1c
mov dword [eax + 4], esi
mov eax, dword [edi + 4]
mov dword [eax], esi
mov eax, dword [edi + 4]
mov dword [eax + 8], esi
mov dword [edi + 8], 0
push dword [edi + 4]
call fcn.0054453d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00544c5a
mov esp, ebp
pop ebp
ret
push 0x15
push str.c:ent_slave_rootworkspace_vncconnect_buildsclients_vnc_7.6.xlabelcon_windows_64_rvcore_baseloc_transmap.cxx
push str.thrInst__this
lea ecx, [ebp - 0x160]
call fcn.00465850
push eax
call fcn.004658d0
int3

Function at 0x49ea20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a158c
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x613384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x61a9fc]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x617ff0]
cmp eax, dword [ecx + 4]
jg 0x49ea73
mov eax, 0x617fd8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push 0x617ff0
call fcn.00544b4e
add esp, 4
cmp dword [0x617ff0], 0xffffffff
jne 0x49ea5f
push dword [0x617fd4]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, 0x617fdc
mov dword [0x617fd8], eax
mov dword [0x617fdc], 0
mov dword [0x617fe0], 0
call fcn.0049e900
push 0x617fd8
push dword [0x617fd4]
mov dword [0x617fdc], eax
mov dword [0x617fe4], 0
mov dword [0x617fe8], 0
mov dword [0x617fec], 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x5a9bd0
call fcn.0054492b
push 0x617ff0
call fcn.00544b04
add esp, 8
jmp 0x49ea5f

Function at 0x49eb10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push dword [0x617fd4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49eb2d
push dword [0x617fd4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
ret
jmp fcn.0049ea20
Function at 0x4a1750
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1950
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x613384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx + 8]
lea esi, [ecx + 8]
mov edx, dword [ecx + 4]
test eax, eax
je 0x4a1786
mov byte [eax], 0
push dword [ebp + 8]
push 0x5c
push edx
push str._s_c_s
push esi
call fcn.004493c0
add esp, 0x14
lea ecx, [ebp - 0x10]
push dword [eax]
call fcn.004647e0
push 0
push 1
push dword [eax]
mov dword [ebp - 4], 0
call fcn.0045ea50
push dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.0054454b
add esp, 0x10
lea ecx, [ebp - 0x28]
push 0
push dword [esi]
call fcn.004cd5e0
push dword [ebp - 0x24]
mov eax, dword [ebp + 0xc]
push 1
mov dword [ebp - 4], 1
push dword [eax]
push dword [eax + 4]
call fcn.00572579
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.004cd700
lea ecx, [ebp - 0x28]
call fcn.004cd690
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4ab7e0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2b00
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x613384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0x34]
mov dword [edi], vtable.io::IoPool::PoolConnector.0
mov dword [edi + 8], vtable.io::IoPool::PoolConnector.1.0
mov dword [edi + 0x30], vtable.io::IoPool::PoolConnector.2.0
mov eax, dword [esi + 0x68]
mov edx, dword [esi + 0x6c]
cmp eax, edx
je 0x4ab853
nop dword [eax]
cmp dword [eax], edi
je 0x4ab83b
add eax, 4
cmp eax, edx
jne 0x4ab830
cmp eax, edx
je 0x4ab853
lea ecx, [eax + 4]
sub edx, ecx
push edx
push ecx
push eax
call fcn.005466f0
add esp, 0xc
add dword [esi + 0x6c], 0xfffffffc
lea ecx, [edi + 0x40]
call fcn.0046acb0
mov eax, dword [edi + 0x60]
test eax, eax
je 0x4ab87b
mov ecx, dword [edi + 0x34]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.004ac1f0
mov ecx, dword [edi + 0x34]
push dword [eax]
call fcn.004ac9c0
mov ecx, dword [edi + 0x60]
mov dword [edi + 0x60], 0
test ecx, ecx
je 0x4ab88f
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x4ab89c
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [edi + 0x40]
mov dword [ebp - 4], 0
call fcn.0046acb0
push dword [edi + 0x38]
call fcn.0054454b
add esp, 4
mov dword [edi + 0x30], vtable.io::IoConnected.0
lea ecx, [edi + 0x10]
mov dword [ebp - 4], 1
call fcn.0046acb0
test byte [ebp + 8], 1
mov dword [edi], vtable.io::IoConnector.0
je 0x4ab8e3
push 0x70
push edi
call fcn.0054453d
add esp, 8
mov eax, edi
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 0x4ac2b0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2c02
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x613384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x70
call fcn.0054450d
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x4ac38f
mov ecx, edi
call fcn.00479260
mov dword [edi + 0x30], vtable.io::IoConnected.0
push 0xffffffffffffffff
push dword [ebp + 8]
lea esi, [edi + 8]
mov byte [ebp - 4], 2
mov dword [edi], vtable.io::IoPool::PoolConnector.0
mov dword [esi], vtable.io::IoPool::PoolConnector.1.0
mov dword [edi + 0x30], vtable.io::IoPool::PoolConnector.2.0
mov dword [edi + 0x34], ebx
call fcn.00448d00
mov dword [edi + 0x38], eax
add esp, 8
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x3c], eax
mov eax, edi
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], esi
mov dword [edi + 0x58], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x68], 0xffffffff
mov dword [edi + 0x6c], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4ad440
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2dd0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x613384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x7c]
mov dword [edi], vtable.http::NativeHttpRequest.0
mov dword [edi + 4], vtable.http::NativeHttpRequest.1.0
mov dword [edi + 8], vtable.http::NativeHttpRequest.2.0
mov dword [edi + 0xc], vtable.http::NativeHttpRequest.3.0
test eax, eax
je 0x4ad49a
mov ecx, dword [edi + 0x10]
push str.request_aborted
push eax
add ecx, 0x10
call fcn.004abfb0
mov ecx, dword [edi + 0x114]
lea esi, [edi + 0x114]
cmp ecx, esi
jne 0x4ad4be
push dword [edi + 0x110]
call fcn.0054454b
mov ecx, dword [edi + 0x114]
add esp, 4
mov eax, dword [edi + 0x118]
mov dword [eax], ecx
mov ecx, dword [esi]
mov eax, dword [edi + 0x118]
mov dword [ecx + 4], eax
lea ecx, [edi + 0xf0]
mov dword [edi + 0x110], 0
mov dword [edi + 0x118], esi
mov dword [esi], esi
call fcn.004794c0
mov dword [edi + 0xc0], vtable.http::HttpHeaderParser.0
mov eax, dword [edi + 0xd8]
lea ecx, [edi + 0xd8]
push eax
mov dword [ebp - 4], 0
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.004adbe0
push 0x18
push dword [edi + 0xd8]
call fcn.0054453d
push dword [edi + 0xc8]
call fcn.0054454b
add esp, 0xc
lea ecx, [edi + 0xa0]
call fcn.00463130
cmp byte [edi + 0x9c], 0
mov dword [ebp - 4], 1
je 0x4ad566
mov eax, dword [edi + 0x98]
test eax, eax
je 0x4ad566
push dword [edi + 0x94]
push eax
call fcn.0045fa10
add esp, 8
push dword [edi + 0x98]
call fcn.0054454b
add esp, 4
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0
mov eax, dword [edi + 0x8c]
lea ecx, [edi + 0x8c]
push eax
mov dword [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.004adbe0
push 0x18
push dword [edi + 0x8c]
call fcn.0054453d
mov ecx, dword [edi + 0x88]
add esp, 8
test ecx, ecx
je 0x4ad5c7
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x4ad5d7
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [edi + 0x7c]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x4ad5fa
movzx eax, byte [edi + 0x81]
mov edx, dword [ecx]
push eax
movzx eax, byte [edi + 0x80]
push eax
call dword [edx + 4]
mov dword [edi + 0x7c], 0
lea ecx, [edi + 0x30]
mov dword [ebp - 4], 4
call fcn.0046acb0
push dword [edi + 0x24]
call fcn.0054454b
push dword [edi + 0x20]
call fcn.0054454b
push dword [edi + 0x1c]
call fcn.0054454b
push dword [edi + 0x18]
call fcn.0054454b
push dword [edi + 0x14]
call fcn.0054454b
add esp, 0x14
mov dword [edi + 0xc], vtable.io::IoConnected.0
mov dword [edi + 8], vtable.io::IoHandler.0
mov dword [edi], vtable.http::HttpRequest.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4af6c0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a30f0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x613384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push 1
push dword [ebp + 8]
call fcn.00478820
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
cmp dword [esi + 4], 0
je 0x4af7f9
mov ecx, dword [ebx]
mov edi, 0x40
cmp ecx, 0x100
mov edx, 0x80
mov eax, edi
cmovg eax, edx
mov edx, dword [esi]
cmp edx, eax
jg 0x4af741
xor eax, eax
test edx, edx
jle 0x4af78c
nop
mov ecx, dword [esi + 4]
mov cl, byte [eax + ecx]
mov byte [ebx + eax + 8], cl
inc eax
cmp eax, dword [esi]
jl 0x4af730
jmp 0x4af78c
mov esi, dword [esi + 4]
mov edi, edx
push 1
push ecx
lea ecx, [ebp - 0x18]
call fcn.00478820
push esi
push edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00479110
push 0x80
lea eax, [ebx + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00478b00
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.004789c0
mov eax, dword [ebx]
mov edi, 0x40
cdq
and edx, 7
add edx, eax
sar edx, 3
mov ecx, 0x80
lea eax, [ebx + 8]
sub ecx, edx
add eax, edx
push ecx
push 0
push eax
call fcn.00546c70
add esp, 0xc
lea ecx, [ebx + 0x88]
mov edx, 0x80
nop
mov al, byte [ecx - 0x80]
lea ecx, [ecx + 1]
xor al, 0x5c
mov byte [ecx - 1], al
sub edx, 1
jne 0x4af7b0
lea esi, [ebx + 8]
mov ecx, 0x80
mov eax, esi
nop word [eax + eax]
xor byte [eax], 0x36
lea eax, [eax + 1]
sub ecx, 1
jne 0x4af7d0
mov ecx, ebx
call fcn.00478e20
cmp dword [ebx], 0x100
mov eax, 0x80
push esi
cmovg edi, eax
mov ecx, ebx
push edi
call fcn.00479110
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8