joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467f30
Capabilities:
Check for time delay via gettickcount
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b3759
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x70], 0x64
cmp eax, 1
jne 0x468032
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x9c], eax
mov eax, dword [esp + 0x28]
add eax, 0x30
mov ecx, ebx
push eax
call fcn.00467b90
mov eax, dword [ebx + 0x60]
cmp eax, 0x36
jl 0x467f87
cmp eax, 0x64
jne 0x467f8c
cmp eax, 1
jne 0x467f95
mov ecx, dword [ebx]
push 1
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [ebx + 0x58]
lea ecx, [esp + 8]
push eax
push ecx
call fcn.004628c0
add esp, 8
mov eax, dword [eax + 4]
mov esi, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
test eax, eax
mov dword [esp + 0x20], 0
je 0x467fbd
mov esi, eax
mov edx, dword [ebx + 0x60]
mov ax, word [ebx + 0x5c]
push edx
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [ebx + 0x24]
mov edx, dword [ebx + 0x20]
and eax, 0xffff
push eax
push esi
push ecx
push edx
push str.__d._3d__Handshake_with__s:_d__d
push 0x4d8db8
call fcn.0045c790
add esp, 0x1c
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x68], 2
mov ebx, dword [ebx + 0x20]
push eax
push 0xcf
push ebx
mov ecx, 0x4d8c88
call fcn.0045a7f0
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
test eax, eax
jne 0x4680c2
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov dword [ebx + 0x90], eax
call esi
mov dword [ebx + 0xa8], eax
call esi
mov dword [ebx + 0x98], eax
call esi
mov dword [ebx + 0xa0], eax
call esi
mov dword [ebx + 0x94], eax
call esi
mov esi, dword [esp + 0x2c]
mov dword [ebx + 0x9c], eax
mov ecx, ebx
lea eax, [esi + 0x30]
push eax
call fcn.00467b90
lea eax, [esi + 0x1c]
lea edi, [ebx + 0x3c]
mov ecx, 5
mov esi, eax
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebx
call fcn.00467510
mov eax, dword [ebx + 0x24]
mov ebx, dword [ebx + 0x20]
push eax
push 0xcf
push ebx
mov ecx, 0x4d8c88
call fcn.0045a7f0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
mov ecx, dword [esp + 0x18]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x46ac10
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx + 4]
sub esp, 8
test eax, eax
je 0x46ac5c
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x46ac5c
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 4
push edx
lea edx, [esp + 4]
push edx
lea edx, [esp + 0xc]
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46ac5c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp]
mov dword [eax], ecx
mov eax, 1
add esp, 8
ret 8
xor eax, eax
add esp, 8
ret 8

Function at 0x46acd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx + 4]
sub esp, 0x208
test eax, eax
push esi
je 0x46ad37
mov ecx, dword [esp + 0x210]
test ecx, ecx
je 0x46ad37
mov esi, dword [esp + 0x214]
test esi, esi
je 0x46ad37
lea edx, [esp + 4]
mov dword [esp + 4], 0x100
push edx
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x10]
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46ad37
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov eax, 1
pop esi
add esp, 0x208
ret 8
xor eax, eax
pop esi
add esp, 0x208
ret 8

Function at 0x46ae50
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x46ae9c
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x46ae9c
mov esi, dword [esp + 0x14]
test esi, esi
je 0x46ae9c
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
shl ax, 1
add esp, 4
inc ax
and eax, 0xffff
push eax
mov eax, dword [edi + 4]
push esi
push 1
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
pop edi
pop esi
inc eax
pop ebx
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
ret 8

Function at 0x46af30
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [sym.imp.MSVCRT.dll_malloc]
push edi
mov edi, dword [esp + 0xc]
push 0x800
mov dword [0x4dada0], edi
call esi
add esp, 4
mov dword [0x4dad98], eax
test eax, eax
je 0x46afd4
call fcn.0046b600
cmp edi, 1
je 0x46afd4
push 0x800
call esi
add esp, 4
mov dword [0x4dad94], eax
test eax, eax
jne 0x46af87
mov eax, dword [0x4dad98]
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
ret
push 0x4cf498
push eax
call fcn.0046b570
push 0x800
call esi
add esp, 0xc
mov dword [0x4dad9c], eax
test eax, eax
jne 0x46afc6
mov ecx, dword [0x4dad98]
mov esi, dword [sym.imp.MSVCRT.dll_free]
push ecx
call esi
mov edx, dword [0x4dad94]
push edx
call esi
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
ret
push 0x4cf4d8
push eax
call fcn.0046b570
add esp, 8
pop edi
xor eax, eax
pop esi
ret
Function at 0x46b040
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x70
push ebp
mov ebp, dword [esp + 0x78]
test ebp, ebp
jne 0x46b054
or eax, 0xffffffff
pop ebp
add esp, 0x70
ret
mov edx, dword [esp + 0x7c]
push ebx
push esi
push edi
mov ecx, 0x20
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
xor ecx, ecx
movsx eax, byte [ecx + str.91__]
dec eax
mov esi, eax
sar eax, 3
and esi, 7
movsx eax, byte [eax + edx]
test dword [esi*4 + 0x4cf7b0], eax
setne al
mov byte [esp + ecx + 0x10], al
inc ecx
cmp ecx, 0x38
jl 0x46b068
xor edi, edi
movsx ecx, byte [edi + 0x4cf550]
xor eax, eax
xor edx, edx
cmp eax, 0x1c
setge dl
dec edx
mov esi, ecx
and edx, 0xffffffe4
add edx, 0x38
cmp ecx, edx
jl 0x46b0b3
lea esi, [ecx - 0x1c]
mov dl, byte [esp + esi + 0x10]
mov byte [esp + eax + 0x48], dl
inc eax
inc ecx
cmp eax, 0x38
jl 0x46b09b
xor ecx, ecx
movsx eax, byte [ecx + 0x4cf560]
mov dl, byte [esp + eax + 0x47]
test dl, dl
je 0x46b102
mov eax, 0x2aaaaaab
mov ebx, 6
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ebp
add eax, edx
lea esi, [eax + edi*8]
mov eax, ecx
cdq
idiv ebx
mov al, byte [esi]
mov edx, dword [edx*4 + 0x4cf7b0]
sar edx, 2
or al, dl
mov byte [esi], al
inc ecx
cmp ecx, 0x30
jl 0x46b0c4
inc edi
cmp edi, 0x10
jl 0x46b092
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 0x70
ret

Function at 0x46b600
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x28
xor ecx, ecx
xor eax, eax
movsx edx, byte [eax + 0x4cf790]
dec edx
cmp edx, ecx
je 0x46b61b
inc eax
cmp eax, 0x20
jl 0x46b607
jmp 0x46b61f
mov byte [esp + ecx + 8], al
inc ecx
cmp ecx, 0x20
jl 0x46b605
push ebx
lea eax, [esp + 0xc]
push ebp
push esi
mov dword [esp + 0x10], eax
push edi
mov dword [esp + 0x10], 0
xor eax, eax
xor esi, esi
mov ebx, eax
mov eax, esi
mov ecx, esi
sar eax, 1
and ecx, 1
and eax, 0xf
shl ecx, 4
mov edx, esi
or eax, ecx
mov ecx, dword [esp + 0x10]
and edx, 0x20
or eax, edx
xor edi, edi
xor edx, edx
movsx ebp, byte [ecx + eax + 0x4cf590]
mov eax, 8
mov ecx, edx
sar eax, cl
test ebp, eax
je 0x46b68b
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + edx]
mov ecx, 0x1f
sub ecx, eax
mov eax, 1
shl eax, cl
or edi, eax
inc edx
cmp edx, 4
jl 0x46b667
mov ecx, dword [0x4dad98]
inc esi
mov dword [ebx + ecx], edi
add ebx, 4
cmp esi, 0x40
jl 0x46b63f
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add esi, 0x40
add edx, 4
cmp ebx, 0x800
mov dword [esp + 0x10], esi
mov eax, ebx
mov dword [esp + 0x14], edx
jl 0x46b63b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x472ff0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x4730b0
test byte [esi + 0x30], 1
je 0x473029
mov eax, dword [esi + 0x18]
mov edx, dword [eax + 0x14]
lea ecx, [eax + 0x68]
push ecx
push edx
mov ecx, 0x4d79a8
call fcn.0044b000
mov ecx, dword [esi + 0x14]
call fcn.0048f770
mov ecx, dword [esi + 0x18]
call fcn.004967e0
test byte [esi + 0x30], 2
je 0x473037
mov ecx, dword [esi + 0x10]
call fcn.00498c70
mov eax, dword [esi + 0x28]
push 1
push 0
cmp eax, 1
push 0
push 0
jne 0x47305b
mov eax, dword [esi + 0xc]
push 0
push 7
push eax
mov ecx, 0x4d7918
call fcn.00446d80
jmp 0x473083
mov ecx, dword [esi + 0xc]
push 1
push 7
push ecx
mov ecx, 0x4d7918
call fcn.00446d80
mov eax, dword [esi + 0x94]
test eax, eax
jne 0x47307c
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esi + 0x14]
call fcn.0048f280
mov ecx, dword [esi + 0x1c]
call fcn.004902f0
mov edx, dword [esi + 0xc]
push edx
push str.__d.__RemoveTask
push 0x4d8db8
call fcn.0045c790
add esp, 0xc
mov dword [esi + 0x3c], 3
xor eax, eax
pop esi
ret
Function at 0x475a30
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
test eax, eax
je 0x475b98
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x475b98
mov eax, dword [esi + 0xc4]
mov ebx, 1
cmp eax, ebx
je 0x475b98
cmp dword [esi + 0x78], ebx
je 0x475b98
call fcn.00476d00
test eax, eax
je 0x475b98
mov edi, dword [esi + 0x124]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
test edi, edi
je 0x475aa5
call ebp
mov ecx, eax
mov eax, dword [esi + 0x38]
sub ecx, eax
lea eax, [edi + edi*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
cmp ecx, edx
jb 0x475b98
call fcn.004618e0
cmp eax, 0xc800
ja 0x475af8
xor edi, edi
cmp eax, edi
jbe 0x475afa
test byte [esi + 0x30], bl
je 0x475afa
call ebp
sub eax, dword [esi + 0x38]
cmp eax, 0x2710
jb 0x475b98
push edi
push edi
push edi
lea eax, [esp + 0x1c]
push edi
push eax
lea ecx, [esp + 0x2c]
push edi
push ecx
mov ecx, dword [esi + 0x18]
push edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], edi
call fcn.00497750
cmp dword [esp + 0x10], edi
ja 0x475b98
jmp 0x475afa
xor edi, edi
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], edi
call fcn.00499160
test eax, eax
je 0x475b98
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp eax, edi
jle 0x475b98
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], edi
call fcn.00499330
test eax, eax
je 0x475b81
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0x10]
push edx
mov ecx, dword [eax + 0x5d50]
mov dword [esi + 0x74], ecx
mov eax, dword [eax + 0x5d4c]
mov ecx, dword [esi + 0xc]
push eax
push str.ERR__u__Cid__u_
push str.CIDCONNERR
push ecx
push 0x4d8d38
call fcn.0045e8e0
mov eax, dword [esi + 0x10]
add esp, 0x18
mov ecx, esi
mov edx, dword [eax + 0x5d50]
mov dword [esi + 0x74], edx
mov eax, dword [eax + 0x5d4c]
push eax
call fcn.00476290
jmp 0x475b8f
mov ecx, dword [esp + 0x10]
push 2
push ecx
mov ecx, esi
call fcn.004773a0
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
jl 0x475b1d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x475ba0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 8], ebx
je 0x475d9e
cmp dword [esi + 0x28], ebx
jne 0x475d9e
mov ecx, dword [esi + 0xc4]
mov eax, 1
cmp ecx, eax
je 0x475d9e
cmp dword [esi + 0x78], eax
je 0x475d9e
mov ecx, esi
call fcn.00476d00
test eax, eax
je 0x475d9e
mov edi, dword [esi + 0x124]
mov dword [esp + 0x10], ebx
cmp edi, ebx
je 0x475c32
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, dword [esi + 0x38]
sub ecx, eax
lea eax, [edi + edi*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
cmp ecx, edx
jae 0x475c32
mov eax, dword [esi + 0xc]
push edi
push eax
push str.__d.__Delay___d
push 0x4d8db8
call fcn.0045c790
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x10]
call fcn.004992b0
test eax, eax
je 0x475d9e
mov eax, dword [esp + 0x10]
xor ebp, ebp
cmp eax, ebx
jle 0x475d9e
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.00498d30
mov edi, eax
cmp edi, ebx
je 0x475d9e
mov eax, dword [esi + 0x1c]
add eax, 0x38
mov edx, dword [eax]
mov ecx, dword [eax + 4]
or edx, ecx
jne 0x475cf7
push ebx
push ebx
push ebx
push ebx
mov ecx, dword [esi + 0x10]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x3c]
push ebx
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.00498fa0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, ebx
ja 0x475cb6
cmp ecx, ebx
jbe 0x475cf7
push eax
push ecx
mov ecx, dword [esi + 0xc]
push ecx
push str.__d.__SetFileLen__I64d
push 0x4d8db8
call fcn.0045c720
mov ecx, dword [esi + 0x1c]
add esp, 0x14
cmp dword [ecx + 0xc], ebx
jne 0x475ce5
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00490d70
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x18]
push edx
call fcn.004976b0
mov edx, dword [edi]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, dword [esi + 0x1c]
push edx
call fcn.00490410
test eax, eax
je 0x475d46
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esi + 0x10]
push edx
push eax
push edi
call fcn.00499a60
test eax, eax
jne 0x475d67
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jl 0x475c55
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ecx, dword [edi]
mov edx, dword [esi + 0xc]
push ecx
push edx
push str.__d._3d__AllocRange_fail
push 0x4d8db8
call fcn.0045c790
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x5d50]
mov dword [esi + 0x74], ecx
mov edx, dword [eax + 0x5d4c]
push edx
mov ecx, esi
call fcn.00476290
mov eax, dword [esi + 0x2c]
mov ecx, dword [edi]
mov edx, dword [esi + 0xc]
push eax
push ecx
push edx
push str.__d._3d__AsyncStartHttp_fail_ErrorCode___d
push 0x4d8db8
call fcn.0045c870
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x47a030
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, 0x2820
call fcn.004a7630
mov eax, dword [esp + 0x2830]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
push ebp
mov dword [esp + 8], 0
mov cl, byte [eax]
mov dword [esp + 0xc], 0
mov byte [esp + 4], cl
mov dword [esp + 0x10], 0
mov ecx, dword [edx]
push esi
push edi
push ecx
push 0
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test edi, edi
jne 0x47a08a
mov edi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x2c]
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x2838]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov word [esp + 0x20], 2
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x1e], ax
mov eax, dword [esp + 0x2834]
lea ecx, [esp + 0x1c]
push 0x10
push ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2838]
push 0
lea edx, [esp + 0x38]
push ebp
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov ecx, dword [esp + 0x10]
mov esi, eax
test ecx, ecx
je 0x47a12f
mov al, byte [ecx - 1]
test al, al
je 0x47a125
cmp al, 0xff
je 0x47a125
dec al
pop edi
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebp
add esp, 0x2820
ret
dec ecx
push ecx
call fcn.0043b3d0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x2820
ret
Function at 0x47a5a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b4327
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0xc], esi
push ebx
mov byte [esi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov dl, byte [esp + 0xb]
lea ecx, [esi + 0x10]
push ebx
mov dword [esp + 0x1c], ebx
mov byte [ecx], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, byte [esp + 0xb]
mov dword [esi + 0x24], ebx
mov byte [esi + 0x20], al
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dl, byte [esp + 0xb]
lea ecx, [esi + 0x30]
push ebx
mov byte [esp + 0x1c], 2
mov byte [ecx], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, byte [esp + 0xb]
mov dword [esi + 0x44], ebx
mov byte [esi + 0x40], al
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dl, byte [esp + 0xb]
lea ecx, [esi + 0x50]
push ebx
mov byte [esp + 0x1c], 4
mov byte [ecx], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov al, byte [esp + 0xb]
mov cl, byte [esp + 0xb]
mov dl, byte [esp + 0xb]
mov byte [esi + 0x60], al
mov al, byte [esp + 0xb]
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], 1
push ebx
mov byte [esi + 0x74], cl
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
push ebx
mov byte [esi + 0x84], dl
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
push ebx
mov byte [esi + 0x94], al
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
push ebx
mov dword [esi + 0xa8], ebx
mov word [esi + 0xa4], bx
mov byte [esi + 0xa6], bl
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xa8], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x480ca0
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x480cb8
push eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
pop esi
ret 0xc
mov ecx, esi
call fcn.00480fc0
test eax, eax
jne 0x480cd5
push 0x2736
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
pop esi
ret 0xc
mov ecx, esi
call fcn.00480fc0
cmp eax, 1
je 0x480d3a
mov ecx, esi
call fcn.00480fc0
cmp eax, 2
je 0x480d3a
mov ecx, esi
call fcn.00480fc0
cmp eax, 3
je 0x480d3a
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x480d22
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push ecx
mov ecx, dword [esi + 4]
push edx
call fcn.00466630
push eax
call dword [sym.imp.WS2_32.dll_send]
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push edx
call dword [eax + 0x38]
pop esi
ret 0xc
push 0x2749
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
pop esi
ret 0xc

Function at 0x480d50
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x480d68
push eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
pop esi
ret 0xc
mov ecx, esi
call fcn.00480fc0
test eax, eax
jne 0x480d85
push 0x2736
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
pop esi
ret 0xc
mov ecx, esi
call fcn.00480fc0
cmp eax, 1
je 0x480dea
mov ecx, esi
call fcn.00480fc0
cmp eax, 2
je 0x480dea
mov ecx, esi
call fcn.00480fc0
cmp eax, 3
je 0x480dea
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x480dd2
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push ecx
mov ecx, dword [esi + 4]
push edx
call fcn.00466630
push eax
call dword [sym.imp.WS2_32.dll_recv]
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push edx
call dword [eax + 0x34]
pop esi
ret 0xc
push 0x2749
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
pop esi
ret 0xc
Function at 0x480e00
Capabilities:
Connect socket
Resolve dns

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x480e24
mov edx, dword [esp + 0x20]
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x20]
push edx
call dword [eax + 0x24]
mov esi, eax
jmp 0x480ea4
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 8], eax
push esi
mov dword [esp + 0x10], eax
mov word [esp + 0xc], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x480e74
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x480e69
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 0xc], eax
jmp 0x480e74
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [edi + 4]
lea edx, [esp + 8]
push 0x10
push edx
mov word [esp + 0x12], ax
call fcn.00466630
push eax
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov esi, ecx
test esi, esi
jne 0x480eb5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x480ebe
push 2
mov ecx, edi
call fcn.00481220
mov eax, esi
pop edi
pop esi
add esp, 0x10
ret 8

Function at 0x480ed0
Capabilities:
Connect socket

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x480eee
mov edx, dword [esp + 0x10]
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x10]
push edx
call dword [eax + 0x20]
mov esi, eax
jmp 0x480f11
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, dword [edi + 4]
call fcn.00466630
push eax
call dword [sym.imp.WS2_32.dll_connect]
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov esi, edx
test esi, esi
jne 0x480f22
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x480f2b
push 2
mov ecx, edi
call fcn.00481220
mov eax, esi
pop edi
pop esi
ret 8