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

Disassembly:
mov eax, 0x6a7f6e
call fcn.00664608
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 0x452998
mov eax, 0x6d5d3c
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.00427ba3
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.00428e6f
lea eax, [ebp - 0x60]
push eax
call fcn.004516a9
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x452a13
mov ecx, dword [ebp - 0x30]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x452a0a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004279ae
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.006643a9
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 0x452a2f
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 0x452af3
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.00427ba3
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 3
call fcn.004524be
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x452abc
mov ecx, dword [ebp - 0x48]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x452ab3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004279ae
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.006643a9
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 0x452a4b
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.00427b28
add esp, 0x10
mov esi, ebx
lea ecx, [ebp - 0x60]
call fcn.00427afc
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
Function at 0x452dc8
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 0x4530c0
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 0x453105
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x453126
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
test ecx, ecx
je 0x453111
mov dword [ecx], eax
cmp eax, esi
je 0x453124
sub esi, eax
add eax, edi
push esi
push ebx
push eax
call fcn.006678b0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x18

Function at 0x4531d8
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 0x4531f8
add esi, 2
lea ecx, [esi + 2]
jmp 0x4531fa
mov ecx, esi
xor eax, eax
cmp dx, di
sete al
lea eax, [eax*2 + 0x20]
push eax
push ecx
call fcn.006668d7
mov edi, eax
xor ebx, ebx
mov ebp, ebx
pop ecx
pop ecx
test edi, edi
je 0x453227
movzx ebp, word [edi]
xor eax, eax
mov word [edi], ax
add edi, 2
push esi
call fcn.0045270f
test al, al
jne 0x453239
push 2
pop eax
jmp 0x4532c8
push 0x3c
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.006678b0
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 0x4532be
cmp dword [esp + 0x48], ebx
je 0x4532be
push 0x493e0
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x4532a9
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
test eax, eax
je 0x4532b4
mov ebx, dword [esp + 0x50]
jmp 0x4532b4
mov ecx, 0x102
cmp eax, ecx
jne 0x4532b4
mov ebx, ecx
push dword [esp + 0x48]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test edi, edi
je 0x4532c6
mov word [edi - 2], bp
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4
Function at 0x453a60
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 0x453a72
sub edi, ecx
sar edi, 1
lea eax, [edi + 1]
test eax, eax
js 0x453a97
lea eax, [edi*2 + 2]
call fcn.00664c40
mov esi, esp
jmp 0x453aa8
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [0x7ba6a0], 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.006661f0
add esp, 0xc
push 0x5c
pop ecx
cmp word [esi], cx
jne 0x453ae3
cmp word [esi + 2], cx
jne 0x453ae3
movzx eax, word [esi + 4]
mov edx, eax
cmp eax, 0x3f
jne 0x453b45
push ecx
pop eax
cmp word [esi + 6], ax
jne 0x453b45
add esi, 8
cmp edi, 3
jl 0x453af2
cmp word [esi + 2], 0x3a
jne 0x453af2
add esi, 6
push ecx
push esi
call fcn.0046fea6
mov esi, eax
test esi, esi
je 0x453b39
mov edi, dword [ebp - 4]
xor ebx, ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x453b1d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x453b64
push 0x5c
pop eax
mov word [esi - 2], ax
cmp word [esi], bx
je 0x453b39
push eax
lea eax, [esi + 2]
push eax
call fcn.0046fea6
mov esi, eax
test esi, esi
jne 0x453b04
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 0x453b5a
sub ebx, 1
je 0x453af2
test ax, ax
je 0x453b64
movzx eax, word [esi]
jmp 0x453b4d
xor al, al
jmp 0x453b3b

Function at 0x454269
Capabilities:
Get common file path

Disassembly:
mov eax, 0x6a7687
call fcn.00664608
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 0x454301
push 0
push edi
mov ecx, esi
call fcn.0043b088
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4542be
mov eax, dword [esi]
push eax
push edi
call ebx
test eax, eax
jne 0x4542da
and dword [esi + 0x10], eax
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4542d3
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
jmp 0x454301
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x4542e4
mov ecx, dword [esi]
lea edx, [ecx + 2]
xor ebx, ebx
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4542e9
sub ecx, edx
sar ecx, 1
push ebx
push ecx
mov ecx, esi
call fcn.0043b088
xor eax, eax
cmp dword [esi + 0x10], eax
jne 0x454314
push 0x6d5c0c
mov ecx, esi
call fcn.00427ba3
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x454c25
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.004646cd
test al, al
je 0x454ccd
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 0x454ccd
push str.FATE
lea eax, [ebp - 0x208]
push eax
call fcn.00471afd
test al, al
jne 0x454ccd
push str.FAT32
lea eax, [ebp - 0x208]
push eax
call fcn.00471afd
test al, al
jne 0x454ccb
push 0x6d653c
lea eax, [ebp - 0x208]
push eax
call fcn.00471afd
test al, al
jne 0x454cc6
push str.FAT16
lea eax, [ebp - 0x208]
push eax
call fcn.00471afd
test al, al
je 0x454ccd
mov esi, 0x7ffa8000
mov edi, ebx
push dword [ebp + 8]
push edi
push esi
push str.GetMaxFileSize___returning__Ld_for___s_
call fcn.00427b28
add esp, 0x10
mov edx, edi
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4550b3
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.004699ff
xor ebx, ebx
test al, al
je 0x45511d
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 0x4550ef
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 0x45515b
mov ecx, 0x6d668c
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 0x45512f
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 0x4553da
Capabilities:
Get disk information

Disassembly:
mov eax, 0x6aa699
call fcn.00664608
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.00437771
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], esi
pop esi
jb 0x45541e
mov eax, dword [ebp - 0x3c]
push ebx
push 0xa
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.004646cd
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 0x455476
mov ecx, dword [ebp - 0x3c]
lea eax, [eax*2 + 2]
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x45546d
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004279ae
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4554fa
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 0x6cdffc
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 0x4555b9
push dword [0x7b6dc0]
call fcn.0067802e
call fcn.0067800d
push eax
push dword [ebp + 0xc]
mov esi, 0x104
lea eax, [ebp - 0x208]
push str._s._u.tmp
push esi
push eax
call fcn.00456c1c
push dword [ebp + 0xc]
lea eax, [ebp - 0x410]
push str._s.new
push esi
push eax
call fcn.00456c1c
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 0x4555b9
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 0x455877
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.0045270f
movzx ebp, al
test al, al
mov eax, 0x6ce190
je 0x4558a1
mov eax, str..new
push eax
push dword [esp + 0x224]
lea eax, [esp + 0x1c]
push 0x6ceeac
push 0x104
push eax
call fcn.00456c1c
add esp, 0x14
lea eax, [esp + 0x14]
push 0x80
push 7
push eax
call fcn.00452e49
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
jne 0x4558de
xor al, al
jmp 0x45594e
push dword [esp + 0x228]
push dword [esp + 0x228]
push eax
call fcn.0045336e
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
call fcn.00452ddb
test ebp, ebp
je 0x45593c
push dword [esp + 0x220]
lea eax, [esp + 0x18]
push eax
call fcn.004554fa
movzx esi, al
test al, al
jne 0x45593c
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 0x45594c
test esi, esi
jne 0x45594a
test ebp, ebp
jne 0x45594c
mov bl, 1
mov al, bl
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 0xc

Function at 0x455a32
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x455a42
xor al, al
jmp 0x455a9e
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.006661f0
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 0x455f37
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 0x455f8b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.Cant_get_computer_name____d__d
call fcn.00470476
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 0x6d66c8
jmp 0x455fa5
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.00427ba3
mov eax, esi
pop esi
leave
ret 4
Function at 0x456541
Capabilities:
Check http status code

Disassembly:
mov eax, 0x6aa971
call fcn.00664608
sub esp, 0x44
push ebx
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0x10]
mov esi, ecx
push eax
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push 0x20000013
push dword [esi]
mov dword [ebp - 0x18], ebx
call dword [0x7b4f28]
test eax, eax
je 0x4565b8
cmp dword [ebp - 0x14], 0xc8
je 0x4565b8
push dword [ebp - 0x14]
lea eax, [ebp - 0x50]
push str.HTTP_Reply__d
push eax
call fcn.004577f2
add esp, 0xc
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], ebx
jb 0x4565a3
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.0045650e
lea ecx, [ebp - 0x50]
call fcn.00427afc
jmp 0x456674
push edi
xor eax, eax
mov dword [ebp - 0x10], 0x14
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x1d
push dword [esi]
call dword [0x7b4f28]
test eax, eax
je 0x4565fc
lea eax, [ebp - 0x38]
push str.gzip
push eax
call fcn.0067807b
pop ecx
pop ecx
test eax, eax
jne 0x4565fc
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 [0x7b4f28]
push ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 4
push eax
lea eax, [ebp - 0x24]
push eax
push 0x20000005
push dword [esi]
call dword [0x7b4f28]
test eax, eax
je 0x456646
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.004513b4
mov ecx, esi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edi
mov byte [esi + 4], 1
call fcn.004566ce
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x459b2b
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
sub esp, 0x70
mov eax, 0x6aacc3
call fcn.00664608
sub esp, 0x1a8
push ebx
lea ecx, [ebp - 0x70]
call fcn.004c218b
xor ebx, ebx
lea ecx, [ebp - 0x108]
push 1
mov dword [ebp - 4], ebx
call fcn.004479cb
lea eax, [ebp + 0x68]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp + 0x60]
push eax
call fcn.004880c8
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.0043bbba
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.0043bbba
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 0x459bb0
mov eax, 0x6d66c8
push esi
xor ecx, ecx
mov dword [ebp + 0x48], ebx
push edi
mov word [ebp + 0x48], cx
lea ecx, [ebp + 0x48]
push eax
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x5c], 7
call fcn.00427ba3
push str.Mozilla_5.0__
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 4
push eax
call fcn.00427c5c
push 0x6d6f84
lea eax, [ebp + 0x48]
mov edi, 0x6d6f88
push eax
push edi
call fcn.00487f80
push eax
push 0x2e
push dword [ebp + 0x68]
mov esi, 0x6d564c
push 0x2e
push dword [ebp + 0x64]
push 0x2e
push dword [ebp + 0x60]
push esi
call fcn.00487fd7
push eax
push edi
lea eax, [ebp + 0x30]
push eax
push esi
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004586c0
push eax
call fcn.00427c5c
push eax
call fcn.004586c0
push eax
call fcn.00427c5c
push eax
call fcn.00427e82
push eax
call fcn.00427c5c
mov ecx, eax
call fcn.00459413
push eax
call fcn.004584f2
mov ecx, eax
call fcn.00459413
push eax
call fcn.004584f2
mov ecx, eax
call fcn.00459413
push eax
call fcn.004584f2
mov ecx, eax
call fcn.00459413
push eax
call fcn.00427c5c
push eax
call fcn.004586c0
push eax
call fcn.00427c5c
lea eax, [ebp]
push eax
call fcn.00459d56
push eax
push 0x75311c
mov byte [ebp - 4], 5
lea eax, [ebp - 0x108]
push str.iexplore
push eax
call fcn.00427e82
push eax
call fcn.00427c5c
push eax
call fcn.004586c0
lea ecx, [ebp]
mov byte [ebp - 4], 4
call fcn.00427afc
push dword [ebp + 0x7c]
lea ecx, [ebp - 0x104]
call fcn.0044c47b
mov eax, dword [ebp + 0x5c]
pop edi
pop esi
cmp eax, 8
jb 0x459d0e
mov ecx, dword [ebp + 0x48]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x70], eax
mov dword [ebp + 0x6c], ecx
cmp eax, 0x1000
jb 0x459d05
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x6c]
push eax
call fcn.004279ae
mov eax, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x6c]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
xor eax, eax
mov dword [ebp + 0x58], ebx
lea ecx, [ebp + 0x30]
mov dword [ebp + 0x5c], 7
mov word [ebp + 0x48], ax
call fcn.00427afc
lea ecx, [ebp + 0x18]
call fcn.00427afc
lea ecx, [ebp - 0x108]
call fcn.00448133
lea ecx, [ebp - 0x70]
call fcn.004c2376
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x7c]
pop ebx
mov dword fs:[0], ecx
add ebp, 0x74
leave
ret 4
Function at 0x45d5f4
Capabilities:
Create thread

Disassembly:
mov eax, 0x6aafd4
call fcn.00664608
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 0x45d616
lea edi, [ebp - 0x10]
push 0x20
call fcn.00664379
mov esi, eax
pop ecx
mov dword [ebp + 0x20], esi
xor eax, eax
mov dword [ebp - 4], eax
test esi, esi
je 0x45d683
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 0x45d642
sub ecx, edx
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.00410407
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.00410794
jmp 0x45d685
mov esi, eax
test bl, 1
je 0x45d6ce
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x45d6bf
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp + 0x20], ecx
cmp eax, 0x1000
jb 0x45d6b6
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.004279ae
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x20]
push eax
push ecx
call fcn.006643a9
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 0x45da3b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov edi, eax
test edi, edi
jne 0x45d73c
test esi, esi
je 0x45d73c
mov eax, dword [esi + 0x1c]
cmp eax, 0x10
jb 0x45d723
mov ecx, dword [esi + 8]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp + 0x20], ecx
cmp eax, 0x1000
jb 0x45d71a
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.004279ae
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x20]
push eax
push ecx
call fcn.006643a9
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.006643a9
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