joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418d10
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x40
push eax
push 0x579b7c
call fcn.00418f30
push 0x38
push str.91__
push 0x579b7c
push 0x579b7c
call fcn.00418e50
mov edi, dword [esp + 0x28]
add esp, 0x1c
xor esi, esi
movsx ecx, byte [esi + 0x4dfeb0]
mov edx, dword [0x4f60dc]
push ecx
push 0x1c
push edx
call fcn.00418ed0
movsx eax, byte [esi + 0x4dfeb0]
mov ecx, dword [0x4f60e0]
push eax
push 0x1c
push ecx
call fcn.00418ed0
push 0x30
push 0x4dfe80
push 0x579b7c
push edi
call fcn.00418e50
add esp, 0x28
inc esi
add edi, 0x30
cmp esi, 0x10
jl 0x418d42
pop edi
pop esi
ret

Function at 0x418d90
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x30
push 0x4dfdf8
push esi
push 0x579b4c
call fcn.00418e50
mov eax, dword [esp + 0x1c]
push 0x30
push eax
push 0x579b4c
call fcn.00418ea0
push 0x579b4c
push esi
call fcn.00418de0
push 0x20
push 0x4dfe28
push esi
push esi
call fcn.00418e50
add esp, 0x34
pop esi
ret

Function at 0x418ea0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x418ec2
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
sub ecx, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x418eb4
pop ebx
pop esi
ret
Function at 0x419e40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4db24e
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.004d6450
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.004cbad0
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00453240
lea ecx, [esi + 0x2a4]
mov byte [esp + 0x18], 2
call fcn.00453240
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x518], edi
mov dword [esi + 0x51c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x528], edi
mov dword [esi + 0x520], edi
mov dword [esi + 0x530], edi
mov dword [esi + 0x2c], edi
mov dword [esi], 0x4e00c8
mov eax, esi
pop edi
mov dword [ebx], 0x4e00c4
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4db24e
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.004d6450
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.004cbad0
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00453240
lea ecx, [esi + 0x2a4]
mov byte [esp + 0x18], 2
call fcn.00453240
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x518], edi
mov dword [esi + 0x51c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x528], edi
mov dword [esi + 0x520], edi
mov dword [esi + 0x530], edi
mov dword [esi + 0x2c], edi
mov dword [esi], 0x4e00c8
mov eax, esi
pop edi
mov dword [ebx], 0x4e00c4
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4db29a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0x24]
mov dword [esi], 0x4e00c8
mov dword [edi], 0x4e00c4
lea ecx, [esi + 0x2a4]
mov dword [esp + 0x18], 2
call fcn.00453330
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00453330
mov ecx, esi
mov byte [esp + 0x18], 0
neg ecx
sbb ecx, ecx
and ecx, edi
call fcn.004cbb00
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004d6490
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x41a270
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edi
mov dword [esi + 0x28], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x44
lea edx, [esp + 0x10]
push edi
push edx
push 0x44000000
push 0x5117f0
push str.XWnd
push 0
mov ecx, esi
call fcn.004d6540
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0
push 0xc6
push ecx
push 0x19
push 0x12c
push 0x190
push 0x1f4
push 0x50000300
push 0x39
call fcn.00483030
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExW]
add esp, 4
push eax
push str.Button
push 0
call ebx
lea edi, [esi + 0x30]
push 0
push 0x5aff
push 0xd0721f
mov ecx, edi
mov dword [esi + 0x518], eax
call fcn.004533d0
mov edx, dword [esi + 4]
push 0xc6
push edx
mov ecx, edi
call fcn.004538c0
mov eax, dword [esi + 4]
push 0
push 0
push 0xc7
push eax
push 0x19
push 0x12c
push 0x190
push 0x1f4
push 0x50000300
push 0x3a
call fcn.00483030
add esp, 4
push eax
push str.Button
push 0
call ebx
lea edi, [esi + 0x2a4]
push 0
push 0x5aff
push 0xd0721f
mov ecx, edi
mov dword [esi + 0x51c], eax
call fcn.004533d0
push 0xc7
mov ecx, dword [esi + 4]
push ecx
mov ecx, edi
call fcn.004538c0
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8

Function at 0x41a420
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
mov esi, ecx
je 0x41a440
call fcn.0041a3a0
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4

Function at 0x41a470
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
or eax, 0xffffffff
test esi, esi
jle 0x41a4a0
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4f61d4]
xor eax, edx
inc ecx
dec esi
jne 0x41a481
pop ebx
not eax
pop esi
ret
Function at 0x41b670
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
push esi
call fcn.004932a0
test eax, eax
jne 0x41b70d
push eax
push str._tp:
mov ecx, 0x511800
call fcn.00409730
push eax
call fcn.004434c0
add esp, 0xc
cmp eax, 2
je 0x41b70d
mov ax, word [0x5117f0]
push edi
mov word [esp + 0xc], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x218]
lea edx, [esp + 0xc]
push ecx
push 0x4f56cc
push 2
push str._tp:
push str._s_d__s_d
push 0x103
push edx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x1c
lea eax, [esp + 0xc]
push 5
push 0
push eax
push 0x511864
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
add esp, 0x20c
ret
mov esi, dword [esp + 0x214]
test esi, esi
je 0x41b736
push 1
push 0x4f6628
push 0x4f539c
mov dword [0x5ef098], 1
call fcn.0040ccb0
add esp, 0xc
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.0041c980
push esi
call fcn.0041b8e0
push esi
call fcn.0041bd00
push esi
call fcn.0041ba20
push esi
call fcn.0041c0c0
add esp, 0x10
lea ecx, [esp + 4]
mov dword [esp + 4], 0
push ecx
push 0xa
push 2
push str.SOFTWAREClientsStartMenuInternet
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov eax, dword [0x5e8dd8]
test eax, eax
je 0x41b7b3
test esi, esi
je 0x41b7ae
call fcn.004933a0
pop esi
add esp, 0x20c
ret
call fcn.004933b0
pop esi
add esp, 0x20c
ret
Function at 0x41b8e0
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0x208
mov ax, word [0x5117f0]
push edi
mov word [esp + 4], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x210]
test eax, eax
je 0x41b9d2
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
push 0x511c74
call esi
add esp, 4
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
shl eax, 1
push eax
push 0x511c74
push 1
push 0x5117f0
push str.SOFTWAREClientsStartMenuInternet
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x511c74
push str.SOFTWAREClientsStartMenuInternet
push 0x4f67b8
lea ecx, [esp + 0x18]
push 0x103
push ecx
call ebx
push str.360SE_Browser
call esi
add esp, 0x18
lea edx, [esp + 0xc]
shl eax, 1
push eax
push str.360SE_Browser
push 1
push 0x5117f0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
push str.shellopencommand
push 0x511c74
push str.SOFTWAREClientsStartMenuInternet
push str._s_s_s
lea eax, [esp + 0x1c]
push 0x103
push eax
call ebx
push 0x511864
call esi
add esp, 0x1c
lea ecx, [esp + 0xc]
shl eax, 1
push eax
push 0x511864
push 1
push 0x5117f0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
pop esi
pop ebx
jmp 0x41b9ff
push str.IEXPLORE.EXE
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
shl eax, 1
push eax
push str.IEXPLORE.EXE
push 1
push 0x5117f0
push str.SOFTWAREClientsStartMenuInternet
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push str.SOFTWAREClientsStartMenuInternet
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop edi
add esp, 0x208
ret
Function at 0x41ba20
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov eax, dword [0x5e8dd0]
sub esp, 0x22c
test eax, eax
je 0x41bc00
mov eax, dword [esp + 0x230]
push ebx
push ebp
push esi
test eax, eax
push edi
je 0x41ba4f
mov ebp, str.360seURL
mov dword [esp + 0x10], ebp
mov edi, ebp
jmp 0x41ba61
mov ebp, str.htmlfile
mov dword [esp + 0x10], str.mhtmlfile
mov edi, str.IE.HTTP
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
push edi
call esi
add esp, 4
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
shl eax, 1
push eax
push edi
push 1
push str.Progid
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociations_ftpUserChoice
push SysReAllocString
call ebx
push edi
call esi
add esp, 4
shl eax, 1
push eax
push edi
push 1
push str.Progid
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
push SysReAllocString
call ebx
push edi
call esi
add esp, 4
shl eax, 1
push eax
push edi
push 1
push str.Progid
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpsUserChoice
push SysReAllocString
call ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x18]
mov dword [esp + 0x24], str..htm
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts
push SysReAllocString
mov dword [esp + 0x3c], 0x4f5eec
mov dword [esp + 0x40], str..shtm
mov dword [esp + 0x44], str..shtml
mov dword [esp + 0x30], str..mht
mov dword [esp + 0x34], str..mhtml
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edi, [esp + 0x24]
mov dword [esp + 0x14], 4
mov ecx, dword [edi]
lea edx, [esp + 0x34]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts
push str._s_sUserChoice
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea eax, [esp + 0x34]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push ebp
call esi
add esp, 4
lea ecx, [esp + 0x34]
shl eax, 1
push eax
push ebp
push 1
push str.Progid
push ecx
push SysReAllocString
call ebx
mov eax, dword [esp + 0x14]
add edi, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x41bb32
lea edi, [esp + 0x1c]
mov ebp, 2
mov edx, dword [edi]
lea eax, [esp + 0x34]
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts
push str._s_sUserChoice
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea ecx, [esp + 0x34]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [esp + 0x10]
push edx
call esi
add esp, 4
lea ecx, [esp + 0x34]
shl eax, 1
push eax
mov eax, dword [esp + 0x14]
push eax
push 1
push str.Progid
push ecx
push SysReAllocString
call ebx
add edi, 4
dec ebp
jne 0x41bb96
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x22c
ret
Function at 0x41bc30
Capabilities:
Set registry value

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
push ebp
push esi
push edi
mov edi, dword [esp + 0x220]
push edi
call ebx
mov ebp, dword [esp + 0x220]
add esp, 4
shl eax, 1
push eax
push edi
push 1
push 0x5117f0
push ebp
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea ecx, [esp + 0x18]
push str.opencommand
push ecx
call dword [sym.imp.MSVCRT.dll_wcscat]
mov esi, dword [esp + 0x234]
push esi
call ebx
add esp, 0x14
lea edx, [esp + 0x10]
shl eax, 1
push eax
push esi
push 1
push 0x5117f0
push edx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push edi
push ebp
push str._s_scommand
lea eax, [esp + 0x1c]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
push esi
call ebx
add esp, 0x18
lea ecx, [esp + 0x10]
shl eax, 1
push eax
push esi
push 1
push 0x5117f0
push ecx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x41c980
Capabilities:
Delete registry key
Delete registry value

Disassembly:
sub esp, 0x410
push esi
push edi
call fcn.00492190
mov edx, eax
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x212]
mov word [esp + 0x210], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push 0x104
push eax
push edx
call fcn.0041bc10
add esp, 0xc
lea ecx, [esp + 0x210]
push str.IEXPLORE.EXE
push str.SOFTWAREClientsStartMenuInternet
push 0x4f67b8
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea edx, [esp + 0x210]
push str.LocalizedString
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea eax, [esp + 8]
push eax
push str.open
push str.htmlfile_shell
call fcn.0041bc30
lea ecx, [esp + 0x14]
push ecx
push str.open
push str.InternetShortcut_shell
call fcn.0041bc30
lea edx, [esp + 0x20]
push edx
push str.open
push str.mhtmlfile_shell
call fcn.0041bc30
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
add esp, 0x24
push str.TheWorld.HTTP
push SysReAllocString
call esi
push str.TheWorld.AssocFile.HTM
push SysReAllocString
call esi
push str.TheWorld.AssocFile.MHT
push SysReAllocString
call esi
pop edi
pop esi
add esp, 0x410
ret

Function at 0x41ca90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x224]
push ecx
mov ecx, dword [esp + 0x224]
push edx
mov edx, dword [esp + 0x224]
push eax
push ecx
push edx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x103
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
pop edi
jne 0x41cb1c
cmp word [esp + 8], ax
je 0x41cb1c
mov eax, dword [esp + 0x220]
lea ecx, [esp + 8]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x41cb1c
mov eax, 1
add esp, 0x210
ret
xor eax, eax
add esp, 0x210
ret

Function at 0x41cbb0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push eax
push edi
push ebx
push SysReAllocString
call fcn.0041ca90
add esp, 0x10
test eax, eax
je 0x41cbf5
push esi
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
shl eax, 1
push eax
push esi
push 1
push edi
push ebx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop esi
pop edi
pop ebx
ret
Function at 0x41d020
Capabilities:
Parse url

Disassembly:
sub esp, 0x3c
push esi
mov esi, dword [esp + 0x48]
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov ecx, 0x915
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [esi + 8]
lea edx, [esi + 0x48]
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x48]
mov eax, 0x800
mov dword [esp + 0x34], edx
lea ecx, [esi + 0x2148]
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
lea edx, [esi + 0x2348]
mov eax, 0x80
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edx
lea ecx, [esi + 0x1048]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
lea edx, [esp + 8]
mov dword [esp + 0x3c], ecx
push edx
lea ecx, [esi + 0x2048]
push eax
push edi
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x28], 0x100
mov dword [esp + 0x38], ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x41d10c
mov eax, dword [esp + 0x14]
cmp eax, 3
je 0x41d0de
cmp eax, 4
je 0x41d0de
cmp eax, 1
jne 0x41d10c
xor ecx, ecx
mov dword [esi + 4], eax
mov dword [esi + 0x2448], ecx
mov dword [esi + 0x244c], ecx
mov cx, word [esp + 0x20]
mov dword [esi + 0x2450], 0xffffffff
mov word [esi], cx
pop edi
mov eax, 1
pop esi
add esp, 0x3c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x3c
ret

Function at 0x41d120
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x41d130
xor eax, eax
pop esi
pop ecx
ret
push edi
lea eax, [esi + 0x5d4e0]
push str.MetalinkFile
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
mov edi, eax
add esp, 8
test edi, edi
je 0x41d16f
push str.MetalinkFile
mov word [edi], 0
call dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [edi + eax*2]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
add esp, 8
mov dword [esi + 0x2690], eax
mov ecx, esi
call fcn.00421d10
test eax, eax
pop edi
jne 0x41d17e
pop esi
pop ecx
ret
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
mov dword [esi + 0x2460], eax
je 0x41d1c5
lea ecx, [esp + 4]
mov dword [esp + 4], 0
push ecx
push 0
push esi
push 0x41d570
push 0
push 0
mov dword [esi + 0x5d0ac], 8
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 8], eax
mov eax, 1
pop esi
pop ecx
ret
Function at 0x41e2b0
Capabilities:
Send data

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [edi + 0x26dc]
mov esi, dword [eax + ecx*4]
mov edx, dword [esi + 0x20]
mov dword [esi + 0x28], 2
cmp dword [edx + 4], 1
je 0x41e33d
mov eax, dword [edi + 0x247c]
test eax, eax
je 0x41e36b
mov eax, dword [esi + 0xc]
mov dword [esp + 0xc], 0
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [edi + 0x2480]
mov eax, dword [edi + 0x247c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x41e326
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
mov eax, 1
pop esi
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x41e375
pop edi
mov eax, 1
pop esi
ret 4
cmp dword [esi], 0
jne 0x41e356
mov eax, dword [esi + 4]
test eax, eax
je 0x41e356
mov dword [esi + 0x18], eax
pop edi
mov eax, 1
pop esi
ret 4
push 1
push ecx
mov ecx, edi
mov dword [esi + 0x28], 0
call fcn.0041f930
test eax, eax
je 0x41e375
pop edi
mov eax, 1
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4
Function at 0x41eab0
Capabilities:
Send data

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x26dc]
mov esi, dword [eax + ebx*4]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x28], 6
cmp dword [ecx + 4], 1
je 0x41eb40
mov eax, dword [edi + 0x247c]
test eax, eax
je 0x41eb77
mov edx, dword [esi + 0xc]
mov dword [esp + 0x10], 0
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [edi + 0x2480]
mov edx, dword [edi + 0x247c]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 0x1c]
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x41eb28
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 0x3e5
sete dl
pop edi
pop esi
mov eax, edx
pop ebx
ret 4
cmp dword [esi], 0
jne 0x41eb5a
mov eax, dword [esi + 4]
test eax, eax
je 0x41eb5a
mov dword [esi + 0x18], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
push 1
push ebx
mov ecx, edi
mov dword [esi + 0x28], 4
call fcn.0041f930
test eax, eax
jne 0x41eb77
push ebx
mov ecx, edi
call fcn.0041f3d0
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
Function at 0x41eea0
Capabilities:
Read data from internet
Receive data

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x10]
push ebp
mov eax, dword [ebx + 0x26dc]
push esi
push edi
mov esi, dword [eax + ecx*4]
mov ecx, 0xa
xor eax, eax
lea ebp, [esi + 0x8040]
lea edx, [esi + 0x3c]
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, 0x2000
mov edi, edx
mov dword [ebp], 0x28
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x803c]
lea edi, [esi + 0x8058]
test eax, eax
mov dword [esi + 0x8054], edx
mov dword [edi], 0x8000
je 0x41ef30
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x18]
sub edx, ecx
mov ecx, dword [eax + 0x14]
sbb ecx, dword [eax + 0x1c]
sub edx, dword [eax + 8]
sbb ecx, dword [eax + 0xc]
mov eax, edx
add eax, 1
adc ecx, 0
ja 0x41ef1b
cmp eax, 0x8000
jbe 0x41ef2a
mov eax, 0x8000
mov dword [esp + 0x14], 0
jmp 0x41ef71
mov dword [esp + 0x14], ecx
jmp 0x41ef71
mov eax, dword [ebx + 0x5d0b0]
mov ecx, dword [ebx + 0x5d0b4]
cmp eax, 0xffffffff
jne 0x41ef45
cmp ecx, eax
je 0x41ef73
mov edx, dword [ebx + 0x5d0c0]
sub eax, edx
mov edx, dword [ebx + 0x5d0c4]
sbb ecx, edx
ja 0x41ef5e
cmp eax, 0x8000
jbe 0x41ef6d
mov eax, 0x8000
mov dword [esp + 0x14], 0
jmp 0x41ef71
mov dword [esp + 0x14], ecx
mov dword [edi], eax
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x28], 9
cmp dword [ecx + 4], 1
je 0x41efb8
mov edx, dword [esi + 0x1c]
push esi
push 1
push ebp
push edx
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
je 0x41efea
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
mov ecx, dword [edi]
mov edx, dword [esi + 0x8054]
mov eax, dword [esi + 0x1c]
push edi
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x41efea
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x41f006
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
mov edx, dword [esp + 0x1c]
mov ecx, ebx
push edx
call fcn.0041f3d0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4