joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440cf3
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4a3070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, str.Softwareprojonepodlpdebug_async_
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
cmp eax, 0xc6
ja 0x440d93
push ebx
push edi
push esi
mov esi, 0x4b8460
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00444cd0
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCatBuffW]
push edi
push 0x48e964
push esi
call ebx
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push esi
call ebx
push esi
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop edi
pop ebx
call fcn.00440627
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044302b
leave
ret

Function at 0x44302b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a3070]
jne 0x443035
repz ret
jmp fcn.004446fb
Function at 0x44a786
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00444dbc
and dword [ebp - 4], 0
cmp dword [0x4b6af0], 0
mov ebx, eax
jne 0x44a837
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44a8e8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x44a8e8
push eax
call fcn.00444d4a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4b6af0], eax
call esi
push eax
call fcn.00444d4a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b6af4], eax
call esi
push eax
call fcn.00444d4a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b6af8], eax
call esi
push eax
call fcn.00444d4a
pop ecx
mov dword [0x4b6b00], eax
test eax, eax
je 0x44a837
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00444d4a
pop ecx
mov dword [0x4b6afc], eax
mov eax, dword [0x4b6afc]
cmp eax, ebx
je 0x44a88f
cmp dword [0x4b6b00], ebx
je 0x44a88f
push eax
call fcn.00444dc5
push dword [0x4b6b00]
mov esi, eax
call fcn.00444dc5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44a88f
test edi, edi
je 0x44a88f
call esi
test eax, eax
je 0x44a886
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44a886
test byte [ebp - 0xc], 1
jne 0x44a88f
or dword [ebp + 0x10], 0x200000
jmp 0x44a8c8
mov eax, dword [0x4b6af4]
cmp eax, ebx
je 0x44a8c8
push eax
call fcn.00444dc5
pop ecx
test eax, eax
je 0x44a8c8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44a8c8
mov eax, dword [0x4b6af8]
cmp eax, ebx
je 0x44a8c8
push eax
call fcn.00444dc5
pop ecx
test eax, eax
je 0x44a8c8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b6af0]
call fcn.00444dc5
pop ecx
test eax, eax
je 0x44a8e8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44a8ea
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x450cb0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4b6c1c], eax
je 0x450cce
mov eax, 0x10dd
jmp 0x450daf
mov eax, dword [0x4b6c2c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x450d4c
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x450d2a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x450d2a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.00450e20
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.004437e4
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x450cd6
mov dword [0x4b6c2c], 0
call fcn.00450dc0
mov ecx, dword [0x4b6c28]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x450d99
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004437e4
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x450d64
mov dword [0x4b6c28], 0
mov dword [0x4b6c1c], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4512f0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x451305
xor eax, eax
jmp 0x45137a
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x451332
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x451375
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x451373
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x45136f
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x451373
xor eax, eax
jmp 0x45137a
jmp 0x451329
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x451420
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x4b6c20], 0
je 0x451439
mov eax, dword [0x4b6c20]
jmp 0x4514d9
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x45144b
xor eax, eax
jmp 0x4514d9
push 8
call fcn.004438d8
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4514a1
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0x45148a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.004437e4
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0x4b6c20], eax
mov dword [0x4b6c24], 0
mov eax, dword [ebp - 4]
jmp 0x4514d9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x4514bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x45146b
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0x4b6c28]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0x4b6c28], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x451dd0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00451fe0
add esp, 0xc
mov dword [ebp - 0x10], 0
cmp dword [0x4b6c10], 0
jne 0x451e0d
cmp dword [0x4b6c0c], 0
je 0x451e0d
mov eax, dword [0x4b6c0c]
mov dword [0x4b6c10], eax
cmp dword [0x4b6c10], 0
je 0x451e8a
mov ecx, dword [0x4b6c10]
cmp dword [ecx + 8], 0
je 0x451e8a
mov edx, dword [0x4b6c10]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 8]
jb 0x451e8a
mov ecx, dword [0x4b6c10]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x451e8a
mov eax, dword [0x4b6c10]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 8]
jb 0x451e59
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jbe 0x451e60
xor eax, eax
jmp 0x451fd0
mov ecx, dword [0x4b6c10]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00444cd0
add esp, 0xc
mov eax, dword [ebp - 0x10]
jmp 0x451fd0
mov edx, dword [0x4b6c0c]
mov dword [0x4b6c10], edx
jmp 0x451ea6
mov eax, dword [0x4b6c10]
mov ecx, dword [eax + 4]
mov dword [0x4b6c10], ecx
cmp dword [0x4b6c10], 0
je 0x451ee6
cmp dword [0x4b6c10], 0
je 0x451ee4
mov edx, dword [0x4b6c10]
cmp dword [edx + 8], 0
je 0x451ee4
mov eax, dword [0x4b6c10]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 8]
jb 0x451ee4
mov edx, dword [0x4b6c10]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x451ee4
jmp 0x451e3e
jmp 0x451e98
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
jne 0x451f17
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004521c0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x451f30
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004520c0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x451fce
mov ecx, dword [ebp - 4]
mov dword [0x4b6c10], ecx
mov edx, dword [0x4b6c10]
mov dword [edx], 0x52727464
mov eax, dword [0x4b6c10]
mov dword [eax + 8], 0
mov ecx, dword [0x4b6c10]
mov edx, dword [0x4b6c0c]
mov dword [ecx + 4], edx
mov eax, dword [0x4b6c10]
mov dword [0x4b6c0c], eax
mov dword [ebp - 0x14], 0
mov ecx, dword [0x4b6c10]
add ecx, 0x48
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], 0x38c
jmp 0x451f99
mov edx, dword [ebp - 0x18]
sub edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 1
jle 0x451fbd
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x48
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ecx + eax + 0x40], edx
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x48
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
jmp 0x451f90
mov ecx, dword [0x4b6c10]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 8], edx
jmp 0x451e3e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4520c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.00452190
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x452185
mov edx, dword [ebp - 4]
cmp edx, dword [0x4a3cf0]
jb 0x452105
mov eax, dword [ebp - 4]
cmp eax, dword [0x4a3cf4]
ja 0x452105
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x4520d5
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.00444cd0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x45212b
jmp 0x452185
cmp dword [ebp - 0x10], 0x10000
jne 0x45216e
cmp dword [ebp - 0x14], 0x10000
jb 0x45216e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x452161
mov eax, dword [ebp - 0x24]
jmp 0x452187
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x452180
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
push ecx
call fcn.00452190
add esp, 4
mov dword [ebp - 4], eax
jmp 0x4520d5
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4521c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.004522a0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x45228d
mov edx, dword [ebp - 4]
cmp edx, dword [0x4a3cf0]
jb 0x45220a
mov eax, dword [ebp - 4]
cmp eax, dword [0x4a3cf4]
ja 0x45220a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x4521da
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.00444cd0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x452230
jmp 0x45228d
cmp dword [ebp - 0x10], 0x10000
jne 0x452273
cmp dword [ebp - 0x14], 0x10000
jb 0x452273
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x452266
mov eax, dword [ebp - 0x24]
jmp 0x45228f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x452288
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10000
push ecx
call fcn.004522a0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x4521da
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4522d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x4b6c58], 0
je 0x4522e6
xor eax, eax
jmp 0x452502
cmp dword [0x4b6c54], 0
je 0x4522f9
mov eax, dword [0x4b6c54]
jmp 0x452502
push 0x24
push 0
push 0x4b6c30
call fcn.00444cd0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x4b6c30], eax
push 0
push 0
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x4b6c34], eax
cmp dword [0x4b6c34], 0
jne 0x45239e
mov dword [0x4b6c58], 1
cmp dword [0x4b6c34], 0
je 0x452351
mov eax, dword [0x4b6c34]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4b6c38], 0
mov dword [0x4b6c3c], 0
mov dword [0x4b6c40], 0
mov dword [0x4b6c44], 0
mov dword [0x4b6c48], 0
mov dword [0x4b6c4c], 0
mov dword [0x4b6c50], 0
xor eax, eax
jmp 0x452502
push str.ImagehlpApiVersionEx
mov ecx, dword [0x4b6c34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4b6c38], eax
push str.SymInitialize
mov edx, dword [0x4b6c34]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4b6c3c], eax
push str.SymSetOptions
mov eax, dword [0x4b6c34]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4b6c40], eax
push str.SymGetOptions
mov ecx, dword [0x4b6c34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4b6c44], eax
push str.SymLoadModule64
mov edx, dword [0x4b6c34]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4b6c48], eax
push str.SymGetModuleInfo64
mov eax, dword [0x4b6c34]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4b6c4c], eax
push str.SymFromName
mov ecx, dword [0x4b6c34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4b6c50], eax
push 8
push 0
lea edx, [ebp - 8]
push edx
call fcn.00444cd0
add esp, 0xc
mov eax, 0xb
mov word [ebp - 8], ax
cmp dword [0x4b6c38], 0
je 0x452483
cmp dword [0x4b6c3c], 0
je 0x452483
cmp dword [0x4b6c48], 0
je 0x452483
cmp dword [0x4b6c4c], 0
je 0x452483
cmp dword [0x4b6c50], 0
jne 0x452488
jmp 0x452332
lea ecx, [ebp - 8]
push ecx
call dword [0x4b6c38]
movzx edx, word [ebp - 8]
cmp edx, 0xb
jge 0x4524a0
jmp 0x452332
push 0
push 0
mov eax, dword [0x4b6c30]
push eax
call dword [0x4b6c3c]
test eax, eax
jne 0x4524b9
jmp 0x452332
cmp dword [0x4b6c44], 0
je 0x4524f3
cmp dword [0x4b6c40], 0
je 0x4524f3
call dword [0x4b6c44]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 0xfffffff8
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
or edx, 0x2704
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
call dword [0x4b6c40]
mov dword [0x4b6c54], 0x4b6c30
mov eax, dword [0x4b6c54]
mov esp, ebp
pop ebp
ret
Function at 0x455400
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x428
mov eax, dword [0x4a3070]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [esp + 0x42c]
push 0xa
push 0x20
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x43c]
push 0x401
lea edx, [esp + 0x30]
push edx
push ecx
push eax
call dword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0x455489
push 0
push 0x400
push 0x4ba940
push 0x400
push eax
push 0
push 0x12ff
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push 0x4ba940
push str.getnameinfo_failed:__s
push 1
call fcn.00466710
add esp, 0xc
mov ecx, dword [esp + 0x424]
xor ecx, esp
call fcn.0044302b
add esp, 0x428
ret
lea edx, [esp + 0x20]
push edx
call fcn.0045bf90
mov dword [esi], eax
lea eax, [esp + 4]
push eax
call fcn.0045bf90
mov ecx, dword [esp + 0x42c]
add esp, 8
xor ecx, esp
mov dword [edi], eax
call fcn.0044302b
add esp, 0x428
ret

Function at 0x4554c0
Capabilities:
Set socket configuration

Disassembly:
push ecx
push esi
push edi
mov edi, eax
mov dword [esp + 8], 1
test edi, edi
je 0x4554d6
mov eax, dword [edi + 4]
jmp 0x4554db
mov eax, 2
push 0
push 0x84000001
push eax
call fcn.004698e0
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
jne 0x455506
push 0x4a5f34
push eax
call fcn.004666e0
add esp, 8
pop edi
or eax, esi
pop esi
pop ecx
ret
push 4
lea eax, [esp + 0xc]
push eax
push 8
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jl 0x45554b
cmp dword [esp + 0x10], 0
je 0x455533
push esi
call fcn.004681d0
add esp, 4
test eax, eax
jl 0x45554b
test edi, edi
je 0x45556a
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x18]
push ecx
push edx
push esi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x45556a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
mov edi, eax
call fcn.00468220
add esp, 4
push edi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret
pop edi
mov eax, esi
pop esi
pop ecx
ret

Function at 0x455650
Capabilities:
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x4556d1
test ax, ax
jne 0x4556d1
push 0
push 0x84000001
push 2
mov dword [esp + 0x14], 1
call fcn.004698e0
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
jne 0x455693
push 0x4a5f34
push eax
call fcn.004666e0
add esp, 8
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret
push 4
lea eax, [esp + 0xc]
push eax
push 8
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x4556cb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
mov edi, eax
call fcn.00468220
add esp, 4
push edi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret
pop edi
mov eax, esi
pop esi
pop ecx
ret
push eax
call fcn.00455570
mov esi, eax
add esp, 4
test esi, esi
je 0x45568c
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004554c0
push esi
mov edi, eax
call fcn.00468900
add esp, 8
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x458820
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0xc]
push eax
push ecx
push edi
call fcn.004548f0
mov edx, dword [edi + 0x14]
mov esi, dword [edx]
add esp, 0xc
test esi, esi
je 0x458865
mov eax, dword [esi + 8]
push str.Content_Length
push eax
call fcn.00469440
add esp, 8
test eax, eax
je 0x45885f
mov esi, dword [esi]
test esi, esi
jne 0x458842
jmp 0x458865
cmp dword [esi + 0xc], 0
jne 0x4588b3
mov al, byte [edi + 0x3c]
cmp al, 1
jg 0x458874
jne 0x4588b3
cmp byte [edi + 0x3d], 1
jl 0x4588b3
mov eax, dword [edi + 0x40]
cmp eax, 0xcc
je 0x4588b3
cmp eax, 0x130
je 0x4588b3
cmp eax, 0x64
jl 0x458891
cmp eax, 0xc8
jl 0x4588b3
cmp dword [edi + 0x28], 4
je 0x4588b3
mov ecx, dword [edi + 0x14]
push str.chunked
push str.Transfer_Encoding
push ecx
call fcn.00456560
add esp, 0xc
or dword [edi + 0x58], 1
jmp 0x4588b7
and dword [edi + 0x58], 0xfffffffe
mov ecx, dword [edi + 8]
mov eax, edi
call fcn.00457060
mov esi, dword [edi + 8]
push 0
push 0
call fcn.00458030
add esp, 8
pop edi
pop esi
ret

Function at 0x45dce0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp dword [edi + 0x14c], 0
je 0x45dd5a
call fcn.0046ebb0
test eax, eax
je 0x45dd5a
mov eax, dword [edi + 0x14c]
push eax
call fcn.0046e7e0
add esp, 4
test eax, eax
jne 0x45dd5a
push 0x4a8f88
push 0x4a8fa4
push 0xc92
push 0x4a8fd8
push 0x4a8fe0
push 0xdeaddead
call fcn.00466710
add esp, 0x18
push 0x4a9004
push 0x4a9020
push 0xc92
push 0x4a9054
push 0x4a905c
call fcn.004768a8
add eax, 0x40
push eax
call fcn.00476b83
add esp, 0x18
call fcn.00445392
movzx eax, word [esi + 8]
test al, 1
jne 0x45dd80
mov eax, dword [esi + 0x1c]
push 1
cdq
push edx
push eax
push esi
push str.event_queue_remove_timeout
push str._s:__p_fd__I64d__not_on_queue__x
push 1
call fcn.00466710
add esp, 0x1c
ret
sar eax, 4
not eax
and eax, 1
sub dword [edi + 0x78], eax
and word [esi + 8], 0xfffe
mov eax, dword [esi + 0x3c]
mov ecx, eax
and ecx, 0xf0000000
cmp ecx, 0x50000000
jne 0x45ddf5
sar eax, 0x14
and eax, 0xff
xor edx, edx
cmp eax, dword [edi + 0xb4]
setl dl
mov eax, edx
test eax, eax
je 0x45ddf5
mov eax, dword [esi + 0x3c]
mov ecx, dword [edi + 0xb0]
sar eax, 0x14
and eax, 0xff
mov ecx, dword [ecx + eax*4]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45dde6
mov edx, dword [esi + 0x18]
mov dword [eax + 0x18], edx
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
mov dword [ecx], edx
ret
mov eax, dword [esi + 0x18]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
mov dword [ecx], edx
ret
push esi
lea eax, [edi + 0xd8]
call fcn.0045d150
pop ecx
ret
Function at 0x462c40
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x84
push ebx
push ebp
mov ebp, dword [esp + 0x90]
push esi
mov esi, dword [ebp]
push edi
mov ebx, eax
xor edi, edi
test ebx, ebx
jge 0x462c6a
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x84
ret
cmp dword [ebp + 0x18], edi
je 0x462cdd
call fcn.0046ebb0
test eax, eax
je 0x462cdd
mov eax, dword [ebp + 0x18]
push eax
call fcn.0046e7e0
add esp, 4
test eax, eax
jne 0x462cdd
push 0x4ad8c4
push 0x4ad8dc
push 0x96d
push 0x4ad90c
push 0x4ad918
push 0xdeaddead
call fcn.00466710
add esp, 0x18
push str.evbuffer_write_iovec
push str.evthread_is_debug_lock_held___buffer___lock_
push 0x96d
push 0x4ad984
push 0x4ad990
call fcn.004768a8
add eax, 0x40
push eax
call fcn.00476b83
add esp, 0x18
call fcn.00445392
test esi, esi
je 0x462d15
cmp edi, 0x10
jge 0x462d11
test ebx, ebx
je 0x462d11
mov ecx, dword [esi + 0x18]
add ecx, dword [esi + 8]
mov dword [esp + edi*8 + 0x18], ecx
cmp ebx, dword [esi + 0xc]
jb 0x462d0c
mov edx, dword [esi + 0xc]
mov dword [esp + edi*8 + 0x14], edx
sub ebx, dword [esi + 0xc]
mov esi, dword [esi]
inc edi
test esi, esi
jne 0x462ce1
jmp 0x462d11
mov dword [esp + edi*8 + 0x14], ebx
inc edi
test edi, edi
jne 0x462d22
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x84
ret
mov edx, dword [esp + 0x9c]
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push eax
push edi
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
jne 0x462c5c
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret