joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a20b
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00457450
mov esi, dword [ebp + 0xc]
push 0x2454
push 0
push esi
call fcn.00457450
lea eax, [esi + 8]
mov dword [ebp - 0x38], eax
lea eax, [esi + 0x2148]
mov dword [ebp - 0x2c], eax
lea eax, [esi + 0x48]
mov dword [ebp - 0x10], eax
mov eax, 0x800
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
lea eax, [esi + 0x2348]
lea ecx, [esi + 0x1048]
mov dword [ebp - 0x20], eax
mov eax, 0x80
mov dword [ebp - 8], ecx
lea ecx, [esi + 0x2048]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
add esp, 0x18
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 0x20
mov dword [ebp - 0x28], 0x100
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x44a293
sub eax, ecx
lea ecx, [ebp - 0x3c]
push ecx
push dword [ebp + 0x10]
sar eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x44a2ec
mov eax, dword [ebp - 0x30]
cmp eax, 3
je 0x44a2c8
cmp eax, 4
je 0x44a2c8
cmp eax, 1
jne 0x44a2ec
mov cx, word [ebp - 0x24]
and dword [esi + 0x2448], 0
and dword [esi + 0x244c], 0
or dword [esi + 0x2450], 0xffffffff
mov dword [esi + 4], eax
xor eax, eax
mov word [esi], cx
inc eax
jmp 0x44a2ee
xor eax, eax
pop esi
leave
ret

Function at 0x44a667
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x214], ebx
call fcn.00457450
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 0xc
push 2
push ebx
push 0xffffffffffffff96
push dword [esi + 8]
call edi
push ebx
lea eax, [ebp - 0x210]
push eax
push 0x6a
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x210], 0x6a
jne 0x44a762
mov edx, str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
lea eax, [ebp - 0x20c]
mov cx, word [eax]
cmp cx, word [edx]
jne 0x44a713
cmp cx, bx
je 0x44a70f
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x44a713
add eax, 4
add edx, 4
cmp cx, bx
jne 0x44a6ed
xor eax, eax
jmp 0x44a718
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x44a762
push 1
push ebx
push 0xffffffffffffff92
push dword [esi + 8]
call edi
push ebx
lea eax, [ebp - 0x210]
push eax
push 4
lea eax, [ebp - 0x214]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x210]
push 1
add eax, ecx
push ebx
neg eax
push eax
push dword [esi + 8]
call edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045759d
leave
ret
Function at 0x44b137
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ecx + 0x61870]
mov dword [ebp - 8], ecx
push edi
xor ecx, ecx
xor edi, edi
xor edx, edx
cmp cx, word [eax]
je 0x44b160
mov edx, eax
push 0x10000000
push edi
push edi
push edi
push edx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x14], eax
cmp eax, edi
je 0x44b2d6
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], edi
mov edi, dword [esi + 0x20]
lea edx, [edi + 0x2348]
mov ecx, edx
mov dword [ebp - 0x18], 3
lea eax, [ecx + 2]
mov bx, word [ecx]
inc ecx
inc ecx
test bx, bx
jne 0x44b19b
sub ecx, eax
sar ecx, 1
je 0x44b1ae
mov dword [ebp - 0xc], edx
lea edx, [edi + 0x2048]
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
inc ecx
inc ecx
test ax, ax
jne 0x44b1b9
sub ecx, ebx
sar ecx, 1
je 0x44b1cc
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
mov ebx, dword [ebp - 8]
jne 0x44b1f7
lea edx, [ebx + 0x60628]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 8], eax
mov ax, word [ecx]
inc ecx
inc ecx
test ax, ax
jne 0x44b1e3
sub ecx, dword [ebp - 8]
sar ecx, 1
je 0x44b1f7
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x14], 0
jne 0x44b21f
lea edx, [ebx + 0x60728]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 8], eax
mov ax, word [ecx]
inc ecx
inc ecx
test ax, ax
jne 0x44b20b
sub ecx, dword [ebp - 8]
sar ecx, 1
je 0x44b21f
mov dword [ebp - 0x14], edx
xor eax, eax
inc eax
cmp dword [edi + 4], eax
jne 0x44b22a
mov dword [ebp - 0x18], eax
push 0x44ad10
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov eax, dword [esi + 0x20]
movzx ecx, word [eax]
push esi
push dword [ebx + 0x26e0]
add eax, 0x2148
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push ecx
push eax
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 0x18], eax
test eax, eax
je 0x44b2d6
add ebx, 0x60828
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x44b270
sub eax, edx
sar eax, 1
je 0x44b2d1
mov dword [ebp - 0x28], 3
test ebx, ebx
je 0x44b29a
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x44b2a0
and dword [ebp - 0x24], 0
jmp 0x44b2b9
lea edi, [eax + eax]
mov eax, edi
call fcn.00459700
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.00417480
mov dword [ebp - 0x24], eax
push 0xc
lea eax, [ebp - 0x28]
push eax
push 0x26
push dword [esi + 0x14]
mov dword [ebp - 0x20], 0x56fd66
call dword [sym.imp.WININET.dll_InternetSetOptionA]
xor eax, eax
inc eax
jmp 0x44b2d8
xor eax, eax
lea esp, [ebp - 0x34]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045759d
leave
ret 4
Function at 0x44b682
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
push 2
xor edi, edi
lea esi, [ebx + 0x26fc]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push edi
push edi
push dword [ebx + 8]
sar eax, 2
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 8], edi
je 0x44b73f
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebx + 8]
call edi
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
and dword [ebp - 4], 0
sar eax, 2
mov dword [ebp - 0x10], 4
test eax, eax
jbe 0x44b716
push dword [ebp - 4]
mov ecx, esi
call fcn.0044a8cf
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0x20
push dword [eax]
push dword [ebx + 8]
call edi
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
add dword [ebp - 0x10], 0x20
inc dword [ebp - 4]
sar eax, 2
cmp dword [ebp - 4], eax
jb 0x44b6e8
mov eax, dword [ebp - 0x10]
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebx + 8]
call edi
push 0
lea eax, [ebp - 0xc]
push eax
push 0x6a
push str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
push dword [ebx + 8]
call edi
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44bbee
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1044
call fcn.00459800
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x1010], edi
mov dword [ebp - 0x100c], 0x4e24cc
cmp dword [edi + 0x2480], ebx
je 0x44bc31
mov dword [ebp - 0x100c], str.POST
xor eax, eax
push 0xffe
mov word [ebp - 0x1004], ax
lea eax, [ebp - 0x1002]
push ebx
push eax
mov dword [ebp - 0x1008], ebx
mov dword [ebp - 0x101c], 0x4e24b8
mov dword [ebp - 0x1018], ebx
call fcn.00457450
mov eax, dword [esi + 0x20]
lea ecx, [eax + 0x1048]
push ecx
add eax, 0x48
push eax
push str._s_s
lea eax, [ebp - 0x1004]
push 0x7ff
push eax
call fcn.0044aab0
add esp, 0x20
mov eax, 0x8400c300
cmp dword [edi + 0x62cd4], ebx
je 0x44bc9b
mov eax, 0x8408c300
mov ecx, dword [esi + 0x20]
cmp dword [ecx + 4], 4
jne 0x44bca9
or eax, 0x803000
push esi
push eax
lea eax, [ebp - 0x101c]
push eax
push ebx
push str.HTTP_1.1
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x100c]
push dword [esi + 0x18]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [esi + 0x1c], eax
cmp eax, ebx
je 0x44bdb9
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [ebp - 0x100c]
push ecx
push 2
push eax
mov dword [ebp - 0x100c], 0x3a98
call edi
push 4
lea eax, [ebp - 0x1014]
push eax
push 0x41
push dword [esi + 0x1c]
mov dword [ebp - 0x1014], 1
call edi
push 0xa
mov dword [ebp - 0x1008], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x1044]
rep stosd dword es:[edi], eax
xor ecx, ecx
push 2
pop edx
mov eax, 0x5168
mul edx
seto cl
mov dword [ebp - 0x1044], 0x28
neg ecx
or ecx, eax
push ecx
call fcn.004568b7
mov edi, eax
pop ecx
cmp edi, ebx
je 0x44bd94
push 0xa2d0
push ebx
push edi
call fcn.00457450
mov ecx, dword [ebp - 0x1010]
add esp, 0xc
push dword [ebp - 0x1008]
push 0x5167
push edi
push esi
call fcn.0044b2ec
mov eax, edi
mov dword [ebp - 0x103c], edi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x44bd80
sub eax, ecx
sar eax, 1
mov dword [ebp - 0x1038], eax
push esi
push 1
push ebx
lea eax, [ebp - 0x1044]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
mov dword [ebp - 0x1008], eax
cmp edi, ebx
je 0x44bdb9
push edi
call fcn.004573a9
pop ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1008]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045759d
leave
ret 4
Function at 0x44cb81
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 4], ecx
add ecx, 0x26e4
call fcn.0044a8cf
mov esi, dword [eax]
push 0xa
lea edx, [esi + 0x8044]
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, 0x8000
push edi
push eax
lea ebx, [esi + 0x40]
push ebx
mov dword [edx], 0x28
call fcn.00457450
mov ecx, dword [esi + 0x8040]
mov dword [esi + 0x8058], ebx
add esp, 0xc
lea ebx, [esi + 0x805c]
mov dword [ebx], edi
test ecx, ecx
je 0x44cbef
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0x18]
sub eax, dword [ecx + 8]
inc eax
cmp eax, edi
jle 0x44cbeb
mov eax, edi
mov dword [ebx], eax
jmp 0x44cc13
mov ecx, dword [ebp - 4]
lea eax, [ecx + 0x5d120]
cmp dword [eax], 0xffffffff
jne 0x44cc03
cmp dword [eax + 4], 0xffffffff
je 0x44cc13
mov eax, dword [eax]
sub eax, dword [ecx + 0x5d130]
cmp eax, edi
jg 0x44cc11
mov edi, eax
mov dword [ebx], edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 0x20]
xor edi, edi
inc edi
mov dword [esi + 0x28], 9
cmp dword [eax + 4], edi
je 0x44cc72
push esi
push edi
lea eax, [esi + 0x8044]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
je 0x44cc51
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, edi
jmp 0x44cc6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x44cc4d
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.0044c2e7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
push ebx
push dword [ebx]
push dword [esi + 0x8058]
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x44cc40
Function at 0x44d7ca
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
mov edi, ecx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x214], ebx
call fcn.00457450
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 0xc
push 2
push ebx
push 0xffffffffffffff96
push dword [edi + 8]
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
call esi
push ebx
lea eax, [ebp - 0x210]
push eax
push 0x6a
lea eax, [ebp - 0x20c]
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x210], 0x6a
jne 0x44d9b6
mov edx, str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
lea eax, [ebp - 0x20c]
mov cx, word [eax]
cmp cx, word [edx]
jne 0x44d888
cmp cx, bx
je 0x44d884
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x44d888
add eax, 4
add edx, 4
cmp cx, bx
jne 0x44d862
xor eax, eax
jmp 0x44d88d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x44d9b6
push 1
push ebx
push 0xffffffffffffff92
push dword [edi + 8]
call esi
push ebx
lea eax, [ebp - 0x210]
push eax
push 4
lea eax, [ebp - 0x224]
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x210]
push 1
add eax, ecx
push ebx
neg eax
push eax
push dword [edi + 8]
call esi
push ebx
lea eax, [ebp - 0x210]
push eax
push 4
lea eax, [ebp - 0x214]
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x218], ebx
cmp dword [ebp - 0x214], ebx
jbe 0x44d980
lea esi, [edi + 0x5cfe0]
push ebx
lea ecx, [ebp - 0x210]
push ecx
push 0x20
lea eax, [esi - 8]
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esi + 0x10]
add dword [esi], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
adc dword [esi + 4], eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
mov dword [esi - 8], ebx
sbb ecx, dword [esi + 4]
add eax, 1
adc ecx, ebx
add dword [ebp - 0x220], eax
lea eax, [esi - 8]
mov dword [ebp - 0x228], eax
adc dword [ebp - 0x21c], ecx
lea eax, [ebp - 0x228]
push eax
lea ecx, [edi + 0x26fc]
mov dword [esi - 4], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.0044d71d
inc dword [ebp - 0x218]
mov eax, dword [ebp - 0x218]
add esi, 0x20
cmp eax, dword [ebp - 0x214]
jb 0x44d904
mov ecx, dword [edi + 0x5d120]
sub ecx, dword [ebp - 0x220]
mov edx, dword [edi + 0x5d124]
sbb edx, dword [ebp - 0x21c]
lea eax, [edi + 0x5d138]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, edx
mov dword [edi + 0x5d134], eax
xor eax, eax
mov dword [edi + 0x5d130], ecx
inc eax
jmp 0x44d9b8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045759d
leave
ret
Function at 0x44e29b
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x576510]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 8], edi
je 0x44e2be
xor eax, eax
inc eax
jmp 0x44e429
push ebx
lea ebx, [esi + 0x5d140]
push ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
add eax, 0x41
push 0x3a
mov word [ebp - 0xc], ax
pop eax
push 0x5c
mov word [ebp - 0xa], ax
pop eax
mov word [ebp - 8], ax
xor eax, eax
push edi
mov word [ebp - 6], ax
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x44e426
mov ecx, dword [esi + 0x5d120]
mov eax, dword [esi + 0x5d124]
cmp ecx, 0xffffffff
jne 0x44e31a
cmp eax, ecx
je 0x44e339
mov edx, dword [ebp - 0x10]
cmp edx, eax
ja 0x44e339
jb 0x44e32a
mov eax, dword [ebp - 0x14]
cmp eax, ecx
ja 0x44e339
mov dword [esi + 0x2470], 2
jmp 0x44e426
push edi
push 0x20
push 4
push edi
push 1
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
je 0x44e410
cmp dword [esi + 0x2714], edi
je 0x44e40b
lea ebx, [esi + 0x26fc]
mov ecx, ebx
call fcn.00430284
mov ecx, esi
call fcn.0044d7ca
test eax, eax
jne 0x44e40b
lea eax, [esi + 0x2468]
cmp dword [eax], edi
ja 0x44e391
mov dword [eax], 5
push 0xa
pop ecx
cmp dword [eax], ecx
jbe 0x44e39a
mov dword [eax], ecx
mov eax, dword [esi + 0x5d120]
mov ecx, dword [esi + 0x5d124]
add eax, 0xffffffff
mov dword [esi + 0x5cfe8], eax
lea eax, [esi + 0x5cfd8]
adc ecx, 0xffffffff
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov dword [esi + 0x5cfec], ecx
push eax
mov ecx, ebx
mov dword [esi + 0x5cfe0], edi
mov dword [esi + 0x5cfe4], edi
call fcn.0044d71d
mov eax, dword [esi + 0x5d120]
mov edx, dword [esi + 0x5d124]
mov cl, 0x20
call fcn.00459c40
push edi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x5d120]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor eax, eax
inc eax
jmp 0x44e428
mov dword [esi + 0x2470], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x2474], eax
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045759d
leave
ret
Function at 0x44e437
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x805c]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x20]
cmp dword [eax + 4], 1
push esi
push edi
mov edi, ecx
jne 0x44e45b
mov eax, dword [ebx]
mov dword [ebp + 8], eax
xor esi, esi
cmp dword [edi + 0x2714], esi
je 0x44e4fc
call fcn.0044a667
mov esi, dword [ebx + 0x8040]
mov ecx, dword [esi + 8]
add ecx, dword [esi + 0x18]
mov eax, dword [esi + 0xc]
adc eax, dword [esi + 0x1c]
push 0
mov edx, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push ecx
push dword [edi + 8]
sar edx, 0x1f
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x44e4ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44e536
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
lea eax, [ebx + 0x40]
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44e536
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jne 0x44e536
add dword [esi + 0x18], eax
lea eax, [edi + 0x5d130]
adc dword [esi + 0x1c], 0
mov ecx, dword [ebp - 4]
add dword [eax], ecx
push ecx
push ebx
adc dword [eax + 4], 0
mov ecx, edi
call fcn.0044d9c7
mov ecx, edi
call fcn.0044b682
xor eax, eax
inc eax
jmp 0x44e538
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
lea eax, [ebx + 0x40]
push eax
push dword [edi + 8]
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44e536
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x44e536
lea eax, [edi + 0x5d130]
add dword [eax], ecx
push ecx
push ebx
adc dword [eax + 4], esi
mov ecx, edi
call fcn.0044d9c7
jmp 0x44e4f7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44e53f
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
lea ecx, [edi + 0x26e4]
call fcn.0044a8cf
mov esi, dword [eax]
mov eax, dword [esi + 0x20]
xor ebx, ebx
inc ebx
mov dword [esi + 0x28], 2
cmp dword [eax + 4], ebx
je 0x44e5b8
cmp dword [edi + 0x2480], 0
je 0x44e5a5
push dword [esi + 0xc]
and dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp + 8]
push eax
push dword [edi + 0x2484]
push dword [edi + 0x2480]
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x44e5a9
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, ebx
jmp 0x44e5de
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x44e5dc
jmp 0x44e5a5
cmp dword [esi], 0
jne 0x44e5c9
mov eax, dword [esi + 4]
test eax, eax
je 0x44e5c9
mov dword [esi + 0x18], eax
jmp 0x44e5a5
and dword [esi + 0x28], 0
push ebx
push dword [ebp + 8]
mov ecx, edi
call fcn.0044e1c6
test eax, eax
jne 0x44e5a5
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x44ed82
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
lea ecx, [edi + 0x26e4]
call fcn.0044a8cf
mov esi, dword [eax]
mov eax, dword [esi + 0x20]
mov dword [esi + 0x28], 6
cmp dword [eax + 4], 1
je 0x44edf9
cmp dword [edi + 0x2480], 0
je 0x44ee2b
push dword [esi + 0xc]
and dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp + 8]
push eax
push dword [edi + 0x2484]
push dword [edi + 0x2480]
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x44ede7
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x44ee2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x3e5
neg eax
sbb eax, eax
inc eax
jmp 0x44ee2e
cmp dword [esi], 0
jne 0x44ee0a
mov eax, dword [esi + 4]
test eax, eax
je 0x44ee0a
mov dword [esi + 0x18], eax
jmp 0x44ee2b
push 1
push dword [ebp + 8]
mov ecx, edi
mov dword [esi + 0x28], 4
call fcn.0044e1c6
test eax, eax
jne 0x44ee2b
push dword [ebp + 8]
mov ecx, edi
call fcn.0044c2e7
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 4
Function at 0x44f607
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0xc], ebx
je 0x44f61d
xor eax, eax
jmp 0x44f6a7
push edi
mov edi, str.MetalinkFile
lea eax, [esi + 0x5d550]
push edi
push eax
call fcn.00457855
pop ecx
pop ecx
cmp eax, ebx
je 0x44f65e
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
lea edx, [ecx + 2]
mov di, word [ecx]
inc ecx
inc ecx
cmp di, bx
jne 0x44f640
sub ecx, edx
sar ecx, 1
lea eax, [eax + ecx*2]
push eax
call fcn.0045987c
pop ecx
mov dword [esi + 0x2694], eax
mov ecx, esi
call fcn.0044b946
pop edi
test eax, eax
je 0x44f616
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x2464], eax
cmp eax, ebx
je 0x44f6a4
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x44f54b
push ebx
push ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x5d118], 8
call fcn.00459e8c
add esp, 0x18
mov dword [esi + 0xc], eax
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret

Function at 0x44f8ca
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
and dword [ebp - 4], 0
push edi
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x24], 0
pop edi
jne 0x44f8f7
mov dword [ebp - 0x24], 0x1000
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
lea ecx, [eax + ecx - 1]
jmp 0x44f908
mov dl, byte [eax]
add eax, dword [ebp - 0x24]
cmp eax, ecx
jb 0x44f903
mov al, byte [ecx]
leave
ret