joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f800
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42579b
push eax
mov dword fs:[0], esp
sub esp, 0xd30
push ebx
push ebp
mov ebp, dword [esp + 0xd48]
xor ebx, ebx
cmp ebp, ebx
je 0x40f9be
cmp byte [ebp], bl
je 0x40f9be
mov eax, dword [esp + 0xd4c]
cmp eax, ebx
je 0x40f9be
cmp byte [eax], bl
je 0x40f9be
call fcn.0040fde0
test eax, eax
je 0x40f9be
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0040f9e0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [0x4322fc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xd58]
neg eax
sbb eax, eax
push ecx
and eax, 2
push ecx
push ecx
push eax
push 1
lea ecx, [esp + 0x524]
call fcn.00410510
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x91]
mov byte [esp + 0x90], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebp
lea ecx, [esp + 0x94]
push str._rs.dll__s
push ecx
mov dword [esp + 0xd54], ebx
stosb byte es:[edi], al
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0xd68]
add esp, 0xc
cmp eax, ebx
jne 0x40f90c
mov eax, 0x42fa7c
push eax
lea edx, [esp + 0x114]
push str.User_Agent:_Qwert_3.1_Log_r_n_s
push edx
call fcn.0041c117
mov edi, dword [esp + 0xd60]
add esp, 0xc
lea eax, [esp + 0x110]
lea ecx, [esp + 0x90]
push edi
push eax
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x520]
call fcn.00410a50
mov esi, eax
mov eax, dword [0x432300]
cmp eax, ebx
je 0x40f979
mov ecx, dword [0x432304]
lea edx, [esp + 0x110]
push ecx
push esi
push edi
push edx
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x20]
push ecx
push edx
call eax
add esp, 0x18
pop edi
cmp esi, 0xc8
pop esi
jne 0x40f988
mov ebx, 1
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
lea ecx, [esp + 0x508]
mov dword [esp + 0xd40], 0xffffffff
call fcn.00410630
mov eax, ebx
pop ebp
pop ebx
mov ecx, dword [esp + 0xd30]
mov dword fs:[0], ecx
add esp, 0xd3c
ret
mov ecx, dword [esp + 0xd38]
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0xd3c
ret
Function at 0x40faf0
Capabilities:
Initialize winsock library

Disassembly:
push 0x4324a4
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
jmp 0x40fb60
mov eax, dword [0x4324a0]
sub esp, 0x1c8
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
jne 0x40fc2e
lea eax, [esp + 0x44]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x40fbec
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]
push ecx
push str.GatorAsyncWndClass
push esi
call dword [sym.imp.USER32.dll_GetClassInfoExA]
test eax, eax
jne 0x40fbe2
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0x30
push edx
mov dword [esp + 0x20], 0x40fcf0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x40], str.GatorAsyncWndClass
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0x40fbec
mov dword [0x4324a0], 1
mov byte [0x4324a8], bl
lea eax, [esp + 0xc]
push ebx
push eax
push str.GetHostByNameTimeout
push str.softwareQwertyuioQwertdyn
push reloc.WSOCK32.dll_bind
mov dword [esp + 0x20], ebx
call fcn.0040afb0
add esp, 0x14
test eax, eax
je 0x40fc24
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov dword [0x42b8d8], eax
jne 0x40fc2e
mov dword [0x42b8d8], 0x14
call fcn.0040fd10
test eax, eax
je 0x40fce0
cmp dword [0x42b8dc], 0xffffffff
jne 0x40fce0
mov edi, dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
push ebp
push 0x108
push 0x40
mov dword [0x42b8dc], 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], 0x108
push ebx
mov dword [esp + 0x28], 0x108
mov dword [esp + 0x24], ebx
call dword [0x4324b8]
mov ebp, dword [sym.imp.KERNEL32.DLL_GlobalFree]
cmp eax, 0x25b
jne 0x40fcb9
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], 0x108
call dword [0x4324b8]
cmp eax, ebx
jne 0x40fccd
cmp dword [esp + 0x10], ebx
je 0x40fccd
mov dword [0x42b8dc], 1
push esi
call ebp
mov eax, dword [0x4324a0]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1c8
ret
mov eax, dword [0x4324a0]
pop edi
pop esi
pop ebx
add esp, 0x1c8
ret
Function at 0x411420
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 0x4114ea
cmp byte [ebp], 0
je 0x4114ea
lea edx, [esp + 8]
push 0x104
push edx
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
test eax, eax
je 0x4114e8
push esi
push edi
mov edi, 0x42b380
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.00411500
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 0x411500
Capabilities:
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 0x411597
cmp byte [esi], 0
je 0x411597
lea edx, [esp + 0x18]
push edx
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x411597
push ebp
push edi
call fcn.0041b345
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 0x42b380
push ebp
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x411584
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.0041b272
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 0x4115f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
lea esi, [ecx + 0x60]
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 0x411635
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x5c], ebp
jne 0x4117ea
call fcn.004115f0
test eax, eax
je 0x4117ea
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x24]
lea edi, [esi + 0x60]
push edx
push eax
push edi
mov ecx, esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
call fcn.00411850
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
lea edx, [esi + 0x164]
push str._d._d._d._d
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov ebx, eax
cmp ebx, ebp
je 0x4117ea
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.InternetGetConnectedState
push ebx
call edi
push str.InternetErrorDlg
push ebx
mov dword [esi + 0x10], eax
call edi
push str.InternetAttemptConnect
push ebx
mov dword [esi + 0x14], eax
call edi
push str.InternetQueryOptionA
push ebx
mov dword [esi + 0x18], eax
call edi
push str.InternetOpenA
push ebx
mov dword [esi + 0x28], eax
call edi
push str.InternetConnectA
push ebx
mov dword [esi + 0x1c], eax
call edi
push str.InternetCloseHandle
push ebx
mov dword [esi + 0x30], eax
call edi
push str.InternetReadFile
push ebx
mov dword [esi + 0x34], eax
call edi
push str.InternetOpenUrlA
push ebx
mov dword [esi + 0x38], eax
call edi
push str.InternetSetStatusCallback
push ebx
mov dword [esi + 0x44], eax
call edi
push str.InternetSetOptionA
push ebx
mov dword [esi + 0x20], eax
call edi
push str.InternetGetLastResponseInfoA
push ebx
mov dword [esi + 0x24], eax
call edi
push str.HttpOpenRequestA
push ebx
mov dword [esi + 0x2c], eax
call edi
push str.HttpSendRequestA
push ebx
mov dword [esi + 0x3c], eax
call edi
push str.HttpQueryInfoA
push ebx
mov dword [esi + 0x40], eax
call edi
push str.InternetCanonicalizeUrlA
push ebx
mov dword [esi + 0x48], eax
call edi
push str.InternetCombineUrlA
push ebx
mov dword [esi + 0x4c], eax
call edi
push str.InternetCrackUrlA
push ebx
mov dword [esi + 0x50], eax
call edi
push str.HttpAddRequestHeadersA
push ebx
mov dword [esi + 0x54], eax
call edi
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x58], eax
cmp ecx, ebp
je 0x4117ea
cmp dword [esi + 0x28], ebp
je 0x4117ea
cmp dword [esi + 0x1c], ebp
je 0x4117ea
cmp dword [esi + 0x20], ebp
je 0x4117ea
cmp dword [esi + 0x24], ebp
je 0x4117ea
cmp dword [esi + 0x2c], ebp
je 0x4117ea
cmp dword [esi + 0x30], ebp
je 0x4117ea
cmp dword [esi + 0x34], ebp
je 0x4117ea
cmp dword [esi + 0x38], ebp
je 0x4117ea
cmp dword [esi + 0x3c], ebp
je 0x4117ea
cmp dword [esi + 0x40], ebp
je 0x4117ea
cmp eax, ebp
je 0x4117ea
cmp dword [esi + 0x48], ebp
je 0x4117ea
cmp dword [esi + 0x4c], ebp
je 0x4117ea
cmp dword [esi + 0x50], ebp
je 0x4117ea
cmp dword [esi + 0x54], ebp
je 0x4117ea
cmp dword [esi + 0x44], ebp
je 0x4117ea
mov dword [esi + 0x5c], ebx
mov ecx, dword [esi + 0x5c]
xor eax, eax
pop edi
cmp ecx, ebp
pop esi
pop ebp
setne al
pop ebx
add esp, 0x10
ret
Function at 0x411850
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 0x41190b
push esi
push 0x42
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x41190b
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov edi, eax
test edi, edi
je 0x4118f5
mov ecx, dword [esp + 0x1c]
push edi
push esi
push ecx
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4118ee
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push 0x42b380
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4118ee
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 0x414940
Capabilities:
Initialize winsock library

Disassembly:
mov eax, dword [0x4337f0]
sub esp, 0x1c4
test eax, eax
push esi
je 0x41495d
mov eax, 1
pop esi
add esp, 0x1c4
ret
lea eax, [esp + 0x38]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x414a2c
push edi
push eax
mov dword [0x4337f0], 1
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov esi, eax
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
push str.GatorAsyncWndClass
push esi
call dword [sym.imp.USER32.dll_GetClassInfoExA]
test eax, eax
pop edi
jne 0x4149d7
lea edx, [esp + 8]
mov dword [esp + 8], 0x30
push edx
mov dword [esp + 0x14], 0x40fcf0
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], str.GatorAsyncWndClass
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0x414a2c
mov byte [0x4338b0], 0
lea eax, [esp + 4]
push 0
push eax
push str.GetHostByNameTimeout
push str.softwareQwertyuioQwertdyn
push reloc.WSOCK32.dll_bind
mov dword [esp + 0x18], 0
call fcn.0040afb0
add esp, 0x14
test eax, eax
je 0x414a15
mov eax, dword [esp + 4]
test eax, eax
mov dword [0x42d23c], eax
jne 0x414a1f
mov dword [0x42d23c], 0x14
mov eax, dword [0x4337f0]
pop esi
add esp, 0x1c4
ret
xor eax, eax
pop esi
add esp, 0x1c4
ret
Function at 0x414ac0
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 0x414af4
movsx eax, byte [esi]
push eax
call fcn.0041bca2
add esp, 4
test eax, eax
jne 0x414aec
cmp byte [esi], 0x2e
jne 0x414b02
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x414ad7
pop esi
mov eax, 1
pop ebp
add esp, 0x424
ret
call fcn.00414940
test eax, eax
jne 0x414b14
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 0x414c4c
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 0x414c44
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, dword [0x42d23c]
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 0x414c36
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 0x414c09
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 0x414c09
mov ecx, dword [esp + 0x24]
shr ecx, 0x10
test cx, cx
jne 0x414c09
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 [0x4338b0]
test al, al
jne 0x414c36
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
test esi, esi
je 0x414b85
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 0x414c44
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 0x4153e0
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.00415ff0
add esp, 8
mov ecx, ebx
push str.send
push 0
push 1
call fcn.00415f90
test eax, eax
jne 0x41540c
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
test ebp, ebp
jge 0x415426
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 0x415489
mov ecx, dword [esp + 0x18]
add ecx, esi
test esi, esi
mov dword [esp + 0x18], ecx
jle 0x415483
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 0x41549f
mov ecx, ebx
call fcn.00415f80
cmp eax, 0x2733
jne 0x4154ba
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
test ebp, ebp
je 0x4154e9
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
cmp eax, dword [esp + 0x14]
ja 0x4154d2
mov al, byte [0x4338b0]
test al, al
jne 0x4154e9
jmp 0x415449
push eax
push str.Send_failed___d_.
push ebx
call fcn.00415ff0
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.00415ff0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov dl, byte [0x4338b0]
pop edi
test dl, dl
sete al
pop esi
pop ebp
and eax, 0xff
pop ebx
ret 8
Function at 0x415db0
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.00415ff0
add esp, 8
mov ecx, ebp
push str.read_file
push 1
push 1
call fcn.00415f90
test eax, eax
jne 0x415de6
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 0x415eb3
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x415eb3
mov eax, dword [esp + 0x1c]
cmp eax, ecx
jb 0x415e50
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.0041b272
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.00414f90
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.0041b272
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 0x415f04
mov ecx, ebp
call fcn.00415f80
cmp eax, 0x2733
je 0x415ef2
push eax
push str.Recv_failed___d_
push ebp
mov dword [edi], 1
call fcn.00415ff0
add esp, 0xc
jmp 0x415f21
push 0xa
mov dword [esp + 0x14], 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x415f34
test eax, eax
jle 0x415f14
mov dword [ebx], eax
mov dword [esp + 0x10], 1
jmp 0x415f34
mov ecx, ebp
mov dword [edi], 1
call fcn.00415f80
cmp dword [edi], 0
jne 0x415f34
push str.No_data_was_received
push ebp
call fcn.00415ff0
add esp, 8
mov al, byte [0x4338b0]
test al, al
je 0x415f57
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 0x415f65
mov dword [edi], 1
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
Function at 0x417790
Capabilities:
Get common file path

Disassembly:
sub esp, 0x128
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], 0
rep stosd dword es:[edi], eax
mov ebp, dword [esp + 0x13c]
xor esi, esi
stosw word es:[edi], ax
test ebp, ebp
stosb byte es:[edi], al
jne 0x4177e4
lea eax, [esp + 0x34]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
test eax, eax
je 0x4178c2
lea ecx, [esp + 0x34]
lea ebp, [esp + 0x34]
test ecx, ecx
je 0x4178c2
cmp byte [ebp], 0
je 0x4178c2
mov ebx, dword [esp + 0x140]
test ebx, ebx
je 0x4178c2
cmp byte [ebx], 0
je 0x4178c2
mov edi, dword [esp + 0x144]
test edi, edi
je 0x4178c2
mov esi, dword [sym.imp.KERNEL32.DLL_lstrlenA]
push ebp
call esi
mov edx, eax
push ebx
mov dword [esp + 0x14], edx
call esi
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x148]
lea eax, [edx + eax + 0x10]
cmp ecx, eax
jle 0x4178b3
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov esi, eax
mov eax, dword [0x4338bc]
cmp esi, eax
jne 0x41785c
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov esi, eax
mov eax, dword [0x4338bc]
cmp esi, eax
je 0x41784b
push ebp
push edi
mov dword [0x4338bc], esi
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov ecx, dword [esp + 0x148]
push ecx
push edi
call fcn.0040ce70
add esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcatA]
push edi
call ebx
push esi
lea edx, [esp + 0x18]
push str._08X.tmp
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push edi
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x128
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x128
ret 0x10
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret 0x10

Function at 0x418510
Capabilities:
Copy file

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
lea eax, [esp + 0x10]
push ebp
lea edi, [esi + 0x1574]
push eax
push str.AccumFile
push edi
push reloc.WSOCK32.dll_bind
mov dword [esp + 0x24], ebp
call fcn.0040adb0
mov ecx, dword [esp + 0x24]
push ebp
push ecx
call fcn.0040ca30
mov edx, dword [esp + 0x2c]
push edx
call fcn.0041b272
add esp, 0x20
lea ebx, [esi + 0x1d74]
mov ecx, esi
push 1
push 0x104
push ebx
push 0x42dc24
call fcn.00418a10
test eax, eax
je 0x4185de
push ebx
push str.AccumFile
push edi
push reloc.WSOCK32.dll_bind
call fcn.0040b170
mov eax, dword [esi + 0x1e80]
push eax
push str.UrlSize
push edi
push reloc.WSOCK32.dll_bind
call fcn.0040b1f0
lea ecx, [esi + 0x1e88]
push ecx
push str.UrlTime
push edi
push reloc.WSOCK32.dll_bind
call fcn.0040b170
mov edi, dword [esp + 0x48]
push edi
call fcn.0040ca00
add esp, 0x34
test eax, eax
je 0x4185c8
push ebp
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
push 0
mov ecx, esi
call fcn.004185f0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 4
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
pop ecx
ret 4