joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100137f0
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov dword [esp + 0x10], ecx
push edi
mov edi, dword [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
not ecx
dec ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], ecx
xor esi, esi
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x10]
cmp eax, 0xea60
ja 0x10013955
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push ebx
call fcn.10013780
test eax, eax
je 0x10013987
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x10013873
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
je 0x10013827
jmp 0x100139af
mov esi, dword [esp + 0x2c]
sub esi, ebp
dec esi
jns 0x1001387e
xor esi, esi
push 0
lea edx, [edi + ebp]
push esi
push edx
push ebx
call dword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test ebx, ebx
jle 0x1001389e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x10], eax
add ebp, ebx
cmp ebx, 1
jl 0x10013997
test edi, edi
je 0x100138af
mov byte [edi + ebp], 0
sub esi, ebx
jne 0x10013904
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x38]
add eax, esi
push eax
mov dword [esp + 0x30], eax
call fcn.1024cbd1
add esp, 4
mov ebx, eax
test edi, edi
je 0x100138ed
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x34]
mov edi, ebx
mov eax, dword [esi]
test eax, eax
je 0x10013902
push eax
call fcn.1024cbfa
add esp, 4
mov dword [esi], ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov edx, ebp
push eax
sub edx, eax
push ecx
add edx, edi
push edx
call fcn.10079750
mov esi, eax
mov eax, dword [esp + 0x4c]
add esp, 0xc
neg esi
sbb esi, esi
inc esi
test eax, eax
je 0x1001386a
test esi, esi
je 0x10013827
push str.250
push edi
call fcn.100796d0
add esp, 8
test eax, eax
jne 0x1001386a
xor esi, esi
jmp 0x10013827
mov byte [edi + ebp], 0
mov eax, dword [0x1030ceb0]
test eax, eax
je 0x1001397b
push str.TMGateway:_Timed_Out_waiting_for_response_from_SMTP_server
push str.MailSender
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 0x20
mov byte [edi + ebp], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 0x20
test edi, edi
je 0x100139a3
mov eax, dword [esp + 0x28]
mov byte [eax + ebp], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 0x20
mov ecx, dword [esp + 0x3c]
mov byte [edi + ebp], 0
pop edi
pop esi
mov dword [ecx], ebp
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret 0x20
Function at 0x100189a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov ecx, 0x102f70c8
jmp 0x100189d0

Function at 0x1001b2f0
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1025b6fb
push eax
mov eax, dword [0x102f8ce0]
mov dword fs:[0], esp
sub esp, 0x20c
test eax, eax
je 0x1001b323
mov eax, dword [esp + 0x21c]
test eax, eax
je 0x1001b422
push edi
mov ecx, 0x82
xor eax, eax
mov edi, 0x102f8ce4
rep stosd dword es:[edi], eax
mov ecx, 0x81
lea edi, [esp + 0xa]
mov word [esp + 8], ax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
pop edi
jbe 0x1001b3bc
lea ecx, [esp + 4]
push ecx
call fcn.10078f12
add esp, 4
test eax, eax
jbe 0x1001b37b
cmp word [esp + eax*2 + 2], 0x5c
lea eax, [esp + eax*2 + 2]
jne 0x1001b37b
mov word [eax], 0
lea edx, [esp + 4]
push 0x7e
push edx
call fcn.100791b9
add esp, 8
test eax, eax
je 0x1001b3a5
push 0x104
lea eax, [esp + 8]
push 0x102f8ce4
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
jmp 0x1001b3bc
lea ecx, [esp + 4]
push 0x103
push ecx
push 0x102f8ce4
call fcn.10079788
add esp, 0xc
push 0x102f8ce4
lea ecx, [esp + 4]
call fcn.10090450
mov eax, dword [esp]
mov dword [esp + 0x214], 0
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x1001b40e
push eax
push 0x102f8ce4
call fcn.10079554
push str.TEC_MailBackup
push 0x102f8ce4
call fcn.1007952a
push 0
push 0x102f8ce4
call fcn.100b83a0
add esp, 0x18
mov dword [0x102f8ce0], eax
lea ecx, [esp]
mov dword [esp + 0x214], 0xffffffff
call fcn.10090bf0
mov eax, dword [0x102f8ce0]
mov ecx, dword [esp + 0x20c]
neg eax
sbb eax, eax
mov dword fs:[0], ecx
and eax, 0x102f8ce4
add esp, 0x218
ret
Function at 0x1001b450
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
sub esp, 0x86c
push ebx
mov ebx, dword [esp + 0x874]
push ebp
xor ebp, ebp
cmp ebx, ebp
push esi
je 0x1001b6b2
push ebx
call fcn.10078f12
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x1001b6b2
cmp esi, 0x104
jae 0x1001b6b2
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46e]
mov word [esp + 0x46c], bp
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x470]
push ebx
push eax
call fcn.10079788
lea eax, [esp + esi*2 + 0x478]
add esp, 0xc
cmp word [eax - 2], 0x5c
je 0x1001b4c9
mov word [eax], 0x5c
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x676]
mov word [esp + 0x674], bp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x46c]
push 0x104
lea edx, [esp + 0x678]
push ecx
push edx
stosw word es:[edi], ax
call fcn.10079788
lea eax, [esp + 0x680]
push 0x102b9de8
push eax
call fcn.1007952a
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x2c]
mov dword [esp + 0x28], ebp
rep stosd dword es:[edi], eax
add esp, 0x14
lea ecx, [esp + 0x14]
lea edx, [esp + 0x674]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x1001b6a0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x266]
mov word [esp + 0x264], bp
mov ebx, dword [esp + 0x88c]
mov esi, dword [esp + 0x888]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x264]
push 0x104
rep stosd dword es:[edi], eax
lea eax, [esp + 0x470]
lea ecx, [esp + 0x268]
push eax
push ecx
call fcn.10079788
lea edx, [esp + 0x4c]
lea eax, [esp + 0x270]
push edx
push eax
call fcn.1007952a
mov eax, dword [esp + 0x28]
add esp, 0x14
test al, 0x10
je 0x1001b60d
lea ecx, [esp + 0x40]
push 0x102bd3b8
push ecx
call fcn.10079579
add esp, 8
test eax, eax
je 0x1001b676
lea edx, [esp + 0x40]
push 0x102bd3b0
push edx
call fcn.10079579
add esp, 8
test eax, eax
je 0x1001b676
mov eax, dword [esp + 0x884]
test eax, eax
je 0x1001b676
push ebx
push esi
lea eax, [esp + 0x26c]
push 1
push eax
call fcn.1001b450
add esp, 0x10
jmp 0x1001b676
test ebx, ebx
je 0x1001b653
test bl, 1
je 0x1001b632
push 7
lea ecx, [esp + 0x44]
push str.Backup_
push ecx
call fcn.1007a728
add esp, 0xc
test eax, eax
je 0x1001b676
mov eax, dword [esp + 0x14]
test bl, 2
je 0x1001b653
push 7
lea edx, [esp + 0x44]
push str.Delete_
push edx
call fcn.1007a728
add esp, 0xc
test eax, eax
je 0x1001b676
mov eax, dword [esp + 0x14]
test esi, esi
je 0x1001b668
test al, 1
je 0x1001b668
and al, 0xfe
push eax
lea eax, [esp + 0x268]
push eax
call ebp
lea ecx, [esp + 0x264]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1001b571
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [esp + 0x880]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x86c
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x86c
ret
Function at 0x1001ff30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1025bd00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x1c]
call fcn.1001f670
lea eax, [esi + 0x18]
xor ebx, ebx
push 1
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], ebx
call fcn.1009ee90
mov ecx, dword [esp + 0x48]
xor edx, edx
mov eax, ecx
mov byte [esp + 0x3c], 1
shr eax, 4
div dword [esi + 0x3c]
mov esi, dword [esi + 0x38]
cmp esi, ebx
je 0x1001ff9c
mov eax, dword [esi + edx*4]
cmp eax, ebx
je 0x1001ff9c
cmp dword [eax + 8], ecx
je 0x1002001d
mov eax, dword [eax]
cmp eax, ebx
jne 0x1001ff8d
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x1002008a
mov ebp, dword [eax + 0x70]
xor edx, edx
cmp ebp, ebx
jbe 0x1001ffe8
mov ecx, dword [eax + 0x6c]
add ecx, 6
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov ecx, 4
mov edi, 0x102f8fb0
mov esi, eax
xor ebx, ebx
repe cmpsd dword [esi], dword es:[edi]
jne 0x1001ffda
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10020064
inc edx
add eax, 0x14
cmp edx, ebp
jb 0x1001ffbd
mov eax, dword [esp + 0x44]
xor ebx, ebx
mov ebp, dword [eax + 0x6c]
xor edx, edx
cmp ebp, ebx
jbe 0x1002008a
add eax, 0x78
mov ecx, 4
mov edi, 0x102f8fb0
mov esi, eax
xor ebx, ebx
repe cmpsd dword [esi], dword es:[edi]
jne 0x10020011
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10020064
inc edx
add eax, 0x14
cmp edx, ebp
jb 0x1001fff8
xor ebx, ebx
jmp 0x1002008a
cmp eax, ebx
je 0x1001ff9c
add eax, 0xc
lea ecx, [esp + 0x1c]
push eax
call fcn.1001fa70
mov ecx, dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x20]
call fcn.1001f910
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x3c], bl
call fcn.1009eef0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.1001f8b0
mov eax, esi
jmp 0x100200aa
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 0
call fcn.1009eef0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.1001f8b0
mov eax, 1
jmp 0x100200aa
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], bl
call fcn.1009eef0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.1001f8b0
xor eax, eax
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 8
Function at 0x10022290
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1025c34f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
mov ebx, 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], ebx
call fcn.1008f1c0
push 0x102bee00
lea ecx, [esp + 0x34]
call fcn.1008c9f0
mov esi, eax
cmp esi, 0xffffffff
jne 0x10022347
mov eax, dword [esp + 0x30]
cmp dword [eax - 8], 4
jge 0x100222ff
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.1008ae40
mov dword [esp + 0xc], ebx
jmp 0x10022462
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.1008ae40
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.10022490
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov byte [esp + 0x28], 2
call fcn.1008ae40
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x24], bl
call fcn.1008b870
jmp 0x10022462
test esi, esi
je 0x1002244e
mov eax, dword [esp + 0x30]
cmp byte [esi + eax - 1], 0x5c
je 0x100223f5
mov edx, dword [0x1026e878]
mov dword [esp + 0x10], edx
mov eax, dword [eax - 8]
mov byte [esp + 0x24], 3
sub eax, esi
lea ecx, [esp + 0x30]
cmp eax, 4
jle 0x100223c8
call fcn.10021740
mov ecx, 0xfffffffc
sub ecx, esi
push ecx
add eax, ecx
mov edx, esp
mov dword [esp + 0x1c], esp
inc esi
push eax
push esi
push edx
lea ecx, [esp + 0x40]
call fcn.1008da60
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.10022490
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call fcn.1008b9f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 3
call fcn.1008b870
jmp 0x100223d2
push ecx
lea ecx, [esp + 0x14]
call fcn.1008b9f0
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.1008ae40
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x24], bl
call fcn.1008b870
jmp 0x10022462
cmp dword [eax - 8], 4
jge 0x10022409
push 0
lea ecx, [esp + 0x34]
call fcn.1008c500
push eax
jmp 0x10022453
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.1008ae40
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.10022490
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
mov byte [esp + 0x28], 5
call fcn.1008ae40
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x24], bl
call fcn.1008b870
jmp 0x10022462
push 0x102f6848
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.1008af40
mov dword [esp + 0xc], ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call fcn.1008b870
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8
Function at 0x100238c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1025c497
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
lea eax, [esp + 4]
push esi
push eax
add ecx, 0x1f0
mov dword [esp + 0x10], 0
call fcn.100126c0
mov ecx, dword [0x1026e87c]
mov dword [esp + 0x18], 1
mov dword [esp + 4], ecx
mov edx, dword [esp + 8]
push str.CacheMailFile.dat
push edx
lea eax, [esp + 0xc]
push 0x102ba7a8
push eax
mov byte [esp + 0x28], 2
call fcn.10093b70
mov esi, dword [esp + 0x30]
add esp, 0x10
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.100901f0
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x18], 1
call fcn.10090bf0
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.10090bf0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4

Function at 0x10023970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1025c4d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
lea eax, [esp + 4]
push esi
push eax
add ecx, 0x1f0
mov dword [esp + 0x10], 0
call fcn.100126c0
mov ecx, dword [0x1026e87c]
mov dword [esp + 0x18], 1
mov dword [esp + 4], ecx
mov edx, dword [esp + 8]
push str.ReMailFile.dat
push edx
lea eax, [esp + 0xc]
push 0x102ba7a8
push eax
mov byte [esp + 0x28], 2
call fcn.10093b70
mov esi, dword [esp + 0x30]
add esp, 0x10
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.100901f0
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x18], 1
call fcn.10090bf0
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.10090bf0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x10024520
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1025c608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x1026e87c]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
lea edx, [edi + 0x16c]
xor ebx, ebx
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x20], ebx
call fcn.10025110
mov esi, dword [esp + 0x20]
mov eax, dword [edi + 0x1b4]
push eax
lea ecx, [esi + 0x3c]
call fcn.10090f50
mov dword [esi + 0x20], 1
mov eax, dword [edi + 0x1b8]
push eax
lea ecx, [esi + 0x40]
call fcn.10090f50
mov eax, dword [edi + 0x60]
lea ecx, [esp + 0x20]
mov eax, dword [eax + 0x30]
push eax
push ecx
call fcn.10020a80
add esp, 8
push eax
lea ecx, [esi + 0x2c]
mov byte [esp + 0x1c], 1
call fcn.10090d80
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], bl
call fcn.10090bf0
lea edx, [edi + 0x1bc]
lea ecx, [esi + 0x24]
push edx
call fcn.10090d80
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.10023a20
push eax
lea ecx, [esi + 0x4c]
mov byte [esp + 0x1c], 2
call fcn.10090d80
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], bl
call fcn.10090bf0
mov eax, dword [edi + 0x1b0]
lea ecx, [esi + 0x38]
push eax
call fcn.10090f50
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esi + 4]
call fcn.10090d80
lea edx, [edi + 0x168]
mov ecx, esi
push edx
call fcn.10090d80
mov eax, dword [edi + 0x1ac]
lea ecx, [esi + 0x34]
push eax
call fcn.10090f50
mov eax, dword [edi + 0x60]
lea ecx, [edi + 0x154]
push ecx
lea ecx, [esi + 0x14]
mov ax, word [eax + 0x34]
mov word [esi + 0x44], bx
mov word [esi + 0x30], ax
call fcn.10090d80
lea edx, [edi + 0x158]
push edx
lea ecx, [esi + 0x10]
call fcn.10090d80
lea eax, [edi + 0x160]
lea ecx, [esi + 0xc]
push eax
call fcn.10090d80
lea ecx, [edi + 0x15c]
push ecx
lea ecx, [esi + 8]
call fcn.10090d80
mov dword [esi + 0x50], ebx
mov dword [esi + 0x1c], ebx
mov edx, dword [edi + 0x68]
lea ecx, [edi + 0x58]
mov dword [esi + 0x54], edx
mov eax, dword [edi + 0x6c]
push ecx
lea ecx, [esi + 0x64]
mov dword [esi + 0x58], eax
call fcn.10090d80
push esi
lea ecx, [edi + 0x1e0]
call fcn.10010a60
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.10090bf0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x10028860
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, 0x102f9430
jmp 0x10028890
push 0xffffffffffffffff
push 0x1025cc12
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.100a21c0
mov eax, dword [0x1026e87c]
lea ebx, [esi + 0x28]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [ebx], eax
lea ecx, [esi + 0x34]
mov byte [esp + 0x18], 1
call fcn.1009e960
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], 0x11
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], 0xa
lea ecx, [esi + 0x6c]
mov byte [esp + 0x18], 3
call fcn.1009e960
mov dword [esi + 0x8c], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x90], edi
push 0x102f684c
mov ecx, ebx
mov byte [esp + 0x1c], 5
mov dword [esi], 0x1026bcbc
mov dword [esi + 0x2c], edi
call fcn.10090e70
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x30], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x1002ce30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1025ceb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
push 1
lea ecx, [esp + 0xc]
xor esi, esi
lea eax, [edi + 0xc]
push eax
call fcn.1009ee90
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], esi
call fcn.101aac10
mov edi, dword [edi + 0x4c]
lea ecx, [esp + 0x14]
push edi
mov byte [esp + 0x34], 1
call fcn.101aaca0
push 0xc
lea ecx, [esp + 0x18]
call fcn.101aad70
test eax, eax
jne 0x1002cea9
push 7
lea ecx, [esp + 0x18]
call fcn.101aad70
test eax, eax
jne 0x1002cea9
push 0x20
lea ecx, [esp + 0x18]
call fcn.101aad70
test eax, eax
je 0x1002ceae
mov esi, 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.101aac50
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.1009eef0
mov eax, dword [0x1030ceb0]
test eax, eax
je 0x1002cef0
push esi
push str.CSSLHandleFrame::IsFunc__bLogFunc_:__d_
push str.udlog
push 0xffffffffffffffff
push 0x1030c61c
call fcn.100a65e0
add esp, 0x14
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

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

Disassembly:
mov ecx, 0x102fa5d8
jmp 0x1002dd20
push 0xffffffffffffffff
push 0x1025cf3e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.100a21c0
mov eax, dword [0x1026e87c]
lea edi, [esi + 0x28]
mov dword [esp + 0x14], 0
mov dword [edi], eax
lea ecx, [esi + 0x34]
mov byte [esp + 0x14], 1
call fcn.1009e460
push 0x102f684c
mov ecx, edi
mov byte [esp + 0x18], 2
mov dword [esi], 0x1026bd6c
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x2c], 0
call fcn.10090e70
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x44], 0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x1002de50
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x44]
test eax, eax
je 0x1002de6d
mov eax, 1
pop esi
add esp, 0x190
ret
lea eax, [esp + 4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1002dead
mov eax, dword [0x1030ceb0]
test eax, eax
je 0x1002dea3
push str.CTaskDispatch::Initilize:_TMGateway:_WSAStartup_failed_
push str.CTaskDispatch
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
xor eax, eax
pop esi
add esp, 0x190
ret
mov ecx, esi
call fcn.1002e8d0
call fcn.1000c140
mov eax, 1
mov dword [esi + 0x2c], eax
mov dword [esi + 0x44], eax
pop esi
add esp, 0x190
ret

Function at 0x1002dfe0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_closesocket]
push esi
mov esi, ecx
mov eax, dword [esi + 0x30]
cmp eax, 0xffffffff
je 0x1002dfff
push eax
call ebx
mov dword [esi + 0x30], 0xffffffff
xor eax, eax
push 6
mov dword [esp + 0xe], eax
push 1
mov dword [esp + 0x16], eax
push 2
mov dword [esp + 0x1e], eax
mov word [esp + 0x14], 0
mov word [esp + 0x22], ax
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0x30], eax
jne 0x1002e05e
mov eax, dword [0x1030ceb0]
test eax, eax
je 0x1002e056
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.CTaskDispatch::StartListen:_Create_socket_failed__errno:__d__r_n
push str.CTaskDispatch
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x14
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
push edi
mov ecx, esi
mov word [esp + 0xc], 2
call fcn.1002df00
mov di, ax
push 0
and edi, 0xffff
call dword [sym.imp.WS2_32.dll_htonl]
push edi
mov dword [esp + 0x14], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xe], ax
mov eax, dword [esi + 0x30]
xor ecx, ecx
lea edx, [esp + 0xc]
push 0x10
mov dword [esp + 0x18], ecx
push edx
push eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
pop edi
jne 0x1002e0e6
mov eax, dword [0x1030ceb0]
test eax, eax
je 0x1002e0d8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.CTaskDispatch::StartListen:_bind_socket_failed__errno:__d__r_n
push str.CTaskDispatch
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x14
mov ecx, dword [esi + 0x30]
push ecx
call ebx
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
mov edx, dword [esi + 0x30]
push bind
push edx
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x1002e131
mov eax, dword [0x1030ceb0]
test eax, eax
je 0x1002e123
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.CTaskDispatch::StartListen:_listen_failed__errno:__d__r_n
push str.CTaskDispatch
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x14
mov eax, dword [esi + 0x30]
push eax
call ebx
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret