joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432570
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5c7d90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
lea ebp, [ecx + 0x60]
push edi
mov ecx, ebp
call fcn.005aa456
mov eax, dword [0x6613e8]
push 1
add eax, 0xc
push eax
lea ecx, [esp + 0x24]
call fcn.005789d4
mov dword [esp + 0x30], 0
mov ecx, dword [0x6613fc]
call fcn.005769d0
test eax, eax
mov dword [esp + 0x14], eax
je 0x432729
lea esp, [esp]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x6613fc]
call fcn.00405bb0
mov esi, dword [eax + 0x1c]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
sub esi, 0x10
call dword [edx + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x432609
cmp eax, dword [esi]
jne 0x432609
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x43263d
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 2
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x43274f
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
add ecx, ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x30], 2
push 1
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.00431ff0
mov byte [esp + 0x30], 3
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x43267a
test ecx, ecx
jl 0x432754
cmp word [eax], 0x5c
jne 0x43267a
xor bl, bl
jmp 0x43267c
mov bl, 1
mov byte [esp + 0x30], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43269f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x4326ee
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 4]
mov edi, dword [edx - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [edx - 8]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x4326ce
push esi
lea ecx, [esp + 0x14]
call fcn.00402690
mov edx, dword [esp + 0x10]
test esi, esi
mov word [edx + edi*2], 0x5c
jl 0x432754
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x432754
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x10]
mov word [eax + esi*2], 0
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebp
call fcn.005aa559
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43271d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4325d0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.0057897a
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
call fcn.00401360
push 0x80070057
call fcn.00401180
int3
Function at 0x434ca0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c82a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push ebx
push esi
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0xc], ebx
push ebx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.00434630
mov dword [esp + 0x30], 1
mov esi, dword [esp + 0x40]
push esi
call fcn.0057a0fd
add esp, 4
push eax
push esi
lea ecx, [esp + 0x14]
call fcn.00434940
mov esi, dword [esp + 0x38]
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov word [esi + 4], bx
call fcn.00434630
mov dword [esp + 8], 1
mov byte [esp + 0x30], bl
cmp dword [esp + 0x24], 8
jb 0x434d3f
mov ecx, dword [esp + 0x10]
push ecx
call fcn.005abee6
add esp, 4
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword [esp + 0x1c], ebx
mov word [esp + 0xc], bx
mov dword [esp + 0x20], 7
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x43ad70
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call fcn.005b0dc0
test eax, eax
je 0x43ad88
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x43ad8a
xor eax, eax
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x43ada0
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
call dword [0x6421a0]
mov ebx, eax
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x661464]
test eax, eax
mov ecx, dword [ebp + 8]
je 0x43ae0a
mov esi, dword [ecx]
push esi
call fcn.0057a0fd
add esp, 4
lea edx, [eax + eax + 2]
push edx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov edi, eax
call fcn.0057a0fd
lea ecx, [eax + eax + 2]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add esp, 4
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
jmp 0x43ae88
mov edi, dword [ecx]
test edi, edi
jne 0x43ae14
xor esi, esi
jmp 0x43ae39
push edi
call dword [0x652c5c]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.0057a710
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.00408bb0
mov esi, eax
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43ae40
sub eax, edx
inc eax
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov edi, eax
lea eax, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x43ae66
sub ecx, eax
inc ecx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x43c518
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5c9223
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
lea edi, [esi + 8]
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x18], 1
mov al, byte [esp + 0x20]
mov cx, word [esp + 0x24]
mov byte [esi], al
mov eax, dword [esp + 0x28]
mov word [esi + 2], cx
mov ecx, dword [esp + 0x2c]
lea edx, [esi + 0x10]
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov dword [esi + 4], 0x10
mov dword [esi + 0xc], 0
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0x18
Function at 0x441a10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c99b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
push 0xa
lea ecx, [esi + 0x50]
mov dword [esp + 0xc], esi
mov dword [esi], 0x5e9d54
call fcn.005a9fc7
xor edi, edi
mov dword [esp + 0x14], edi
push 0xa
lea ecx, [esi + 0x6c]
call fcn.005aad36
mov eax, 1
mov byte [esp + 0x14], al
mov dword [esi + 8], 0x2000
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x9c], eax
mov dword [esi + 0x40], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x442bb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c9ab9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [esp], 0
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 2
movzx ax, byte [esp + 0x24]
push 1
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0040d980
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.004026e0
mov edi, dword [esp + 0x34]
add eax, 0x10
add esp, 0x18
mov dword [edi], eax
mov byte [esp + 0x14], 2
mov dword [esp + 8], 1
mov dword [esp + 0x14], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x442c5a
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x448c50
Capabilities:
Get file size

Disassembly:
sub esp, 8
push esi
push edi
push 0
push 0x80
push 3
push 0
push 3
mov edi, ecx
mov eax, dword [edi + 0x5c]
push 0x40000000
push eax
call dword [0x652b84]
mov esi, eax
cmp esi, 0xffffffff
je 0x448cf0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
je 0x448c94
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
add esp, 8
ret
push 0
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push 0
push 0x980c4
push esi
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [edi + 0x54]
test eax, eax
mov ecx, dword [edi + 0x50]
ja 0x448cc5
test ecx, ecx
jbe 0x448ce2
mov edx, dword [edi + 0x50]
push 0
lea ecx, [esp + 0x10]
push ecx
push edx
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x48], 1
pop edi
pop esi
add esp, 8
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x5ca5a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
push esi
sub eax, 0x10
push edi
push eax
call fcn.004026e0
add eax, 0x10
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x18], 2
lea ecx, [esp + 8]
call fcn.0041ce00
mov esi, dword [esp + 8]
add esi, 0xfffffff0
push esi
call fcn.004026e0
mov edi, dword [esp + 0x24]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [esp + 0x18], 2
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x448f7e
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x44de70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x870]
mov ecx, dword [eax + 0x20]
push ecx
push str._BT__Recv_Choked___s
push 0x661308
call fcn.004e9a20
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0xc
call esi
mov edx, dword [edi + 0x8a0]
mov ecx, dword [edi + 0x8d8]
sub eax, edx
add ecx, eax
mov eax, dword [edi + 0x874]
xor ebx, ebx
cmp eax, ebx
mov dword [edi + 0x8d8], ecx
jne 0x44e054
cmp dword [edi + 0x8e4], ebx
je 0x44dedf
call esi
mov edx, dword [edi + 0x8e4]
mov ecx, dword [edi + 0x8e0]
sub eax, edx
add ecx, eax
mov dword [edi + 0x8e0], ecx
push ebp
mov dword [edi + 0x874], 1
call esi
mov edx, dword [edi]
push 0xc
mov ecx, edi
mov dword [edi + 0x89c], eax
call dword [edx + 0x7c]
mov eax, dword [edi + 0x20]
push eax
push str.Download_from__s_was_choked.
push 3
push 0x661308
call fcn.0046abf0
mov esi, dword [edi + 0x7dc]
add esp, 0x10
cmp esi, ebx
je 0x44dfd3
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x10]
mov ebp, dword [esi + 0xc]
push ecx
push eax
mov ebx, edx
add ebx, eax
mov eax, ebp
adc eax, ecx
mov ecx, dword [edi + 0x870]
push eax
push ebx
push ebp
push edx
mov edx, dword [ecx + 0x20]
push edx
push str._BT__Send_Cancel_Request_To__s___I64i__I64i__I64i
push 0x661308
call fcn.004e9a20
add esp, 0x24
mov ecx, 0x652e08
call fcn.00407480
mov ebp, eax
mov byte [ebp + 0x30], 8
mov eax, dword [edi + 0x7c4]
mov ecx, dword [eax + 0x2d8]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
xor ebx, ebx
push ebx
push ecx
push edx
push eax
call fcn.0057ac50
push eax
mov ecx, ebp
call fcn.0044be00
mov ecx, dword [edi + 0x7c4]
mov edx, dword [ecx + 0x2d8]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push ebx
push edx
push eax
push ecx
call fcn.0057acc0
push eax
mov ecx, ebp
call fcn.0044be00
mov edx, dword [esi + 0x10]
push edx
mov ecx, ebp
call fcn.0044be00
mov ecx, dword [edi + 0x870]
push 1
push ebp
call fcn.00408e10
mov esi, dword [esi + 4]
cmp esi, ebx
jne 0x44df21
mov ebp, dword [edi + 0x7dc]
cmp ebp, ebx
je 0x44e005
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x44dff9
mov ecx, dword [0x661408]
mov esi, dword [eax + 4]
push eax
call fcn.00476080
cmp esi, ebx
mov eax, esi
jne 0x44dfe4
mov ecx, dword [0x661408]
push ebp
call fcn.00476080
mov ebp, dword [edi + 0x884]
cmp ebp, ebx
mov dword [edi + 0x7dc], ebx
je 0x44e041
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x44e035
lea esp, [esp]
mov ecx, dword [0x661408]
mov esi, dword [eax + 4]
push eax
call fcn.00476080
cmp esi, ebx
mov eax, esi
jne 0x44e020
mov ecx, dword [0x661408]
push ebp
call fcn.00476080
mov dword [edi + 0x884], ebx
mov dword [edi + 0x7e0], ebx
mov dword [edi + 0x854], ebx
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
Function at 0x44ecc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xc
push esi
push edi
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x1c]
sub eax, dword [edi + 0x24]
cmp eax, 8
mov esi, ecx
jl 0x44eec6
mov eax, dword [esi + 0x7e4]
cmp eax, 2
je 0x44ecee
cmp eax, 4
jne 0x44eec6
mov edx, dword [esi]
push ebx
push ebp
push 4
mov ecx, esi
call dword [edx + 0x7c]
mov ecx, edi
call fcn.0044bda0
mov ecx, edi
mov dword [esp + 0x10], eax
call fcn.0044bda0
mov ebx, dword [edi + 0x24]
mov ebp, eax
mov eax, dword [edi + 0x1c]
sub eax, ebx
cdq
mov dword [esp + 0x18], 0
mov edi, eax
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x8d0]
add ecx, 0x7530
cmp eax, ecx
jae 0x44ed3f
mov byte [esi + 0x878], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0x7c4]
mov dword [esi + 0x8d0], eax
mov eax, dword [edx + 0x2d8]
mul dword [esp + 0x10]
add ebp, eax
mov eax, dword [esp + 0x18]
adc eax, edx
push ebx
push edi
mov ecx, edi
add ecx, ebp
mov edx, ebx
adc edx, eax
push edx
push ecx
push eax
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x870]
mov ecx, dword [eax + 0x20]
push ebp
push ecx
push str._BT__Recv_Piece_From__s___I64i__I64i__I64i
push 0x661308
call fcn.004e9a20
mov ecx, dword [esi + 0x810]
mov eax, dword [esi + 0x814]
add esp, 0x24
add ecx, edi
adc eax, ebx
mov dword [esi + 0x814], eax
mov eax, dword [esi + 0x7c4]
mov dword [esi + 0x810], ecx
mov edx, dword [eax + 0x428]
mov ecx, dword [eax + 0x42c]
add edx, edi
adc ecx, ebx
mov dword [eax + 0x428], edx
mov dword [eax + 0x42c], ecx
mov ecx, dword [esi + 0x7d8]
test ecx, ecx
je 0x44edf3
mov edx, dword [esp + 0x18]
push 0
push ebx
push edi
push edx
push ebp
call fcn.004451e0
mov ecx, dword [esi + 0x7d8]
call fcn.004451c0
mov ecx, dword [esp + 0x18]
push ebx
push edi
push ecx
lea eax, [esi + 0x7dc]
push ebp
push eax
call fcn.00476460
mov ecx, dword [esi + 0x7dc]
add esp, 0x14
call fcn.00475b60
push ebx
push edi
mov dword [esi + 0x7e0], eax
call fcn.004d2ce0
mov eax, dword [esi + 0x7c4]
add esp, 8
test eax, eax
je 0x44ee43
mov ecx, dword [eax + 0xc8]
test ecx, ecx
je 0x44ee43
push ebx
push edi
call fcn.004d2cb0
add esp, 8
mov eax, dword [esp + 0x18]
mov edx, dword [esi]
push ebx
push edi
push eax
push ebp
mov ecx, esi
call dword [edx + 0x94]
mov ecx, dword [esi + 0x870]
cmp dword [ecx + 0x7b0], 2
je 0x44eec4
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x14]
mov ecx, dword [esi + 0x7c4]
push ebx
mov ebx, dword [eax + 0x24]
mov eax, dword [esp + 0x1c]
push edi
add edx, ebx
push edx
push eax
push ebp
call fcn.0045dec0
mov eax, dword [esi + 0x87c]
test eax, eax
jne 0x44ee9f
mov ecx, esi
call fcn.0044dca0
mov eax, dword [esi + 0x87c]
test eax, eax
je 0x44eec4
mov eax, dword [esi + 0x874]
test eax, eax
jne 0x44eec4
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x90]
mov eax, dword [esi + 0x7dc]
test eax, eax
jne 0x44eec4
mov ecx, esi
call fcn.0044dca0
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0xc
ret 4
Function at 0x45b980
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x7c4]
mov ecx, dword [eax + 0xa8]
test ecx, ecx
push edi
jne 0x45b9f0
mov ecx, dword [eax + 0x4d8]
test ecx, ecx
jne 0x45b9f0
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
add ecx, 0x3ffff
adc edx, 0
mov eax, ecx
shrd eax, edx, 0x12
lea edi, [eax*4]
push edi
shr edx, 0x12
call fcn.005abeeb
mov ecx, dword [esi + 0x7c4]
mov dword [ecx + 0x4d8], eax
mov edx, dword [esi + 0x7c4]
mov ecx, edi
mov edi, dword [edx + 0x4d8]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0xc]
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x24]
mov edx, eax
sub edx, ecx
cmp edx, 4
jl 0x45ba67
add ecx, 4
cmp ecx, eax
jbe 0x45ba0f
call fcn.005b3b11
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x14]
mov ecx, dword [eax + ecx]
add eax, 4
cmp ecx, 1
mov dword [edi + 0x24], eax
jne 0x45ba67
mov ecx, esi
mov dword [esi + 0x894], 0
call fcn.004591a0
mov edx, dword [esi]
push 0xc
mov ecx, esi
call dword [edx + 0x7c]
mov dword [esi + 0x88c], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x874]
mov dword [ecx + 0x6c], eax
mov ecx, esi
call fcn.00458610
pop edi
mov eax, 1
pop esi
ret 4
mov edx, dword [esi]
push 4
mov ecx, esi
call dword [edx + 0x7c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x874]
mov dword [ecx + 0x6c], eax
mov ecx, esi
mov dword [esi + 0x898], 0
call fcn.00458610
mov ecx, esi
call fcn.00459e90
pop edi
pop esi
ret 4
Function at 0x4666f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x280]
test eax, eax
push edi
je 0x46672d
mov eax, dword [esi + 0x410]
test eax, eax
je 0x46672d
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi + 0x4c4]
cmp eax, 0x3a98
jbe 0x46672d
call edi
mov dword [esi + 0x4c4], eax
pop edi
mov eax, 1
pop esi
ret
pop edi
xor eax, eax
pop esi
ret
Function at 0x46ac40
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x11c
mov eax, dword [0x64aa84]
push esi
mov esi, ecx
mov dword [esp + 0x11c], eax
mov al, byte [esi + 0x7f4]
test al, al
jne 0x46ae1a
mov al, byte [esi + 0x8f4]
test al, al
je 0x46ae1a
mov eax, dword [esi + 0x87c]
test eax, eax
je 0x46ae1a
mov eax, dword [esi + 0x880]
test eax, eax
je 0x46ae1a
mov ecx, dword [0x6615f0]
test ecx, ecx
je 0x46ae1a
call fcn.00413970
test al, al
je 0x46ae1a
push edi
push 0xc5
push 0x85
call fcn.00472810
mov edi, eax
mov eax, dword [0x6615f0]
xor ecx, ecx
mov cl, byte [eax + 0x54]
add esp, 8
push ecx
mov ecx, edi
call fcn.00406fc0
mov eax, dword [0x6615f0]
movzx edx, byte [eax + 0x54]
push edx
add eax, 4
push eax
mov ecx, edi
call fcn.00406f10
push 1
push edi
mov ecx, esi
call fcn.0046aa20
mov al, byte [esi + 0x820]
and al, 1
cmp al, 1
setne cl
xor eax, eax
test cl, cl
mov byte [esp + 0xb], cl
mov byte [esp + 0x10], 0
je 0x46ad56
mov ecx, dword [0x6613f4]
call fcn.004920c0
test eax, eax
je 0x46ad31
mov eax, dword [eax + 0x834]
test eax, eax
je 0x46ad31
cmp eax, 0x1000000
jb 0x46ad31
mov byte [esp + 0x10], 0x14
jmp 0x46ad56
mov eax, dword [esi + 0x48]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x18], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x10], 0xa
mov edx, dword [esi + 0x880]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push 0
push ebp
push eax
push 0xfa
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esi + 0x87c]
push edx
lea eax, [esi + 0x82b]
push eax
push ecx
mov ecx, dword [0x6615f0]
call fcn.00415df0
mov bl, al
test bl, bl
mov byte [esp + 0x14], bl
jne 0x46adad
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x118]
call fcn.0057981f
add esp, 0x11c
ret
push 0xc5
push 0x86
call fcn.00472810
mov edx, dword [esp + 0x1c]
add esp, 8
mov edi, eax
push edx
mov ecx, edi
call fcn.00406fc0
movzx eax, bl
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call fcn.00406f10
mov al, byte [esp + 0x13]
test al, al
je 0x46aded
push ebp
mov ecx, edi
call fcn.00406fc0
push 1
push edi
mov ecx, esi
call fcn.0046aa20
pop ebp
pop ebx
pop edi
mov byte [esi + 0x7f4], 1
mov eax, 1
pop esi
mov ecx, dword [esp + 0x118]
call fcn.0057981f
add esp, 0x11c
ret
mov ecx, dword [esp + 0x11c]
mov eax, 1
pop esi
call fcn.0057981f
add esp, 0x11c
ret
Function at 0x46ac4b
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x11c
mov eax, dword [0x64aa84]
push esi
mov esi, ecx
mov dword [esp + 0x11c], eax
mov al, byte [esi + 0x7f4]
test al, al
jne 0x46ae1a
mov al, byte [esi + 0x8f4]
test al, al
je 0x46ae1a
mov eax, dword [esi + 0x87c]
test eax, eax
je 0x46ae1a
mov eax, dword [esi + 0x880]
test eax, eax
je 0x46ae1a
mov ecx, dword [0x6615f0]
test ecx, ecx
je 0x46ae1a
call fcn.00413970
test al, al
je 0x46ae1a
push edi
push 0xc5
push 0x85
call fcn.00472810
mov edi, eax
mov eax, dword [0x6615f0]
xor ecx, ecx
mov cl, byte [eax + 0x54]
add esp, 8
push ecx
mov ecx, edi
call fcn.00406fc0
mov eax, dword [0x6615f0]
movzx edx, byte [eax + 0x54]
push edx
add eax, 4
push eax
mov ecx, edi
call fcn.00406f10
push 1
push edi
mov ecx, esi
call fcn.0046aa20
mov al, byte [esi + 0x820]
and al, 1
cmp al, 1
setne cl
xor eax, eax
test cl, cl
mov byte [esp + 0xb], cl
mov byte [esp + 0x10], 0
je 0x46ad56
mov ecx, dword [0x6613f4]
call fcn.004920c0
test eax, eax
je 0x46ad31
mov eax, dword [eax + 0x834]
test eax, eax
je 0x46ad31
cmp eax, 0x1000000
jb 0x46ad31
mov byte [esp + 0x10], 0x14
jmp 0x46ad56
mov eax, dword [esi + 0x48]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x18], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x10], 0xa
mov edx, dword [esi + 0x880]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push 0
push ebp
push eax
push 0xfa
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esi + 0x87c]
push edx
lea eax, [esi + 0x82b]
push eax
push ecx
mov ecx, dword [0x6615f0]
call fcn.00415df0
mov bl, al
test bl, bl
mov byte [esp + 0x14], bl
jne 0x46adad
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x118]
call fcn.0057981f
add esp, 0x11c
ret
push 0xc5
push 0x86
call fcn.00472810
mov edx, dword [esp + 0x1c]
add esp, 8
mov edi, eax
push edx
mov ecx, edi
call fcn.00406fc0
movzx eax, bl
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call fcn.00406f10
mov al, byte [esp + 0x13]
test al, al
je 0x46aded
push ebp
mov ecx, edi
call fcn.00406fc0
push 1
push edi
mov ecx, esi
call fcn.0046aa20
pop ebp
pop ebx
pop edi
mov byte [esi + 0x7f4], 1
mov eax, 1
pop esi
mov ecx, dword [esp + 0x118]
call fcn.0057981f
add esp, 0x11c
ret
mov ecx, dword [esp + 0x11c]
mov eax, 1
pop esi
call fcn.0057981f
add esp, 0x11c
ret