joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470771
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x6d03bc
call fcn.006899cc
sub esp, 0x2a4
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
mov ebx, esi
mov eax, edi
test edi, edi
jne 0x470796
mov eax, 0x6fdc14
xor ecx, ecx
mov dword [ebp - 0x30], esi
mov word [ebp - 0x30], cx
lea ecx, [ebp - 0x30]
push eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 7
call fcn.004482e2
push 1
lea eax, [ebp - 0x30]
mov dword [ebp - 4], esi
push eax
sub esp, 0x18
mov eax, esp
push dword [ebp + 0xc]
push eax
call fcn.004494f1
lea eax, [ebp - 0x60]
push eax
call fcn.0046f4a0
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x470811
mov ecx, dword [ebp - 0x30]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x470808
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0044810a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x20], esi
cmp dword [ebp - 0x4c], 8
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x1c], 7
jb 0x47082d
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x2b0]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x4708f1
mov edi, eax
xor eax, eax
mov dword [ebp - 0x48], esi
mov word [ebp - 0x48], ax
lea ecx, [ebp - 0x48]
lea eax, [ebp - 0x284]
mov dword [ebp - 0x38], esi
push eax
mov dword [ebp - 0x34], 7
call fcn.004482e2
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 3
call fcn.004702b7
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x4708ba
mov ecx, dword [ebp - 0x48]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x4708b1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044810a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
lea eax, [ebp - 0x2b0]
inc ebx
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x470849
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_FindClose]
push dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push edi
push ebx
push str.Found__d_entries_using_filter__s_in_directory__s
call fcn.0040f570
add esp, 0x10
mov esi, ebx
lea ecx, [ebp - 0x60]
call fcn.0044823e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
Function at 0x470bc6
Capabilities:
Move file

Disassembly:
push 3
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
ret 8

Function at 0x470ec0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x14], ebx
push eax
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x470f05
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x470f26
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
test ecx, ecx
je 0x470f11
mov dword [ecx], eax
cmp eax, esi
je 0x470f24
sub esi, eax
add eax, edi
push esi
push ebx
push eax
call fcn.0068ccc0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x18

Function at 0x470fd8
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
push 0x22
pop edi
movzx eax, word [esi]
mov edx, eax
cmp ax, di
jne 0x470ff8
add esi, 2
lea ecx, [esi + 2]
jmp 0x470ffa
mov ecx, esi
xor eax, eax
cmp dx, di
sete al
lea eax, [eax*2 + 0x20]
push eax
push ecx
call fcn.0068bce7
mov edi, eax
xor ebx, ebx
mov ebp, ebx
pop ecx
pop ecx
test edi, edi
je 0x471027
movzx ebp, word [edi]
xor eax, eax
mov word [edi], ax
add edi, 2
push esi
call fcn.0047050d
test al, al
jne 0x471039
push 2
pop eax
jmp 0x4710c8
push 0x3c
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.0068ccc0
add esp, 0xc
mov dword [esp + 0x20], esi
xor esi, esi
mov dword [esp + 0x10], 0x3c
lea eax, [esp + 0x10]
mov dword [esp + 0x24], edi
inc esi
mov dword [esp + 0x14], 0x540
push eax
mov dword [esp + 0x30], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, esi
jne 0x4710be
cmp dword [esp + 0x48], ebx
je 0x4710be
push 0x493e0
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x4710a9
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
test eax, eax
je 0x4710b4
mov ebx, dword [esp + 0x50]
jmp 0x4710b4
mov ecx, 0x102
cmp eax, ecx
jne 0x4710b4
mov ebx, ecx
push dword [esp + 0x48]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test edi, edi
je 0x4710c6
mov word [edi - 2], bp
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4
Function at 0x471890
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 2
pop ebx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, ebx
cmp ax, si
jne 0x4718a2
sub edi, ecx
sar edi, 1
lea eax, [edi + 1]
test eax, eax
js 0x4718c7
lea eax, [edi*2 + 2]
call fcn.0068a010
mov esi, esp
jmp 0x4718d8
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [0x7ea0c0], eax
mov dword [0], esi
lea eax, [edi*2 + 2]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
push esi
call fcn.0068b600
add esp, 0xc
push 0x5c
pop ecx
cmp word [esi], cx
jne 0x471913
cmp word [esi + 2], cx
jne 0x471913
movzx eax, word [esi + 4]
mov edx, eax
cmp eax, 0x3f
jne 0x471975
push ecx
pop eax
cmp word [esi + 6], ax
jne 0x471975
add esi, 8
cmp edi, 3
jl 0x471922
cmp word [esi + 2], 0x3a
jne 0x471922
add esi, 6
push ecx
push esi
call fcn.0048e318
mov esi, eax
test esi, esi
je 0x471969
mov edi, dword [ebp - 4]
xor ebx, ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x47194d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x471994
push 0x5c
pop eax
mov word [esi - 2], ax
cmp word [esi], bx
je 0x471969
push eax
lea eax, [esi + 2]
push eax
call fcn.0048e318
mov esi, eax
test esi, esi
jne 0x471934
mov al, 1
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 4
push 0x5c
add esi, 4
mov eax, edx
pop ecx
add esi, 2
cmp ax, cx
jne 0x47198a
sub ebx, 1
je 0x471922
test ax, ax
je 0x471994
movzx eax, word [esi]
jmp 0x47197d
xor al, al
jmp 0x47196b

Function at 0x472097
Capabilities:
Get common file path

Disassembly:
mov eax, 0x6cfb28
call fcn.006899cc
push ecx
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x10], ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esi], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ebx, dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
push ecx
push ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], 1
call ebx
mov edi, eax
test edi, edi
je 0x472130
push 0
push edi
mov ecx, esi
call fcn.0045b087
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4720ec
mov eax, dword [esi]
push eax
push edi
call ebx
test eax, eax
jne 0x472109
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4720fe
mov eax, dword [esi]
and dword [esi + 0x10], 0
xor ecx, ecx
mov word [eax], cx
jmp 0x472130
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x472113
mov ecx, dword [esi]
lea edx, [ecx + 2]
xor ebx, ebx
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x472118
sub ecx, edx
sar ecx, 1
push ebx
push ecx
mov ecx, esi
call fcn.0045b087
xor eax, eax
cmp dword [esi + 0x10], eax
jne 0x472143
push 0x6fdaec
mov ecx, esi
call fcn.004482e2
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x472a45
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
lea eax, [ebp - 0x410]
push ebx
push esi
push edi
mov ebx, 0x104
or esi, 0xffffffff
push ebx
push eax
push dword [ebp + 8]
mov edi, SysReAllocString
call fcn.004828ef
test al, al
je 0x472aed
push ebx
xor ebx, ebx
lea eax, [ebp - 0x208]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationW]
test eax, eax
je 0x472aed
push str.FATE
lea eax, [ebp - 0x208]
push eax
call fcn.0048ff8f
test al, al
jne 0x472aed
push str.FAT32
lea eax, [ebp - 0x208]
push eax
call fcn.0048ff8f
test al, al
jne 0x472aeb
push 0x6fe40c
lea eax, [ebp - 0x208]
push eax
call fcn.0048ff8f
test al, al
jne 0x472ae6
push str.FAT16
lea eax, [ebp - 0x208]
push eax
call fcn.0048ff8f
test al, al
je 0x472aed
mov esi, 0x7ffa8000
mov edi, ebx
push dword [ebp + 8]
push edi
push esi
push str.GetMaxFileSize___returning__Ld_for___s_
call fcn.0040f570
add esp, 0x10
mov edx, edi
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x472edb
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
lea eax, [ebp - 0x438]
push ebx
push esi
push 0x21c
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
mov esi, eax
call fcn.00487c46
xor ebx, ebx
test al, al
je 0x472f45
mov ecx, str.Sysnative..explorer.exe
lea eax, [esi + esi]
sub eax, ecx
lea edx, [ebp - 0x438]
add edx, eax
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x472f17
push 1
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x438]
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
jg 0x472f83
mov ecx, 0x6fe55c
lea eax, [esi + esi]
sub eax, ecx
lea edx, [ebp - 0x438]
add edx, eax
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x472f57
push 1
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x438]
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
pop esi
mov al, cl
pop ebx
leave
ret 4
Function at 0x473202
Capabilities:
Get disk information

Disassembly:
mov eax, 0x6d2949
call fcn.006899cc
sub esp, 0x30
push esi
xor esi, esi
mov dword [ebp - 0x28], 7
push 0x104
push esi
push dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x3c], esi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], esi
mov word [ebp - 0x3c], ax
call fcn.0045793f
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], esi
pop esi
jb 0x473246
mov eax, dword [ebp - 0x3c]
push ebx
push 0xa
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.004828ef
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, 2
mov eax, dword [ebp - 0x28]
sete bl
cmp eax, 8
jb 0x47329e
mov ecx, dword [ebp - 0x3c]
lea eax, [eax*2 + 2]
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x473295
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044810a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x473322
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
push edi
push str.ReplaceFileW
xor ebx, ebx
push 0x6f60d8
mov esi, ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4733e1
push dword [0x7e67e0]
call fcn.0069d64a
call fcn.0069d629
push eax
push dword [ebp + 0xc]
mov esi, 0x104
lea eax, [ebp - 0x208]
push str._s._u.tmp
push esi
push eax
call fcn.00474b43
push dword [ebp + 0xc]
lea eax, [ebp - 0x410]
push str._s.new
push esi
push eax
call fcn.00474b43
add esp, 0x28
lea eax, [ebp - 0x410]
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
push ebx
push ebx
push 2
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
push dword [ebp + 0xc]
call edi
mov esi, eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x4733e1
push 4
push ebx
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
pop edi
test esi, esi
pop esi
setne al
pop ebx
leave
ret 8
Function at 0x47369e
Capabilities:
Copy file
Delete file

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
push dword [esp + 0x220]
xor ebx, ebx
mov esi, ebx
call fcn.0047050d
movzx ebp, al
test al, al
mov eax, 0x6f6210
je 0x4736c8
mov eax, str..new
push eax
push dword [esp + 0x224]
lea eax, [esp + 0x1c]
push 0x6f6e0c
push 0x104
push eax
call fcn.00474b43
add esp, 0x14
lea eax, [esp + 0x14]
push 0x80
push 7
push eax
call fcn.00470c47
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
jne 0x473705
xor al, al
jmp 0x473775
push dword [esp + 0x228]
push dword [esp + 0x228]
push eax
call fcn.0047116f
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
call fcn.00470bd9
test ebp, ebp
je 0x473763
push dword [esp + 0x220]
lea eax, [esp + 0x18]
push eax
call fcn.00473322
movzx esi, al
test al, al
jne 0x473763
push ebx
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x228]
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
mov esi, eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp dword [esp + 0x10], ebx
jne 0x473773
test esi, esi
jne 0x473771
test ebp, ebp
jne 0x473773
mov bl, 1
mov al, bl
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 0xc

Function at 0x473859
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x473869
xor al, al
jmp 0x4738c5
mov eax, dword [esp + 8]
push ebx
push esi
push edi
lea esi, [eax + eax]
lea eax, [esi + 2]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push esi
push dword [esp + 0x14]
xor ecx, ecx
push eax
mov word [esi + eax], cx
call fcn.0068b600
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
setne bl
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
mov al, bl
pop ebx
ret 8

Function at 0x473d91
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_GetComputerNameW]
test eax, eax
jne 0x473de6
mov esi, dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push esi
push eax
push str.Cant_get_computer_name____d__d
call fcn.0048e8e7
mov esi, dword [ebp + 8]
add esp, 0xc
and dword [esi], 0
and dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x6fe598
jmp 0x473e00
mov esi, dword [ebp + 8]
and dword [esi], 0
and dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.004482e2
mov eax, esi
pop esi
leave
ret 4
Function at 0x474456
Capabilities:
Check http status code

Disassembly:
mov eax, 0x6d2c21
call fcn.006899cc
sub esp, 0x44
mov eax, dword [0x7e4930]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x18]
xor ebx, ebx
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], ebx
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0x20000013
push dword [esi]
call eax
test eax, eax
je 0x4744ce
cmp dword [ebp - 0x14], 0xc8
je 0x4744ce
push dword [ebp - 0x14]
lea eax, [ebp - 0x50]
push str.HTTP_Reply__d
push eax
call fcn.00475719
add esp, 0xc
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], ebx
jb 0x4744b9
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.0047441f
lea ecx, [ebp - 0x50]
call fcn.0044823e
jmp 0x47458c
push edi
xor eax, eax
mov dword [ebp - 0x10], 0x14
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
stosd dword es:[edi], eax
lea ecx, [ebp - 0x38]
push ecx
push 0x1d
push dword [esi]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x7e4930]
call eax
test eax, eax
je 0x474513
lea eax, [ebp - 0x38]
push str.gzip
push eax
call fcn.0069d697
pop ecx
pop ecx
test eax, eax
jne 0x474513
or byte [esi + 0x25], 1
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], 0x20
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
push eax
lea eax, [esi + 5]
push eax
push 1
push dword [esi]
call dword [0x7e4930]
mov eax, dword [0x7e4930]
lea ecx, [ebp - 0x20]
push ebx
push ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], 4
push ecx
push 0x20000005
push dword [esi]
call eax
test eax, eax
je 0x47455e
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], ebx
push 0xa
pop ecx
xor eax, eax
lea edi, [esi + 0x2c]
rep stosd dword es:[edi], eax
mov edi, 0x2000
mov dword [esi + 0x2c], 0x28
push edi
call fcn.0046f1ab
mov ecx, esi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edi
mov byte [esi + 4], 1
call fcn.004745e6
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x477a91
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
sub esp, 0x70
mov eax, 0x6d2f73
call fcn.006899cc
sub esp, 0x1a8
push ebx
push esi
push edi
lea ecx, [ebp - 0x70]
call fcn.004e1a38
xor ebx, ebx
lea ecx, [ebp - 0x108]
push 1
mov dword [ebp - 4], ebx
call fcn.00465746
lea eax, [ebp + 0x60]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.004a6678
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.0045b965
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.0045b965
push 0x55
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 3
push eax
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultLocaleName]
cmp eax, 1
lea eax, [ebp - 0x1b4]
jg 0x477b18
mov eax, 0x6fe598
xor ecx, ecx
mov dword [ebp + 0x48], ebx
mov word [ebp + 0x48], cx
lea ecx, [ebp + 0x48]
push eax
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x5c], 7
call fcn.004482e2
push str.Mozilla_5.0__
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 4
push eax
call fcn.00448395
mov ebx, 0x6fee5c
lea eax, [ebp + 0x30]
push ebx
push eax
mov edi, 0x77aa34
lea eax, [ebp + 0x18]
push edi
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004765f3
push eax
call fcn.00448395
push eax
call fcn.004765f3
push eax
call fcn.00448395
mov esi, eax
call fcn.004a6583
push edi
push eax
push esi
call fcn.004485bb
push eax
call fcn.00448395
push 0x2e
push dword [ebp + 0x68]
mov ecx, eax
call fcn.00477358
push eax
call fcn.0047641f
push 0x2e
push dword [ebp + 0x64]
mov ecx, eax
call fcn.00477358
push eax
call fcn.0047641f
push 0x2e
push dword [ebp + 0x60]
mov ecx, eax
call fcn.00477358
push eax
call fcn.0047641f
mov esi, eax
call fcn.004a652c
push 0x77b2e8
lea ecx, [ebp + 0x48]
push ecx
push ebx
push eax
mov ecx, esi
call fcn.00477358
push eax
call fcn.00448395
push eax
call fcn.004765f3
push eax
call fcn.00448395
push 0x77dfcc
push str.iexplore
lea eax, [ebp - 0x108]
push eax
call fcn.004485bb
push eax
call fcn.00448395
mov esi, eax
lea eax, [ebp]
push eax
call fcn.00477cc3
push eax
push esi
mov byte [ebp - 4], 5
call fcn.004765f3
lea ecx, [ebp]
mov byte [ebp - 4], 4
call fcn.0044823e
push dword [ebp + 0x7c]
lea ecx, [ebp - 0x104]
call fcn.0046a305
mov eax, dword [ebp + 0x5c]
pop edi
pop esi
pop ebx
cmp eax, 8
jb 0x477c7b
mov ecx, dword [ebp + 0x48]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x70], eax
mov dword [ebp + 0x6c], ecx
cmp eax, 0x1000
jb 0x477c72
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x6c]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x6c]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
and dword [ebp + 0x58], 0
lea ecx, [ebp + 0x30]
xor eax, eax
mov dword [ebp + 0x5c], 7
mov word [ebp + 0x48], ax
call fcn.0044823e
lea ecx, [ebp + 0x18]
call fcn.0044823e
lea ecx, [ebp - 0x108]
call fcn.00465e72
lea ecx, [ebp - 0x70]
call fcn.004e1c12
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x7c]
mov dword fs:[0], ecx
add ebp, 0x74
leave
ret 4
Function at 0x47b6cc
Capabilities:
Create thread

Disassembly:
mov eax, 0x6d327c
call fcn.006899cc
sub esp, 0x20
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x14], ebx
and dword [ebp - 0x10], ebx
push edi
mov edi, dword [ebp + 0x20]
test edi, edi
jne 0x47b6ee
lea edi, [ebp - 0x10]
push 0x20
call fcn.0068973d
mov esi, eax
pop ecx
mov dword [ebp + 0x20], esi
xor eax, eax
mov dword [ebp - 4], eax
test esi, esi
je 0x47b75b
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], al
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47b71a
sub ecx, edx
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.00414b60
mov eax, dword [ebp + 0x14]
lea ecx, [esi + 8]
mov dword [esi], eax
xor ebx, ebx
mov eax, dword [ebp + 0x18]
inc ebx
mov dword [esi + 4], eax
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], bl
mov dword [ebp - 0x14], ebx
call fcn.0040fd80
jmp 0x47b75d
mov esi, eax
test bl, 1
je 0x47b7a6
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x47b797
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp + 0x20], ecx
cmp eax, 0x1000
jb 0x47b78e
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.0044810a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x20]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push edi
push dword [ebp + 0x1c]
push esi
push 0x47bb04
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov edi, eax
test edi, edi
jne 0x47b814
test esi, esi
je 0x47b814
mov eax, dword [esi + 0x1c]
cmp eax, 0x10
jb 0x47b7fb
mov ecx, dword [esi + 8]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp + 0x20], ecx
cmp eax, 0x1000
jb 0x47b7f2
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.0044810a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x20]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
and dword [esi + 0x18], 0
push 0x20
push esi
mov dword [esi + 0x1c], 0xf
mov byte [esi + 8], 0
call fcn.0068976d
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c