joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d378
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44d38f
add esp, 0xfffffff0
call fcn.0040370c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421184
mov eax, dword [0x4865dc]
cmp word [eax + 2], 0
jne 0x44d3b7
mov eax, dword [0x4865dc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044e8cc
mov eax, dword [0x4866b8]
cmp word [eax + 2], 0
jne 0x44d3d1
mov eax, dword [0x4866b8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044eac4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417f60]
call fcn.004033b8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417f60]
call fcn.004033b8
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x42a2fc]
call fcn.00431c48
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44d558
mov eax, dword [0x4864dc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00432018
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44f064
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4864dc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d4d8
test eax, eax
je 0x44d4c6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040942c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d500
test eax, eax
je 0x44d4da
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404578
mov eax, dword [0x486370]
cmp byte [eax], 0
jne 0x44d50e
mov eax, ebx
call fcn.0044d680
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044f240
mov eax, ebx
call fcn.0044fc04
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44d54e
call fcn.00403764
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d900
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x487c10]
cmp dword [eax + 0x30], 0
je 0x44d9aa
cmp dword [ebx + 0x94], 0
jne 0x44d9a4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44d890
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44d9a4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44d96a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44d9a4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041a7b4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44d979
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44e50c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44e541
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004043f8
jmp 0x44e54e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040435c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44f41c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44f45d
mov eax, esi
call fcn.00463c00
test al, al
je 0x44f45d
mov eax, dword [ebx + 0x84]
call fcn.004638fc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44f45d
push 0
mov eax, dword [ebx + 0x84]
call fcn.004638fc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x452378
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404308
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4523c7
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404578
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ac2c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x487c90], 0
je 0x45ad7b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x486698]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x45ad7b
mov eax, dword [0x487c94]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x487c90]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x45ad4a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x487c90]
call fcn.0041a7b4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x45ad42
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x45ad42
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x45ad42
mov eax, dword [ebp - 0x14]
call fcn.004638fc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45ad42
push ebp
call fcn.0045abe8
pop ecx
test al, al
jne 0x45ad42
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x45acfe
mov eax, dword [ebp - 0x14]
call fcn.004623f4
dec eax
jle 0x45ad42
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004035e4
cmp byte [ebp - 1], 0
je 0x45ad42
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x45ad42
mov edx, dword [ebp - 0x14]
mov eax, dword [0x487c94]
call fcn.0045a3b4
inc edi
dec ebx
jne 0x45ac91
mov eax, dword [0x487c94]
cmp dword [eax + 8], 0
jle 0x45ad62
mov eax, dword [0x487c94]
call fcn.0045a444
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45ad7b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0045aa50
pop ecx
test al, al
jne 0x45ad7b
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e35c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x45e3a8
mov eax, esi
call fcn.00445cac
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45e3a8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x45e3a8
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x45e4e7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x45e3e8
cmp eax, 0x108
ja 0x45e3e8
mov eax, esi
call fcn.00445cac
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45e4de
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x45e4e7
jmp 0x45e4de
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x45e4c7
cmp eax, 0x20a
ja 0x45e4c7
test byte [esi + 0x50], 0x80
jne 0x45e41a
sub eax, 0x203
je 0x45e417
sub eax, 3
je 0x45e417
sub eax, 3
jne 0x45e41a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x45e42e
dec eax
je 0x45e443
dec eax
je 0x45e460
dec eax
je 0x45e443
jmp 0x45e467
mov ecx, ebx
mov eax, dword [0x486698]
mov eax, dword [eax]
mov edx, esi
call fcn.0044f2d4
jmp 0x45e4de
cmp byte [esi + 0x5d], 1
jne 0x45e459
mov eax, esi
mov si, 0xffed
call fcn.004035e4
jmp 0x45e4e7
or word [esi + 0x54], 1
jmp 0x45e4de
and word [esi + 0x54], 0xfffe
jmp 0x45e4de
mov eax, dword [0x487c4c]
cmp byte [eax + 0x20], 0
je 0x45e4de
mov eax, dword [0x487c4c]
cmp dword [eax + 0x1c], 0
je 0x45e4de
mov eax, dword [ebx]
mov edx, dword [0x487c4c]
cmp eax, dword [edx + 0x1c]
jne 0x45e4de
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00445bf0
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004035e4
jmp 0x45e4e7
cmp eax, 0xb00b
jne 0x45e4de
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0045cc7c
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4682b8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x486850]
cmp byte [eax + 0xc], 0
je 0x468425
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46841e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x487ca0], 0
jne 0x46830c
push 0x46842c
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x468434
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487ca0], eax
cmp dword [0x485f1c], 0
jne 0x468407
push 0x468444
call sub.kernel32.dll_LoadLibraryA
mov dword [0x485f1c], eax
cmp dword [0x485f1c], 0
je 0x468407
push 0x468450
mov eax, dword [0x485f1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487ca4], eax
push 0x468460
mov eax, dword [0x485f1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487ca8], eax
push 0x468474
mov eax, dword [0x485f1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487cac], eax
push 0x46848c
mov eax, dword [0x485f1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487cb0], eax
push 0x4684a4
mov eax, dword [0x485f1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487cb4], eax
push 0x4684b8
mov eax, dword [0x485f1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487cb8], eax
push 0x4684d0
mov eax, dword [0x485f1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487cbc], eax
push 0x4684e8
mov eax, dword [0x485f1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487cc0], eax
push 0x468504
mov eax, dword [0x485f1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487cc4], eax
push 0x468510
mov eax, dword [0x485f1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487cc8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468425
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x46bd08
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46bd7b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0xff]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
lea eax, [ebp - 0xff]
call fcn.004095dc
lea edx, [ebp - 0x104]
mov eax, dword [ebx]
call fcn.0046af8c
mov edx, dword [ebp - 0x104]
mov eax, ebx
call fcn.0040435c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bd82
lea eax, [ebp - 0x104]
call fcn.00404308
ret
Function at 0x46bd88
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46bdfb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0xff]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
lea eax, [ebp - 0xff]
call fcn.004095dc
lea edx, [ebp - 0x104]
mov eax, dword [ebx]
call fcn.0046af8c
mov edx, dword [ebp - 0x104]
mov eax, ebx
call fcn.0040435c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46be02
lea eax, [ebp - 0x104]
call fcn.00404308
ret

Function at 0x4760d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004047b8
xor eax, eax
push ebp
push 0x4761b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404308
mov ebx, 1
mov eax, dword [ebp - 4]
call fcn.004045c8
mov esi, eax
sar esi, 1
jns 0x47611f
adc esi, 0
test esi, esi
jle 0x47618e
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0xc]
add edx, edx
dec edx
mov ecx, 2
mov eax, dword [ebp - 4]
call fcn.00404828
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 0x4761c8
call fcn.00404614
mov eax, dword [ebp - 0x14]
call fcn.00408afc
mov edx, eax
mov eax, dword [ebp - 8]
xor dl, byte [eax + ebx - 1]
lea eax, [ebp - 0x10]
call fcn.004044f0
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.004045d0
mov eax, dword [ebp - 8]
call fcn.004045c8
push eax
lea eax, [ebx + 1]
pop edx
mov ecx, edx
cdq
idiv ecx
mov ebx, edx
inc dword [ebp - 0xc]
dec esi
jne 0x47612a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4761b8
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040432c
lea eax, [ebp - 8]
call fcn.00404308
ret
Function at 0x4769f4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x476b65
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x21], 0
lea ecx, [ebp - 0x20]
mov edx, 0x476b80
mov eax, 0x476ba4
call fcn.004760d0
mov eax, dword [ebp - 0x20]
call fcn.004047c8
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x476b4f
xor ecx, ecx
push ebp
push 0x476b48
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea ecx, [ebp - 0x20]
mov edx, 0x476b80
mov eax, 0x476bc8
call fcn.004760d0
mov eax, dword [ebp - 0x20]
call fcn.004047c8
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
test eax, eax
jne 0x476a8d
call fcn.00403ce4
jmp 0x476b4f
lea edx, [ebp - 0x10]
push edx
push 1
push 0xffffffffffffffff
push esi
call eax
mov edi, eax
test edi, edi
jne 0x476ac3
call fcn.00403ce4
jmp 0x476b4f
mov ebx, eax
add ebx, esi
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_lstrcmpiA
test eax, eax
jne 0x476ac0
mov byte [ebp - 0x21], 1
jmp 0x476aca
add edi, 0x14
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x476aa8
cmp byte [ebp - 0x21], 0
jne 0x476ad7
call fcn.00403ce4
jmp 0x476b4f
cmp dword [edi + 0xc], 0
jne 0x476ae4
call fcn.00403ce4
jmp 0x476b4f
mov eax, dword [edi + 0x10]
add eax, esi
jmp 0x476b2c
mov ebx, eax
mov edx, dword [ebx]
cmp edx, dword [ebp - 8]
sete dl
neg dl
sbb edx, edx
test edx, edx
je 0x476b29
lea eax, [ebp - 0x18]
push eax
push 0x40
push 4
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_VirtualProtectEx
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_WriteProcessMemory
jmp 0x476b31
add eax, 4
cmp dword [eax], 0
jne 0x476aeb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476b4f
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476b6c
lea eax, [ebp - 0x20]
call fcn.00404308
ret
Function at 0x476f90
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4770fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax], edx
call fcn.00476df4
test al, al
je 0x4770df
push 0
push 0
push 0
push 0
push 0
call sub.wininet.dll_InternetOpenA
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
push 0
push ebx
call sub.wininet.dll_InternetQueryOptionA
test ebx, ebx
je 0x476ff1
push ebx
call sub.wininet.dll_InternetCloseHandle
lea ecx, [ebp - 0x1c]
mov edx, 0x477110
mov eax, 0x477134
call fcn.004760d0
mov eax, dword [ebp - 0x1c]
call fcn.004047c8
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4770df
lea ecx, [ebp - 0x1c]
mov edx, 0x477110
mov eax, 0x477158
call fcn.004760d0
mov eax, dword [ebp - 0x1c]
call fcn.004047c8
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
test ebx, ebx
jne 0x477056
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FreeLibrary_1
jmp 0x4770df
mov eax, dword [0x486234]
call fcn.004047c8
push eax
call sub.kernel32.dll_GetModuleHandleA_1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
call ebx
mov esi, eax
push esi
call fcn.00476c04
mov ebx, eax
movzx eax, word [esi + 6]
dec eax
test eax, eax
jl 0x4770d6
inc eax
mov esi, eax
mov edi, ebx
lea eax, [ebp - 0x20]
mov edx, edi
call fcn.00404500
mov eax, dword [ebp - 0x20]
mov edx, 0x47717c
call fcn.004085d0
test eax, eax
jne 0x4770d0
mov eax, dword [ebx + 0x24]
and eax, 0x80000000
cmp eax, 0x80000000
jne 0x4770d0
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 0xc]
mov edi, eax
add eax, dword [ebx + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
call fcn.00476c40
test al, al
jne 0x4770d6
add ebx, 0x28
dec esi
jne 0x477085
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477101
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0040432c
ret
Function at 0x4785ac
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4785b4
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4787ea
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040a7a4
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.00427b38
movzx ebx, ax
call fcn.004783fc
test al, al
jne 0x4787c2
push 0xffffffffffffffff
lea eax, [ebp - 0xc]
push eax
or ecx, 0xffffffff
xor edx, edx
mov eax, dword [0x48626c]
call fcn.0046b538
mov eax, dword [ebp - 0xc]
call fcn.00478440
test al, al
je 0x47877b
lea eax, [ebp - 8]
call fcn.00404308
lea ecx, [ebp - 8]
mov edx, 0x478804
mov eax, 0x478814
call fcn.0046bf14
cmp dword [ebp - 8], 0
je 0x478650
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
or ecx, 0xffffffff
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0046b538
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.004043a0
cmp dword [ebp - 8], 0
jne 0x4786a5
mov eax, 0x48624c
mov edx, 0x478824
call fcn.0040435c
lea edx, [ebp - 0x20]
mov eax, dword [0x48624c]
call fcn.00424c9c
lea esi, [ebp - 0x20]
mov edi, 0x48623c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xffffffffffffffff
lea eax, [ebp - 0x24]
push eax
or ecx, 0xffffffff
xor edx, edx
mov eax, dword [0x48624c]
call fcn.0046b40c
mov ecx, dword [ebp - 0x24]
mov edx, 0x478804
mov eax, 0x478814
call fcn.0046c02c
lea ecx, [ebp - 8]
mov edx, 0x478854
mov eax, 0x478814
call fcn.0046bf14
cmp dword [ebp - 8], 0
je 0x4786ee
push 0xffffffffffffffff
lea eax, [ebp - 0x28]
push eax
or ecx, 0xffffffff
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0046b538
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 8]
call fcn.004043a0
cmp dword [ebp - 8], 0
je 0x4786ee
mov eax, 0x486250
mov edx, dword [ebp - 8]
call fcn.0040435c
lea eax, [ebp - 0x2c]
call fcn.0046bd88
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 4]
mov ecx, dword [0x486250]
call fcn.00404614
mov eax, dword [ebp - 4]
call fcn.00408efc
test al, al
jne 0x478741
push 0
mov eax, dword [ebp - 4]
call fcn.004047c8
push eax
lea eax, [ebp - 0x30]
call fcn.0046bd88
lea eax, [ebp - 0x30]
mov edx, 0x478864
call fcn.004045d0
mov eax, dword [ebp - 0x30]
call fcn.004047c8
push eax
call sub.kernel32.dll_CopyFileA
mov eax, 0x478878
call fcn.00408efc
test al, al
je 0x47878c
mov eax, dword [0x486250]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
mov eax, dword [0x48624c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x47888c
call fcn.0046c11c
jmp 0x47878c
xor ecx, ecx
mov edx, 0x478804
mov eax, 0x478814
call fcn.0046c02c
mov eax, dword [0x47815c]
push eax
push 0x48623c
push 0
push 0
push 2
push 1
mov ecx, dword [0x486808]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4778c0]
call fcn.004241e8
call sym.ExMon.dll_DllRegisterServer
call fcn.00483fc8
call fcn.00483ec8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4787f1
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.0040432c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040432c
ret