joyce8/EMBER2024-capa huggingface dataset:
Function at 0x23105f30
Capabilities:
Initialize winsock library

Disassembly:
push 0x231260d8
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x23105fa0
mov eax, dword [0x231260d4]
sub esp, 0x1c8
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
jne 0x23106073
lea eax, [esp + 0x44]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x23106031
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
mov edi, 0x30
push ecx
push str.GatorAsyncWndClass
push esi
mov dword [esp + 0x20], edi
call dword [sym.imp.USER32.dll_GetClassInfoExA]
test eax, eax
jne 0x23106027
lea edx, [esp + 0x14]
mov dword [esp + 0x14], edi
push edx
mov dword [esp + 0x20], 0x2310aef0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x40], str.GatorAsyncWndClass
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0x23106031
mov dword [0x231260d4], 1
mov byte [0x231260dc], bl
lea eax, [esp + 0xc]
push ebx
push eax
push str.GetHostByNameTimeout
push str.softwareGator.comGatordyn
push reloc.WSOCK32.dll_bind
mov dword [esp + 0x20], ebx
call fcn.2310e5e0
add esp, 0x14
test eax, eax
je 0x23106069
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov dword [0x2312073c], eax
jne 0x23106073
mov dword [0x2312073c], 0x14
call fcn.23106140
test eax, eax
je 0x23106125
cmp dword [0x23120740], 0xffffffff
jne 0x23106125
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push ebp
push pe_nt_image_headers32
push 0x40
mov dword [0x23120740], ebx
call edi
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
mov esi, eax
push ecx
push edx
push esi
push ebx
mov dword [esi], pe_nt_image_headers32
push ebx
mov dword [esp + 0x28], pe_nt_image_headers32
mov dword [esp + 0x24], ebx
call dword [0x231260ec]
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp eax, 0x25b
jne 0x231060fe
push esi
call ebp
mov eax, dword [esp + 0x14]
push eax
push 0x40
call edi
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
mov esi, eax
push ecx
push edx
push esi
push ebx
push ebx
mov dword [esi], pe_nt_image_headers32
call dword [0x231260ec]
cmp eax, ebx
jne 0x23106112
cmp dword [esp + 0x10], ebx
je 0x23106112
mov dword [0x23120740], 1
push esi
call ebp
mov eax, dword [0x231260d4]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1c8
ret
mov eax, dword [0x231260d4]
pop edi
pop esi
pop ebx
add esp, 0x1c8
ret
Function at 0x231073b0
Capabilities:
Get common file path

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x104
xor al, al
push ebx
mov ebx, dword [esp + 0x114]
push ebp
mov ebp, dword [esp + 0x110]
mov dword [ebx], 0
mov dword [ecx], 0
test ebp, ebp
je 0x2310747a
cmp byte [ebp], 0
je 0x2310747a
lea edx, [esp + 8]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x23107478
push esi
push edi
mov edi, 0x23120a60
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x120]
mov ecx, ebp
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
call fcn.23107490
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
xor al, al
pop ebp
pop ebx
add esp, 0x104
ret

Function at 0x23107490
Capabilities:
Check if file exists
Get file attributes
Get file version info

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
sub esp, 8
mov dword [eax], 0
mov dword [ecx], 0
push ebx
push esi
mov esi, dword [esp + 0x14]
xor bl, bl
test esi, esi
push edi
je 0x23107533
cmp byte [esi], 0
je 0x23107533
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x23107533
lea edx, [esp + 0x18]
push edx
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x23107533
push ebp
push edi
call fcn.231104b6
add esp, 4
mov ebp, eax
mov eax, dword [esp + 0x1c]
push ebp
push edi
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoA
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
push 0x23120a60
push ebp
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x23107520
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov bl, 1
mov ecx, dword [eax + 8]
mov dword [edx], ecx
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
push ebp
call fcn.2310f8b0
add esp, 4
mov al, bl
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
pop edi
mov al, bl
pop esi
pop ebx
add esp, 8
ret

Function at 0x23107590
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
lea esi, [ecx + 0x64]
push eax
push esi
push 0x104
push 0
push str.wininet.dll
push 0
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop esi
pop ecx
ret
Function at 0x23107800
Capabilities:
Get file version info

Disassembly:
sub esp, 8
lea eax, [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push eax
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x231078bb
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x231078bb
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x231078a5
mov ecx, dword [esp + 0x1c]
push edi
push esi
push ecx
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x2310789e
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push 0x23120a60
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x2310789e
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + 8]
shr ecx, 0x10
mov dword [edx], ecx
mov edx, dword [esp + 0x24]
xor ecx, ecx
mov cx, word [eax + 8]
mov dword [edx], ecx
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x28]
shr ecx, 0x10
mov dword [edx], ecx
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov cx, word [eax + 0xc]
mov dword [edx], ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 0x14
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 0x14
Function at 0x2310adc0
Capabilities:
Initialize winsock library

Disassembly:
mov eax, dword [0x23127408]
sub esp, 0x1c4
test eax, eax
je 0x2310addb
mov eax, 1
add esp, 0x1c4
ret
lea eax, [esp + 0x34]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x2310aebf
push esi
push edi
push eax
mov dword [0x23127408], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [esp + 0xc]
mov esi, eax
push ecx
push str.GatorAsyncWndClass
push esi
mov dword [esp + 0x18], 0x30
call dword [sym.imp.USER32.dll_GetClassInfoExA]
test eax, eax
je 0x2310ae30
push esi
push str.GatorAsyncWndClass
call dword [sym.imp.USER32.dll_UnregisterClassA]
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0xc]
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x10], 0x30
mov dword [esp + 0x18], 0x2310aef0
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], str.GatorAsyncWndClass
call dword [sym.imp.USER32.dll_RegisterClassExA]
pop edi
pop esi
test ax, ax
je 0x2310aebf
mov byte [0x231274c8], 0
lea eax, [esp]
push 0
push eax
push str.GetHostByNameTimeout
push str.softwareGator.comGatordyn
push reloc.WSOCK32.dll_bind
mov dword [esp + 0x14], 0
call fcn.2310e5e0
add esp, 0x14
test eax, eax
je 0x2310aea9
mov eax, dword [esp]
test eax, eax
mov dword [0x231221a8], eax
jne 0x2310aeb3
mov dword [0x231221a8], 0x14
mov eax, dword [0x23127408]
add esp, 0x1c4
ret
xor eax, eax
add esp, 0x1c4
ret
Function at 0x2310af70
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x424
push ebp
mov ebp, dword [esp + 0x42c]
push esi
mov esi, ebp
cmp byte [ebp], 0
je 0x2310afa4
movsx eax, byte [esi]
push eax
call fcn.23111015
add esp, 4
test eax, eax
jne 0x2310af9c
cmp byte [esi], 0x2e
jne 0x2310afb2
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x2310af87
pop esi
mov eax, 1
pop ebp
add esp, 0x424
ret
call fcn.2310adc0
test eax, eax
jne 0x2310afc4
pop esi
pop ebp
add esp, 0x424
ret
xor esi, esi
push ebx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push bind
push str.GatorAsyncWnd
push str.GatorAsyncWndClass
push esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ebx, eax
test ebx, ebx
je 0x2310b0fc
push edi
lea ecx, [esp + 0x34]
push 0x400
push ecx
push ebp
push 0x43e
push ebx
call sub.WSOCK32.dll_WSAAsyncGetHostByName
test eax, eax
mov dword [esp + 0x10], eax
je 0x2310b0f4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x231221a8]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*8]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esp + 0x14], eax
jbe 0x2310b0e6
push 1
push 0
push 0
lea ecx, [esp + 0x24]
push ebx
push ecx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x2310b0b9
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [esp + 0x1c], 0x43e
jne 0x2310b0b9
mov ecx, dword [esp + 0x24]
shr ecx, 0x10
test cx, cx
jne 0x2310b0b9
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
mov ecx, dword [eax]
push ecx
call sub.WSOCK32.dll_inet_ntoa
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 1
mov al, byte [0x231274c8]
test al, al
jne 0x2310b0e6
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
je 0x2310b035
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
pop edi
mov eax, esi
pop ebx
pop esi
pop ebp
add esp, 0x424
ret
test esi, esi
jne 0x2310b0f4
mov eax, dword [esp + 0x10]
push eax
call sub.WSOCK32.dll_WSACancelAsyncRequest
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
pop edi
mov eax, esi
pop ebx
pop esi
pop ebp
add esp, 0x424
ret
Function at 0x2310b8b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push 0
push ebx
call fcn.2310c4c0
add esp, 8
mov ecx, ebx
push str.send
push 0
push 1
call fcn.2310c460
test eax, eax
jne 0x2310b8dc
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
test ebp, ebp
jge 0x2310b8f6
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov edi, edx
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x20]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*8]
mov dword [esp + 0x14], edx
mov eax, dword [ebx]
push 0
push ebp
push edi
push eax
call sub.WSOCK32.dll_send
mov esi, eax
cmp esi, 0xffffffff
je 0x2310b959
mov ecx, dword [esp + 0x18]
add ecx, esi
test esi, esi
mov dword [esp + 0x18], ecx
jle 0x2310b953
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x20]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*8]
mov dword [esp + 0x14], edx
add edi, esi
sub ebp, esi
jmp 0x2310b96f
mov ecx, ebx
call fcn.2310c450
cmp eax, 0x2733
jne 0x2310b98a
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
test ebp, ebp
je 0x2310b9b9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esp + 0x14]
ja 0x2310b9a2
mov al, byte [0x231274c8]
test al, al
jne 0x2310b9b9
jmp 0x2310b919
push eax
push str.Send_failed___d_.
push ebx
call fcn.2310c4c0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8
push str.Send_timed_out.
push ebx
call fcn.2310c4c0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov dl, byte [0x231274c8]
pop edi
test dl, dl
sete al
pop esi
pop ebp
and eax, 0xff
pop ebx
ret 8
Function at 0x2310c0b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x10
push ebx
push esi
xor esi, esi
mov ebx, ecx
push esi
push ebx
call fcn.2310c4c0
mov eax, dword [ebx + 8]
add esp, 8
cmp eax, esi
jne 0x2310c0e4
push str.retrieve_file_headers
push 1
push 1
mov ecx, ebx
call fcn.2310c460
test eax, eax
jne 0x2310c0e4
pop esi
pop ebx
add esp, 0x10
ret
mov eax, dword [ebx + 8]
push ebp
cmp eax, esi
push edi
jne 0x2310c224
push 0x2000
call fcn.2310b440
mov dword [ebx + 8], eax
add esp, 4
mov byte [eax], 0
mov dword [esp + 0x10], esi
xor ebp, ebp
mov dword [esp + 0x14], esi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ecx, dword [ebx + 0x24]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*8]
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x1c], edx
jne 0x2310c216
cmp esi, 0x2000
jae 0x2310c1af
test ebp, ebp
jne 0x2310c1b3
mov eax, 0x2000
sub eax, esi
cmp eax, 0x80
jbe 0x2310c154
mov eax, 0x80
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [ebx + 8]
push edx
push eax
mov eax, esi
add eax, ecx
mov ecx, ebx
push eax
call fcn.2310c280
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
add esi, eax
test ecx, ecx
jne 0x2310c194
test eax, eax
jne 0x2310c194
call edi
cmp eax, dword [esp + 0x1c]
ja 0x2310c20e
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebx + 8]
push str._r_n_r_n
push ecx
call fcn.23110640
mov ebp, eax
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x2310c135
test ebp, ebp
je 0x2310c216
mov ecx, ebx
mov byte [ebp], 0
call fcn.2310b9d0
cmp eax, 0x64
jne 0x2310c22f
mov edx, dword [ebx + 8]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub esi, ecx
sub esi, 4
mov eax, esi
je 0x2310c1f4
mov ecx, eax
mov edi, edx
mov edx, ecx
lea esi, [ebp + 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, eax
jmp 0x2310c1f9
xor esi, esi
mov byte [edx], 0
mov eax, dword [esp + 0x14]
xor ebp, ebp
inc eax
cmp eax, 2
mov dword [esp + 0x14], eax
jge 0x2310c224
jmp 0x2310c10e
mov dword [esp + 0x10], 1
push str.Reply_contains_no_headers.
push ebx
call fcn.2310c4c0
add esp, 8
mov eax, dword [ebx + 8]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10
ret
mov edi, dword [ebx + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub esi, ecx
add esi, 0xfffffffc
test esi, esi
mov dword [ebx + 0x10], esi
je 0x2310c224
push esi
call fcn.2310b440
mov ecx, dword [ebx + 0x10]
mov dword [ebx + 0xc], eax
mov edi, eax
mov eax, ecx
lea esi, [ebp + 4]
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 8]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x2310c280
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 0
push ebp
mov dword [esp + 0x18], 0
call fcn.2310c4c0
add esp, 8
mov ecx, ebp
push str.read_file
push 1
push 1
call fcn.2310c460
test eax, eax
jne 0x2310c2b6
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov dword [ebx], 0
mov dword [edi], 0
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x2310c383
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x2310c383
mov eax, dword [esp + 0x1c]
cmp eax, ecx
jb 0x2310c320
mov edi, dword [esp + 0x18]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebx], ecx
mov edx, dword [ebp + 0xc]
push edx
mov dword [ebp + 0x10], esi
call fcn.2310f8b0
add esp, 4
mov dword [ebp + 0xc], esi
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov edi, dword [esp + 0x18]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x10]
sub ebx, eax
push ebx
call fcn.2310b440
mov esi, dword [ebp + 0xc]
mov edi, dword [esp + 0x20]
mov ecx, ebx
add esi, edi
mov dword [esp + 0x1c], eax
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.2310f8b0
mov edx, dword [esp + 0x20]
add esp, 8
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp]
push 0
push eax
push ecx
push edx
call sub.WSOCK32.dll_recv
cmp eax, 0xffffffff
jne 0x2310c3d4
mov ecx, ebp
call fcn.2310c450
cmp eax, 0x2733
je 0x2310c3c2
push eax
push str.Recv_failed___d_
push ebp
mov dword [edi], 1
call fcn.2310c4c0
add esp, 0xc
jmp 0x2310c3f1
push 1
mov dword [esp + 0x14], 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x2310c404
test eax, eax
jle 0x2310c3e4
mov dword [ebx], eax
mov dword [esp + 0x10], 1
jmp 0x2310c404
mov ecx, ebp
mov dword [edi], 1
call fcn.2310c450
cmp dword [edi], 0
jne 0x2310c404
push str.No_data_was_received
push ebp
call fcn.2310c4c0
add esp, 8
mov al, byte [0x231274c8]
test al, al
je 0x2310c427
mov dword [edi], 1
pop edi
mov dword [esp + 0xc], 0
pop esi
mov eax, dword [esp + 8]
pop ebp
pop ebx
pop ecx
ret 0x10
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x2310c435
mov dword [edi], 1
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
Function at 0x2310d3c0
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
test edi, edi
je 0x2310d40a
push edi
call fcn.2310d410
mov ecx, esi
call fcn.2310d4c0
cmp eax, edi
jb 0x2310d3ff
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 8]
push edi
push eax
add ecx, dword [esi + 0xc]
push ecx
call fcn.231106c0
mov eax, dword [esi + 0xc]
add esp, 0xc
add eax, edi
mov dword [esi + 0xc], eax
pop edi
pop esi
ret 8
push str.Out_of_memory_in_CMemBuffer___Cannot_append_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
ret 8

Function at 0x2310d410
Capabilities:
Print debug messages

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.2310d4c0
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x2310d487
mov edi, dword [esi + 4]
mov ebp, dword [esi + 8]
add ecx, edi
mov ebx, ecx
lea eax, [ebx + 2]
push eax
call fcn.231104b6
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi + 8], edi
je 0x2310d479
mov ecx, ebx
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
test ebp, ebp
rep stosb byte es:[edi], al
je 0x2310d46f
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
push eax
push ebp
push ecx
call fcn.231106c0
push ebp
call fcn.2310f8b0
add esp, 0x10
mov dword [esi + 4], ebx
pop edi
pop esi
pop ebp
pop ebx
ret 4
push str.Out_of_memory_in_CMemBuffer__r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 8], ebp
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x2310d610
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7c
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
xor esi, esi
mov eax, 1
push edi
mov dword [esp + 0x14], str.IEGator
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], str.MiniSetup
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], str.Setup
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], str.Uninstall
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], str.Trickler
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], str.PdpSetup
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], 0x23122b34
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0x23122b30
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0x23122b28
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], str.OfferCompanion
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], str.PrecisionTime
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], str.DateManager
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], str.Weather
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0x23122af0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0x23122aec
mov dword [esp + 0x88], eax
lea edi, [esp + 0x14]
mov ebx, 0xf
mov eax, dword [edi]
push eax
call ebp
add edi, 8
dec ebx
lea esi, [esi + eax + 2]
jne 0x2310d6ea
add esi, 0xa
push esi
call fcn.231104b6
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x2310d766
mov ecx, esi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov esi, ebx
and ecx, 3
mov dword [esp + 0x10], 0xf
rep stosb byte es:[edi], al
lea edi, [esp + 0x14]
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x2310d73f
mov eax, dword [edi + 4]
test eax, eax
je 0x2310d758
mov eax, dword [edi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call ebp
mov cl, byte [esp + 0x90]
add esi, eax
mov byte [esi], cl
inc esi
mov eax, dword [esp + 0x10]
add edi, 8
dec eax
mov dword [esp + 0x10], eax
jne 0x2310d72d
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x7c
ret
Function at 0x2310e200
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov ebp, dword [esp + 0x3c]
mov byte [ebp + 0xf], al
shr eax, 8
mov byte [ebp + 0xe], al
shr eax, 8
mov byte [ebp + 0xd], al
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
shr edi, 0xc
lea edx, [esp + 0x10]
shl edi, 0xc
shr ecx, 0xc
push edx
add edi, ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
shl ebx, 0xa
add ebx, eax
call esi
mov esi, eax
mov al, byte [0x231275c4]
add esi, ebx
add esi, edi
test al, al
jne 0x2310e272
push esi
call fcn.23111fa0
add esp, 4
mov byte [0x231275c4], 1
call fcn.23111fad
mov dword [esp + 0x3c], eax
call fcn.23111fad
mov ebx, eax
mov eax, esi
and eax, 0xff
add eax, 0xa
test eax, eax
jle 0x2310e2a3
mov edi, eax
call fcn.23111fad
dec edi
mov ebx, eax
jne 0x2310e299
push 0
call fcn.23111ec4
add esp, 4
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, edi
add esi, eax
call fcn.23111fad
and esi, 0xff
add esi, 0xa
test esi, esi
jle 0x2310e2d3
call fcn.23111fad
dec esi
jne 0x2310e2cb
mov cl, byte [esp + 0x3c]
or al, 0x80
pop edi
mov byte [ebp + 0xc], cl
mov byte [ebp + 0xb], bl
mov byte [ebp + 0xa], al
pop esi
pop ebp
pop ebx
add esp, 0x28
ret