joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401a0e
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42194a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
xor ebx, ebx
push ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push 0x20000005
push dword [ecx - 4]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x401b37
push str._1.__2._:_WARN:
lea eax, [esp + 0x24]
push eax
call fcn.0040585f
mov dword [esp + 0x3c], ebx
call fcn.00405788
mov esi, dword [eax]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
jmp 0x401aa1
sub eax, ebx
je 0x401a97
dec eax
jne 0x401aa1
push 0xfd
mov edi, esi
call fcn.00401379
jmp 0x401aa1
push str.c:projectstumblebugsdannylibwildfireinternetinternetstream.cpp
call fcn.004013fb
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00404f5c
cmp eax, ebx
jge 0x401a82
or dword [esp + 0x3c], 0xffffffff
lea esi, [esp + 0x20]
call fcn.00408361
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push str.HttpQueryInfo__HTTP_QUERY_CONTENT_LENGTH__failed__error:__1.
lea eax, [esp + 0x24]
push eax
call fcn.0040585f
xor ebx, ebx
inc ebx
mov dword [esp + 0x3c], ebx
call fcn.00405788
mov edi, dword [eax]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
jmp 0x401af6
jne 0x401af6
push esi
call fcn.004013ba
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.00404f5c
test eax, eax
jge 0x401aee
or dword [esp + 0x3c], 0xffffffff
lea esi, [esp + 0x20]
call fcn.00408361
call fcn.00405788
mov ecx, dword [eax]
mov eax, dword [ecx]
push ebx
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x18], 0xa
call dword [eax + 4]
call fcn.00405788
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401d8a
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x42208f
call fcn.004213a0
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.HostImpl.0
lea ecx, [esi + 0x14]
mov dword [esi + 0x10], edi
call fcn.00405820
mov byte [ebp - 4], 1
call fcn.0040a109
lea ecx, [esi + 0x28]
mov dword [ecx], eax
mov byte [eax + 0x2d], 1
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov ecx, dword [ecx]
mov dword [ecx + 8], ecx
mov dword [esi + 0x2c], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x30], edi
push str.Standalone_exe_host__compiled_Jul__4_2007__13:37:20
mov dword [ebp - 4], 2
push str.Version
push esi
mov dword [esi], vtable.ExeHostImpl.0
mov dword [0x43082c], esi
call fcn.00407932
mov ecx, dword [ebp - 0xc]
add esp, 0xc
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4042e9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x421ae1
push eax
mov dword fs:[0], esp
sub esp, 0x818
push ebx
push esi
push edi
mov edi, ecx
push dword [edi + 4]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.0040ee54
mov esi, eax
add esp, 0x10
cmp esi, dword [ebp + 0xc]
jae 0x4043dc
push dword [edi + 4]
call fcn.0040e3be
test eax, eax
pop ecx
je 0x4043dc
call fcn.004053bd
push 0xa
push esi
lea eax, [esp + 0x48]
push eax
call fcn.00405494
mov edi, eax
and dword [esp + 0x82c], 0
push str._bytes__read
lea eax, [esp + 0x14]
push eax
call fcn.0040585f
mov esi, eax
push 0xa
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x838], 1
call fcn.00405494
mov ebx, eax
push str.Couldnt_read
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x834], 2
call fcn.0040585f
mov dword [esp + 0xc], eax
mov byte [esp + 0x82c], 3
call fcn.004059a7
mov edi, eax
mov esi, ebx
call fcn.004059a7
mov esi, dword [esp + 0xc]
mov edi, eax
call fcn.004059a7
push dword [eax + 4]
lea eax, [esp + 0x54]
push eax
call section..text
push 0x427ee4
lea eax, [esp + 0x54]
push eax
call fcn.0041189b
mov ecx, dword [esp + 0x824]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4043f5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x421aab
push eax
mov eax, dword [ebp + 8]
mov dword fs:[0], esp
sub esp, 0x818
push ebx
push esi
push edi
push dword [eax + 4]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.0040f091
mov esi, eax
add esp, 0x10
cmp esi, dword [ebp + 0x10]
jae 0x4044d8
call fcn.004053bd
push 0xa
push esi
lea eax, [esp + 0x48]
push eax
call fcn.00405494
mov edi, eax
and dword [esp + 0x82c], 0
push str._bytes__wrote
lea eax, [esp + 0x14]
push eax
call fcn.0040585f
mov esi, eax
push 0xa
push dword [ebp + 0x10]
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x838], 1
call fcn.00405494
mov ebx, eax
push str.Couldnt_write
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x834], 2
call fcn.0040585f
mov dword [esp + 0xc], eax
mov byte [esp + 0x82c], 3
call fcn.004059a7
mov edi, eax
mov esi, ebx
call fcn.004059a7
mov esi, dword [esp + 0xc]
mov edi, eax
call fcn.004059a7
push dword [eax + 4]
lea eax, [esp + 0x54]
push eax
call section..text
push 0x427f24
lea eax, [esp + 0x54]
push eax
call fcn.0041189b
mov ecx, dword [esp + 0x824]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404776
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x422010
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov ecx, dword [ebp + 0xc]
push esi
push edi
lea eax, [esp + 0x10]
xor esi, esi
push eax
mov dword [esp + 0x10], esi
call fcn.00403edc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], esi
call fcn.004011b0
test eax, eax
jne 0x4047c5
push esi
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x28
call fcn.00405611
pop ecx
mov dword [esp + 0xc], eax
cmp eax, esi
mov byte [esp + 0x2c], 1
je 0x4047e8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.00404113
jmp 0x4047ea
xor eax, eax
cmp eax, esi
mov edi, dword [ebp + 8]
mov dword [edi], eax
je 0x4047f6
inc dword [eax + 4]
lea esi, [esp + 0x10]
call fcn.00408361
mov ecx, dword [esp + 0x24]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x408c9a
Capabilities:
Terminate process

Disassembly:
push dword [esp + 4]
push 0x4263dc
call fcn.00410ea9
add eax, 0x40
push eax
call fcn.0041114a
add esp, 0xc
push 2
call fcn.00411777
int3
Function at 0x408d2a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [0x4307b4]
push 0xa
push 0x190
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
xor esi, esi
cmp ebx, esi
je 0x408e0f
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x408e0f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, esi
je 0x408e0f
push esi
call dword [sym.imp.ole32.dll_OleInitialize]
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
cmp edi, esi
je 0x408e0f
push dword [ebp - 4]
push ebx
push edi
call fcn.00413500
add esp, 0xc
lea eax, [ebp - 8]
push eax
push esi
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp dword [ebp - 8], esi
je 0x408dd7
lea eax, [ebp - 0xc]
push eax
push 0x424d74
push esi
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.OLEPRO32.DLL_OleLoadPicture]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0xc]
cmp eax, esi
je 0x408e0f
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push 4
push esi
push esi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_CopyImage]
mov esi, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x408e11
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40cefe
Capabilities:
Hash data with md5

Disassembly:
lea ecx, [eax + 0xa0]
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x411cac
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b6e4]
jne 0x411cb6
repz ret
jmp fcn.0041a3ac
Function at 0x41ac6e
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00412ae9
xor ebx, ebx
cmp dword [0x43068c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x41ad43
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x41acae
xor eax, eax
jmp 0x41ae07
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x423c04
push edi
call esi
cmp eax, ebx
je 0x41aca7
push eax
call fcn.00412a86
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43068c], eax
call esi
push eax
call fcn.00412a86
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x430690], eax
call esi
push eax
call fcn.00412a86
mov dword [0x430694], eax
lea eax, [ebp - 8]
push eax
call fcn.004115a4
test eax, eax
pop ecx
pop ecx
je 0x41ad11
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00411d2e
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x41ad43
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00412a86
cmp eax, ebx
pop ecx
mov dword [0x43069c], eax
je 0x41ad43
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00412a86
pop ecx
mov dword [0x430698], eax
mov eax, dword [0x430698]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x41adbc
cmp dword [0x43069c], esi
je 0x41adbc
push eax
call fcn.00412af2
pop ecx
call eax
cmp eax, ebx
je 0x41ad89
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x43069c]
call fcn.00412af2
pop ecx
call eax
test eax, eax
je 0x41ad89
test byte [ebp - 0x18], 1
jne 0x41adbc
lea eax, [ebp - 0xc]
push eax
call fcn.004115db
test eax, eax
pop ecx
je 0x41ada4
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00411d2e
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x41adb3
or dword [ebp + 0x10], 0x200000
jmp 0x41aded
or dword [ebp + 0x10], 0x40000
jmp 0x41aded
mov eax, dword [0x430690]
cmp eax, esi
je 0x41aded
push eax
call fcn.00412af2
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41aded
mov eax, dword [0x430694]
cmp eax, esi
je 0x41aded
push dword [ebp - 4]
push eax
call fcn.00412af2
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x43068c]
call fcn.00412af2
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0xd0e14c1
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
cmp eax, 0
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x4a4e2be7
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40a2d0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x40a37f
push esi
call fcn.00417630
add esp, 4
test al, al
jne 0x40a37f
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x40a2f7
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.0041ee10
add esp, 0xc
test eax, eax
je 0x40a32b
sub eax, esi
push eax
push 0x2e
push esi
call fcn.0041ee10
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x40a32d
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
lea ebx, [esi + edi]
mov edi, 0x1505
cmp esi, ebx
jae 0x40a35e
nop dword [eax]
mov al, byte [esi]
push eax
call fcn.00415880
movsx ecx, al
inc esi
mov eax, edi
add esp, 4
shl eax, 5
add eax, edi
xor ecx, eax
mov edi, ecx
cmp esi, ebx
jb 0x40a340
mov eax, 0x4104105
mov esi, edi
mul edi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 5
mov ecx, esi
shl ecx, 6
sub ecx, esi
sub edi, ecx
mov eax, edi
pop edi
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x413770
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push str.kernel32
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
jne 0x41378a
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push 0x46fd50
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x46fd60
push esi
call fcn.00455906
add esp, 8
test eax, eax
je 0x4137d2
test ebp, ebp
je 0x4137c3
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x4137f8
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4137f8
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x4138d2
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413815
sub ecx, ebx
sar ecx, 1
lea eax, [ecx + edx]
lea eax, [eax*2 + 2]
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4138c8
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4138c8
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413856
sub ecx, edx
sar ecx, 1
mov dword [ebx + ecx*2], 0x5c
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413871
sub ecx, edx
sar ecx, 1
add ecx, ecx
sub ecx, esi
add ecx, ebx
nop word [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x413890
test ebp, ebp
je 0x4138bf
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x485004]
add esp, 4
mov eax, edi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
push ebx
call dword [0x485004]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x417630
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x18
mov eax, dword [0x4853c0]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
lea eax, [esp + 4]
push eax
push esi
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x417678
lea eax, [esp + 8]
push eax
push esi
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
pop esi
setg al
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0044d361
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
mov al, 1
pop esi
xor ecx, esp
call fcn.0044d361
add esp, 0x18
ret

Function at 0x4177c0
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x4177fe
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x108], 0
jne 0x4177ef
push 0
call fcn.004177c0
add esp, 4
test al, al
mov eax, dword [esi + 0x7c]
setne cl
inc cl
mov byte [eax + 0x108], cl
mov eax, dword [esi + 0x7c]
pop esi
cmp byte [eax + 0x108], 2
sete al
ret
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x417813
xor al, al
pop esi
ret
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
pop esi
ret
Function at 0x41f570
Capabilities:
Move file

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.0040a640
push dword [esp + 0x38]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
call fcn.0041e8a0
push dword [esp + 0x40]
mov edi, eax
call fcn.0041e8a0
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esp, 0xc
mov esi, eax
push 1
push esi
push edi
call ebx
test eax, eax
jne 0x41f605
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
lea eax, [esp + 0x20]
push eax
call fcn.0040a640
movups xmm0, xmmword [esp + 0x14]
sub esp, 0xc
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
call fcn.0040a6f0
add esp, 0x20
test edx, edx
ja 0x41f629
jb 0x41f5f7
cmp eax, 0x3e8
ja 0x41f629
push 1
call ebp
push 1
push esi
push edi
call ebx
test eax, eax
je 0x41f5c0
test edi, edi
je 0x41f612
push edi
call fcn.00452d93
add esp, 4
test esi, esi
je 0x41f61f
push esi
call fcn.00452d93
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
test edi, edi
je 0x41f636
push edi
call fcn.00452d93
add esp, 4
test esi, esi
je 0x41f643
push esi
call fcn.00452d93
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
Function at 0x41fa60
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x20]
push edi
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [eax], edi
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 4], eax
test eax, eax
jne 0x41fbef
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x41fbda
push ebx
push ebp
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41fabc
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41fab0
sub eax, edx
inc eax
jmp 0x41fabe
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], eax
cmp ecx, 2
jne 0x41facf
lea ebp, [ecx + 0xe]
jmp 0x41fadb
cmp ecx, 0x17
jne 0x41fb7c
lea ebp, [ecx + 5]
cmp dword [esi + 0x18], 0
je 0x41fb7c
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x41fb7c
cmp ecx, ebp
jb 0x41fb7c
add eax, 0x20
add eax, ebp
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41fbcb
mov ecx, dword [esi]
mov dword [ebx], ecx
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x20]
push ebp
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], eax
push dword [esi + 0x18]
push eax
call fcn.0044eee0
mov ecx, dword [esp + 0x20]
add esp, 0xc
test ecx, ecx
je 0x41fb68
mov eax, dword [ebx + 0x18]
add eax, ebp
push ecx
mov dword [ebx + 0x14], eax
push dword [esi + 0x14]
push eax
call fcn.0044eee0
add esp, 0xc
mov eax, dword [esp + 0x18]
test edi, edi
cmove edi, ebx
test eax, eax
je 0x41fb78
mov dword [eax + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x41faa2
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
pop ebp
pop ebx
test eax, eax
je 0x41fb9c
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test esi, esi
je 0x41fbd6
test edi, edi
je 0x41fbbb
mov esi, dword [edi + 0x1c]
push edi
call dword [0x485004]
add esp, 4
mov edi, esi
test esi, esi
jne 0x41fba4
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x28]
xor edi, edi
mov dword [eax], edi
mov eax, esi
pop esi
pop edi
add esp, 0x10
ret
mov esi, 8
mov dword [esp + 0x10], esi
jmp 0x41fb8b
test edi, edi
jne 0x41fbe6
mov esi, 0x2af9
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x28]
mov dword [eax], edi
mov eax, esi
pop esi
pop edi
add esp, 0x10
ret

Function at 0x41fea0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call fcn.0045c4e0
mov ecx, eax
add esp, 0x18
xor eax, eax
test ecx, ecx
je 0x41fec6
cmp ecx, 0xffffffff
cmovne eax, ecx
ret
Function at 0x41ff10
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov ecx, 0x2b
test edi, edi
je 0x41ffc0
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
nop dword [eax]
mov ebx, 4
lea eax, [esp + 0x1c]
push 4
push eax
cmp edi, ebx
push ebp
cmovb ebx, edi
call fcn.0040f7d0
add esp, 0xc
cmp eax, 4
je 0x41ff53
mov ecx, eax
jmp 0x41ff7d
cmp byte [0x4fec10], 0
jne 0x41ff87
push 2
push 4
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb ecx, ecx
and ecx, 2
mov eax, ecx
test eax, eax
jne 0x41ffc2
mov eax, dword [esp + 0x1c]
jmp 0x41ffa4
imul eax, dword [0x4fec0c], 0x41c64e6d
add eax, 0x3039
mov dword [0x4fec0c], eax
ror eax, 0x10
xor ecx, ecx
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x41ffb8
mov byte [esi], al
dec edi
inc esi
shr eax, 8
sub ebx, 1
jne 0x41ffa8
mov dword [esp + 0x1c], eax
test edi, edi
jne 0x41ff30
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x41ffd0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
sub ebx, 1
je 0x42004b
mov esi, dword [esp + 0x14]
mov ebp, 0x3e
nop word [eax + eax]
push 4
lea eax, [esp + 0x20]
push eax
push esi
call fcn.0040f7d0
add esp, 0xc
cmp eax, 4
jne 0x42002c
cmp byte [0x4fec10], 0
jne 0x420055
push 2
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
test eax, eax
jne 0x420050
mov eax, dword [esp + 0x1c]
cmp eax, 0xfffffffc
jae 0x41fff0
xor edx, edx
div ebp
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789]
mov byte [edi], al
inc edi
sub ebx, 1
jne 0x41fff0
mov byte [edi], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
imul eax, dword [0x4fec0c], 0x41c64e6d
add eax, 0x3039
mov dword [0x4fec0c], eax
ror eax, 0x10
mov dword [esp + 0x1c], eax
jmp 0x420034

Function at 0x420080
Capabilities:
Generate random numbers via winapi

Disassembly:
push dword [esp + 8]
push 0
push dword [esp + 0xc]
call fcn.0044eb10
add esp, 0xc
push 2
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
ret