joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412b47
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424f40]
jne 0x412b51
repz ret
jmp 0x41640f
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x476440], eax
mov dword [0x47643c], ecx
mov dword [0x476438], edx
mov dword [0x476434], ebx
mov dword [0x476430], esi
mov dword [0x47642c], edi
mov word [0x476458], ss
mov word [0x47644c], cs
mov word [0x476428], ds
mov word [0x476424], es
mov word [0x476420], fs
mov word [0x47641c], gs
pushfd
pop dword [0x476450]
mov eax, dword [ebp]
mov dword [0x476444], eax
mov eax, dword [ebp + 4]
mov dword [0x476448], eax
lea eax, [ebp + 8]
mov dword [0x476454], eax
mov eax, dword [ebp - 0x320]
mov dword [0x476390], 0x10001
mov eax, dword [0x476448]
mov dword [0x476344], eax
mov dword [0x476338], 0xc0000409
mov dword [0x47633c], 1
mov eax, dword [0x424f40]
mov dword [ebp - 0x328], eax
mov eax, dword [0x424f44]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x476388], eax
push 1
call fcn.004190a5
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x41f718
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x476388], 0
jne 0x416501
push 1
call fcn.004190a5
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret

Function at 0x415155
Capabilities:
Terminate process

Disassembly:
push ebp
mov eax, dword [0x424f40]
mov ebp, esp
sub esp, 0x328
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x324]
and dword [ebp - 0x328], 0
push ebx
push 0x4c
push 0
push eax
mov edi, edi
call fcn.004190b0
add esp, 0xc
lea eax, [ebp - 0x328]
mov dword [ebp - 0x2d8], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2d4], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
lea ecx, [ebp + 4]
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x2d0], 0x10001
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x20c], ecx
mov ecx, dword [ecx - 4]
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x328], 0xc0000417
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x31c], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ebx, eax
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x2d8]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x41525e
test ebx, ebx
jne 0x41525e
push 2
call fcn.004190a5
pop ecx
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00412b47
leave
ret
Function at 0x41527d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push dword [0x476334]
mov edi, edi
call fcn.0041724b
test eax, eax
pop ecx
je 0x415295
pop ebp
jmp eax
push 2
call fcn.004190a5
pop ecx
pop ebp
jmp fcn.00415155

Function at 0x41640f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424f40]
jne 0x412b51
repz ret
jmp 0x41640f
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x476440], eax
mov dword [0x47643c], ecx
mov dword [0x476438], edx
mov dword [0x476434], ebx
mov dword [0x476430], esi
mov dword [0x47642c], edi
mov word [0x476458], ss
mov word [0x47644c], cs
mov word [0x476428], ds
mov word [0x476424], es
mov word [0x476420], fs
mov word [0x47641c], gs
pushfd
pop dword [0x476450]
mov eax, dword [ebp]
mov dword [0x476444], eax
mov eax, dword [ebp + 4]
mov dword [0x476448], eax
lea eax, [ebp + 8]
mov dword [0x476454], eax
mov eax, dword [ebp - 0x320]
mov dword [0x476390], 0x10001
mov eax, dword [0x476448]
mov dword [0x476344], eax
mov dword [0x476338], 0xc0000409
mov dword [0x47633c], 1
mov eax, dword [0x424f40]
mov dword [ebp - 0x328], eax
mov eax, dword [0x424f44]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x476388], eax
push 1
call fcn.004190a5
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x41f718
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x476388], 0
jne 0x416501
push 1
call fcn.004190a5
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x416976
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
xor edi, edi
mov dword [ebp - 4], edi
cmp ebx, dword [edi*8 + 0x4254f8]
je 0x41699c
inc edi
mov dword [ebp - 4], edi
cmp edi, 0x17
jb 0x41698a
cmp edi, 0x17
jae 0x416b1c
push 3
call fcn.0041a89e
pop ecx
cmp eax, 1
je 0x416aea
push 3
call fcn.0041a89e
pop ecx
test eax, eax
jne 0x4169cf
cmp dword [0x424f50], 1
je 0x416aea
cmp ebx, 0xfc
je 0x416b1c
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov edi, 0x476690
push edi
call fcn.00419e5d
add esp, 0xc
test eax, eax
je 0x416a05
push esi
push esi
push esi
push esi
push esi
call fcn.00415155
add esp, 0x14
push 0x104
mov esi, 0x4766a9
push esi
push 0
mov byte [0x4767ad], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x416a49
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00419e5d
add esp, 0xc
test eax, eax
je 0x416a49
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00415155
add esp, 0x14
push esi
call fcn.00415570
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x416a8e
push esi
call fcn.00415570
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4769a4
push 0x41fcd4
sub ecx, eax
push ecx
push eax
call fcn.0041a7e9
add esp, 0x14
test eax, eax
je 0x416a8e
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00415155
add esp, 0x14
jmp 0x416a90
xor esi, esi
push 0x41fcd0
push ebx
push edi
call fcn.0041a775
add esp, 0xc
test eax, eax
je 0x416ab0
push esi
push esi
push esi
push esi
push esi
call fcn.00415155
add esp, 0x14
mov eax, dword [ebp - 4]
push dword [eax*8 + 0x4254fc]
push ebx
push edi
call fcn.0041a775
add esp, 0xc
test eax, eax
je 0x416ad5
push esi
push esi
push esi
push esi
push esi
call fcn.00415155
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push edi
call fcn.0041a60c
add esp, 0xc
jmp 0x416b1c
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebx, eax
cmp ebx, esi
je 0x416b1c
cmp ebx, 0xffffffff
je 0x416b1c
push 0
lea eax, [ebp - 8]
push eax
lea esi, [edi*8 + 0x4254fc]
push dword [esi]
call fcn.00415570
pop ecx
push eax
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x418050
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x418066
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x418062
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete dl
mov eax, edx
pop ebp
ret
Function at 0x418090
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x4180cd
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x4180c5
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x4180cf
inc edx
add eax, 0x28
cmp edx, esi
jb 0x4180b5
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41a60c
Capabilities:
Link many functions at runtime

Disassembly:
mov ebx, ebx
push ebp
mov ebp, esp
sub esp, 0x14
push edi
push esi
push ebx
call fcn.00417242
and dword [ebp - 4], 0
cmp dword [0x476b38], 0
mov edi, eax
jne 0x41a6bd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x41a76e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push ebx
call esi
test eax, eax
je 0x41a76e
push eax
call fcn.004171d0
mov dword [esp], str.GetActiveWindow
push ebx
mov dword [0x476b38], eax
call esi
push eax
call fcn.004171d0
mov dword [esp], 0x41ff08
push ebx
mov dword [0x476b3c], eax
call esi
push eax
call fcn.004171d0
mov dword [esp], str.GetUserObjectInformationA
push ebx
mov dword [0x476b40], eax
call esi
push eax
call fcn.004171d0
pop ecx
mov dword [0x476b48], eax
test eax, eax
je 0x41a6bd
push 0x41fed4
push ebx
call esi
push eax
call fcn.004171d0
pop ecx
mov dword [0x476b44], eax
mov eax, dword [0x476b44]
cmp eax, edi
je 0x41a715
cmp dword [0x476b48], edi
je 0x41a715
push eax
call fcn.0041724b
push dword [0x476b48]
mov esi, eax
call fcn.0041724b
pop ecx
pop ecx
mov ebx, eax
test esi, esi
je 0x41a715
test ebx, ebx
je 0x41a715
call esi
test eax, eax
je 0x41a70c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41a70c
test byte [ebp - 0xc], 1
jne 0x41a715
or dword [ebp + 0x10], 0x200000
jmp 0x41a74e
mov eax, dword [0x476b3c]
cmp eax, edi
je 0x41a74e
push eax
call fcn.0041724b
pop ecx
test eax, eax
je 0x41a74e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41a74e
mov eax, dword [0x476b40]
cmp eax, edi
je 0x41a74e
push eax
call fcn.0041724b
pop ecx
test eax, eax
je 0x41a74e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x476b38]
call fcn.0041724b
pop ecx
test eax, eax
je 0x41a76e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41a770
xor eax, eax
pop ebx
pop esi
pop edi
leave
ret
Function at 0x10001000
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esp + 8]
sub eax, 0
je 0x1000101b
sub eax, 1
jne 0x10001058
call fcn.10001060
mov eax, 1
ret 0xc
push 0x3e8
mov dword [0x10055124], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x10055108]
test eax, eax
je 0x10001058
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x10055108]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x10055108], 0
mov eax, 1
ret 0xc

Function at 0x10001560
Capabilities:
Create thread
Terminate thread

Disassembly:
push ecx
push 0x3e8
mov dword [0x10055124], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x10055108]
test eax, eax
je 0x1000159e
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x10055108]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x10055108], 0
mov edx, dword [esp + 8]
lea ecx, [esp]
push ecx
push 0
push edx
push 0x10001610
push 0
push 0
mov dword [0x10055124], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [0x10055108], eax
setne al
pop ecx
ret

Function at 0x100015d0
Capabilities:
Terminate thread

Disassembly:
push 0x3e8
mov dword [0x10055124], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x10055108]
test eax, eax
je 0x1000160d
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x10055108]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x10055108], 0
mov al, 1
ret

Function at 0x10002fc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10045e23
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10052084]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::locale::_Locimp.0
push esi
mov dword [esp + 0x18], 1
call fcn.10019406
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0x10003011
mov eax, dword [esi + 0x1c]
push eax
call fcn.1002b1d9
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov dword [esi], vtable.std::locale::facet.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x10003690
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 4]
push eax
push 0x20006
xor esi, esi
push esi
push str.SOFTWAREMicrosoftRegMsParaSet
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100036e3
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push esi
push 0xf003f
push esi
push esi
push esi
push str.SOFTWAREMicrosoftRegMsParaSet
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x100036e3
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
push 0x12a43
push eax
push 3
push 0
push str.DownLoadTask
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x10003708
lea esi, [eax + 1]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x10003720
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.SOFTWAREMicrosoftRegMsParaSet
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000377f
lea ecx, [esp + 8]
push ecx
push 0x10055248
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x14]
push str.DownLoadTask
push eax
mov dword [esp + 0x20], 0x12a43
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10003774
lea esi, [eax + 1]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0xc
ret
Function at 0x10004640
Capabilities:
Create thread
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x10046620
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10052084]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x24], 1
cmp dword [esp + 0x5c], ebx
jne 0x1000469c
mov esi, 0x10
cmp dword [esp + 0x44], esi
jb 0x1000468f
mov eax, dword [esp + 0x30]
push eax
call fcn.1002b1d9
add esp, 4
mov dword [esp + 0x44], 0xf
jmp 0x100047c5
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x50]
mov ebp, 0xf
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov dword [0x10053c44], 0xffffffff
mov byte [ecx + 4], bl
call fcn.10002a00
call fcn.10004470
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x6c]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.10002a00
call fcn.10004530
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
add esp, 0x1c
lea ecx, [esp + 0x14]
push ecx
push ebx
push ebx
push 0x10004590
push ebx
push ebx
mov dword [esp + 0x2c], ebx
call edi
push 0x64
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, ebx
jne 0x10004753
mov esi, 0x10
cmp dword [esp + 0x44], esi
jb 0x10004733
mov edx, dword [esp + 0x30]
push edx
call fcn.1002b1d9
add esp, 4
cmp dword [esp + 0x60], esi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
jb 0x100047e0
mov eax, dword [esp + 0x4c]
push eax
jmp 0x100047d8
cmp dword [esp + 0x64], ebx
mov dword [0x10067c90], esi
je 0x10004795
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x1000478b
cmp dword [esp + 0x18], 0x103
je 0x1000478b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100047a9
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x100047a9
lea edx, [esp + 0x18]
push edx
push ebx
push ebx
push 0x100045e0
push ebx
push ebx
mov dword [esp + 0x30], ebx
call edi
mov esi, 0x10
cmp dword [esp + 0x44], esi
jb 0x100047c1
mov eax, dword [esp + 0x30]
push eax
call fcn.1002b1d9
add esp, 4
mov dword [esp + 0x44], ebp
cmp dword [esp + 0x60], esi
mov byte [esp + 0x30], bl
mov dword [esp + 0x40], ebx
jb 0x100047e0
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.1002b1d9
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x100052c0
Capabilities:
Delete file
Download url
Print debug messages
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x10045fb0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebp
push esi
push edi
mov eax, dword [0x10052084]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x54]
mov ebp, 0x10
cmp dword [esp + 0x68], ebp
mov dword [esp + 0x14], edi
jae 0x10005303
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esp + 0x18], vtable.CCallback.0
mov byte [esp + 0x2c], 2
mov dword [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [esp + 0x6c]
cmp dword [esp + 0x68], ebp
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x20], eax
jae 0x1000533b
lea ecx, [esp + 0x54]
cmp dword [esp + 0x4c], ebp
mov eax, dword [esp + 0x38]
jae 0x10005349
lea eax, [esp + 0x38]
lea edx, [esp + 0x18]
push edx
push edi
push ecx
push eax
push edi
call sub.urlmon.dll_URLDownloadToFileA
mov esi, eax
cmp esi, edi
jl 0x10005367
mov esi, 1
jmp 0x10005401
mov eax, dword [0x1005422c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1005422c
call edx
add eax, 0x10
mov dword [esp + 0x6c], eax
push edi
push edi
lea eax, [esp + 0x18]
push eax
push 0x400
push esi
push edi
push 0x1300
mov byte [esp + 0x48], 3
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
lea edi, [esp + 0x6c]
je 0x100053c3
mov ecx, dword [esp + 0x10]
push ecx
push esi
push str.Download_failed.__Error__0x_08lX_n_n_s
call fcn.10005510
mov edx, dword [esp + 0x1c]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x100053d1
push esi
push str.Download_failed.__Error__0x_08lX_n_nNo_message_available.
call fcn.10005510
add esp, 8
mov esi, dword [esp + 0x6c]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [esi - 0x10]
mov byte [esp + 0x2c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100053fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x4c], ebp
mov dword [esp + 0x18], vtable.CCallback.0
jb 0x1000541c
mov ecx, dword [esp + 0x38]
push ecx
call fcn.1002b1d9
add esp, 4
cmp dword [esp + 0x68], ebp
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
jb 0x10005444
mov edx, dword [esp + 0x54]
push edx
call fcn.1002b1d9
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret
Function at 0x10005f80
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x90
mov eax, dword [0x10052084]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x9c]
push esi
push edi
xor ebx, ebx
push ebx
mov esi, ecx
push 0x1004a089
lea ecx, [esp + 0x1c]
mov edi, edx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10002c10
cmp esi, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], 0x67452301
mov dword [esp + 0x3c], 0xefcdab89
mov dword [esp + 0x40], 0x98badcfe
mov dword [esp + 0x44], 0x10325476
jle 0x1000600a
push ebx
lea ecx, [esp + 0x34]
push esi
push ecx
lea eax, [esi*8]
mov ecx, esi
mov edx, edi
call fcn.10005df0
add esp, 0xc
lea edi, [esp + 0x8c]
lea esi, [esp + 0x30]
call fcn.10005ea0
cmp dword [esp + 0x2c], 0x10
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov dword [ebp], edx
mov edx, dword [esp + 0x98]
mov dword [ebp + 4], eax
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
jb 0x10006056
mov eax, dword [esp + 0x18]
push eax
call fcn.1002b1d9
add esp, 4
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1002b34a
add esp, 0x90
ret
Function at 0x10006630
Capabilities:
Resolve dns

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, eax
mov eax, dword [esp + 0x1c]
mov dword [esi], 0
push ecx
mov byte [eax], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x100066c4
cmp word [ebx + 8], 2
push edi
jne 0x10006695
cmp word [ebx + 0xa], 4
jne 0x10006695
mov edi, dword [ebx + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x10006695
jmp 0x10006670
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push ebp
push eax
push ecx
call fcn.100065c0
test eax, eax
mov dword [esi], eax
je 0x100066b8
add edi, 4
lea esi, [eax + 0x1c]
mov eax, dword [edi]
test eax, eax
jne 0x10006670
mov edx, dword [ebx]
mov eax, dword [esp + 0x20]
push 0x400
push edx
push 0x401
push eax
call fcn.1002dc53
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
ret 0x10
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x100066d4.11001
jmp dword [eax*4 + 0x100066fc]
pop esi
pop ebp
mov eax, 0x2af9
pop ebx
ret 0x10
pop esi
pop ebp
mov eax, 0x2afa
pop ebx
ret 0x10
pop esi
pop ebp
mov eax, 0x2afb
pop ebx
ret 0x10
Function at 0x10006f20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x23c
mov eax, dword [0x10052084]
xor eax, esp
mov dword [esp + 0x238], eax
cmp dword [0x10067c9c], 0
push ebx
push esi
push edi
mov dword [esp + 0x10], str.getaddrinfo
mov dword [esp + 0x14], 0x10006980
mov dword [esp + 0x18], str.getnameinfo
mov dword [esp + 0x1c], 0x10006c60
mov dword [esp + 0x20], str.freeaddrinfo
mov dword [esp + 0x24], fcn.10006930
je 0x10006f98
movzx eax, word [ebp + 8]
mov eax, dword [eax*8 + 0x10053e3c]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.1002b34a
mov esp, ebp
pop ebp
ret 4
push 0x104
lea ecx, [esp + 0x13c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x10007095
lea edx, [esp + 0x138]
push edx
lea eax, [esp + 0x2c]
push 0x10c
push eax
call fcn.1002dbee
push str.ws2_32
lea ecx, [esp + 0x38]
push 0x10c
push ecx
call fcn.1002eb6a
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x18
lea edx, [esp + 0x28]
push edx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x1000700d
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x1000705d
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x2c]
push 0x10c
push ecx
call fcn.1002dbee
push str.wship6
lea edx, [esp + 0x38]
push 0x10c
push edx
call fcn.1002eb6a
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call edi
mov esi, eax
test esi, esi
je 0x10007095
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x1000705d
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10007095
xor edi, edi
nop
mov ecx, dword [esp + edi*8 + 0x10]
push ecx
push esi
call ebx
test eax, eax
mov dword [esp + edi*8 + 0x14], eax
je 0x10007054
add edi, 1
cmp edi, 3
jl 0x10007060
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [0x10053e3c], edx
mov dword [0x10053e44], eax
mov dword [fcn.10006930], ecx
movzx edx, word [ebp + 8]
mov ecx, dword [esp + 0x244]
mov eax, dword [edx*8 + 0x10053e3c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov dword [0x10067c9c], 1
call fcn.1002b34a
mov esp, ebp
pop ebp
ret 4