joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5cce40
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x5ccee2
cmp dword [ebx + 0xac], 0
jne 0x5ccedc
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5ccd80
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5ccedc
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_GetWindowLongW
test al, 8
je 0x5ccea2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5ccedc
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004aa708
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5cceb1
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5cd224
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5f7c0c]
cmp dword [eax + 0x190], 0
je 0x5cd38d
test bl, bl
jne 0x5cd2e0
cmp dword [esi + 0xb4], 0
jne 0x5cd2d5
mov eax, esi
call fcn.005d0588
push eax
push 0x5cd124
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5cd2a6
mov eax, dword [0x5f7c0c]
cmp byte [eax + 0xeb], 0
je 0x5cd2a6
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5cd287
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5cd2a6
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5cd28f
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5cd2d5
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004aa708
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5cd2b5
inc dword [esi + 0xb4]
jmp 0x5cd38d
cmp dword [esi + 0xb4], 0
jle 0x5cd38d
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5cd38d
cmp dword [esi + 0x58], 0
je 0x5cd342
mov eax, dword [0x5f7c0c]
cmp byte [eax + 0xeb], 0
je 0x5cd342
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5cd323
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5cd342
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5cd32b
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5cd371
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004aa708
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5cd351
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5bd12c]
call fcn.0040ce04
pop edi
pop esi
pop ebx
ret
Function at 0x5ce184
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5ce1e1
cmp byte [ebx + 0xeb], 0
jne 0x5ce1e1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x190]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040a1b4
mov eax, dword [esi]
test eax, eax
je 0x5ce1ce
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5ce1ee
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a40c
jmp 0x5ce1ee
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a40c
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5cfe10
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5cfe81
mov eax, esi
call fcn.0053d9ac
test al, al
je 0x5cfe81
mov eax, dword [ebx + 0x98]
call fcn.0053d544
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5cfe81
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x160]
test al, al
je 0x5cfe72
push 0
mov eax, dword [ebx + 0x98]
call fcn.0053d544
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.005337e8
jmp 0x5cfe81
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005cfc1c
pop esi
pop ebx
ret
Function at 0x5d8650
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x94], 0
jne 0x5d86d6
mov eax, dword [ebx + 8]
call fcn.0053d544
mov ecx, eax
mov dl, 1
mov eax, dword [0x54b880]
call fcn.00537078
mov dword [ebx + 0x94], eax
mov esi, dword [ebx + 0x94]
xor edx, edx
mov eax, esi
call fcn.00551c5c
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x2d8], 0x5d7f20
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.0053d544
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.0053d544
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa4], 0
jne 0x5d8758
mov eax, dword [ebx + 8]
call fcn.0053d544
mov ecx, eax
mov dl, 1
mov eax, dword [0x54b880]
call fcn.00537078
mov dword [ebx + 0xa4], eax
mov esi, dword [ebx + 0xa4]
mov dl, 1
mov eax, esi
call fcn.00551c5c
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x2d8], 0x5d7f6c
push 8
push 0
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa4]
call fcn.0053d544
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa4]
call fcn.0053d544
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5d87d6
mov eax, dword [ebx + 8]
call fcn.0053d544
mov ecx, eax
mov dl, 1
mov eax, dword [0x54c374]
call fcn.00537078
mov dword [ebx + 0x9c], eax
mov esi, dword [ebx + 0x9c]
mov byte [esi + 0x2b0], 1
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0053d544
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0053d544
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x42211b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42215a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42215a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42215a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42215a
cmp dword [ecx + 0x74], 0xe
jbe 0x42215a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401040
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push esi
push 0x40
push 0x3000
push 1
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x40106a
push str.VirtualAlloc_failed_n
call fcn.00401010
add esp, 4
lea eax, [esi + 1]
pop esi
ret
push edi
push 0
push 0
push 0
push esi
push 0
push 0
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edi, eax
test edi, edi
jne 0x40109f
push str.CreateRemoteThread_failed_n
call fcn.00401010
add esp, 4
lea eax, [edi + 1]
pop edi
pop esi
ret
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
xor eax, eax
pop esi
ret

Function at 0x4018c1
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401900
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401900
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401900
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401900
cmp dword [ecx + 0x74], 0xe
jbe 0x401900
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x402560
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xf0]
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov esi, esp
push 0
push 0x80
push 3
push 0
push 0
push OleUIInsertObjectA
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp esi, esp
call fcn.00544880
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4025d6
mov esi, esp
push 0
mov eax, dword [str.MHAutopatch__Error_]
push eax
push str.Cant_Open_Version_File
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, esp
call fcn.00544880
xor eax, eax
jmp 0x402676
mov esi, esp
push 0
lea eax, [ebp - 0x20]
push eax
push 0xc
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, esp
call fcn.00544880
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x402604
cmp dword [ebp - 0x20], 0xc
jae 0x402626
mov esi, esp
push 0
mov eax, dword [str.MHAutopatch__Error_]
push eax
push str.Version_File_is_Incorrect
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, esp
call fcn.00544880
xor eax, eax
jmp 0x402676
mov esi, esp
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00544880
mov eax, dword [ebp + 0xc]
push eax
push 0x618110
call fcn.00545960
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
push 0x618010
call fcn.00545960
add esp, 8
push 4
push str..zip
mov eax, dword [ebp + 0xc]
add eax, 0xc
push eax
call fcn.00545f40
add esp, 0xc
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x4026a0]
call fcn.005448b0
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xf0
cmp ebp, esp
call fcn.00544880
mov esp, ebp
pop ebp
ret 8
Function at 0x404630
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x13c]
mov ecx, 0x4f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
call fcn.00404cf0
push 0x44
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.00545490
add esp, 0xc
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x34], 0x106
mov eax, 5
mov word [ebp - 0x30], ax
push 0x617f00
call fcn.00544f60
add esp, 4
test eax, eax
jne 0x404699
mov eax, 1
jmp 0x404701
mov esi, esp
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
push 0x4000020
push 0
push 0
push 0
push str._gvkc9jw0ot0Ut
push 0x617f00
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp esi, esp
call fcn.00544880
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4046d6
xor eax, eax
jmp 0x404701
mov esi, esp
mov eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00544880
mov esi, esp
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00544880
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x404728]
call fcn.005448b0
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0x13c
cmp ebp, esp
call fcn.00544880
mov esp, ebp
pop ebp
ret
Function at 0x404750
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1376
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x1b8]
mov ecx, 0x6b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x616870]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
push 0
push 0
mov eax, dword [str.MHPatch.mhp]
push eax
mov ecx, dword [0x618628]
call fcn.0041d430
push 0x5c1a10
mov ecx, dword [0x618628]
call fcn.00424a90
push 0
mov ecx, dword [0x618628]
call fcn.00404a10
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x39], 1
lea ecx, [ebp - 0x94]
call fcn.0042faa0
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
jmp 0x4047f2
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x30]
jge 0x404961
movzx eax, word [ebp - 0x24]
push eax
lea ecx, [ebp - 0x94]
push ecx
mov ecx, dword [0x618628]
call fcn.0041dac0
movzx edx, al
test edx, edx
jne 0x404825
mov byte [ebp - 0x39], 0
jmp 0x404961
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x94]
call fcn.004311b0
mov byte [ebp - 4], 1
mov esi, esp
push 0x80
lea ecx, [ebp - 0xa0]
call fcn.004088a0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp esi, esp
call fcn.00544880
push 0x10000
push 0
push 1
push 0
movzx eax, word [ebp - 0x24]
push eax
mov ecx, dword [0x618628]
call fcn.0041fac0
movzx ecx, al
test ecx, ecx
jne 0x404895
mov byte [ebp - 0x39], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.00408860
jmp 0x404961
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], 0
fild qword [ebp - 0x1a8]
fidiv dword [ebp - 0x30]
fmul qword [0x5c1a08]
fnstcw word [ebp - 0x1aa]
movzx eax, word [ebp - 0x1aa]
or eax, 0xc00
mov dword [ebp - 0x1b0], eax
fldcw word [ebp - 0x1b0]
fistp qword [ebp - 0x1b8]
fldcw word [ebp - 0x1aa]
mov ecx, dword [ebp - 0x1b8]
mov dword [ebp - 0xac], ecx
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00406db0
mov esi, esp
push 1
push 0
push 0
push 0
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
cmp esi, esp
call fcn.00544880
test eax, eax
je 0x40494d
mov esi, esp
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
cmp esi, esp
call fcn.00544880
mov esi, esp
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp esi, esp
call fcn.00544880
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.00408860
jmp 0x4047e9
push 0
push 0
mov ecx, dword [0x618628]
call fcn.0041e9b0
movzx eax, byte [ebp - 0x39]
mov dword [ebp - 0x19c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0042fb70
mov eax, dword [ebp - 0x19c]
push edx
mov ecx, ebp
push eax
lea edx, [0x4049d0]
call fcn.005448b0
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00544870
add esp, 0x1b8
cmp ebp, esp
call fcn.00544880
mov esp, ebp
pop ebp
ret 4
Function at 0x404ac0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xcc]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
push 0
mov ecx, dword [ebp - 8]
call fcn.00406db0
push 0xfafafa
push 9
mov eax, dword [ebp - 8]
add eax, 0xf60
push eax
mov ecx, dword [ebp - 8]
call fcn.00406c90
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x20]
push ecx
push 0
push 0x4053e0
call fcn.00546970
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.00544880
mov esp, ebp
pop ebp
ret

Function at 0x404b30
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x230]
mov ecx, 0x8c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x616870]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov esi, esp
lea eax, [ebp - 0x160]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp esi, esp
call fcn.00544880
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x404b84
xor eax, eax
jmp 0x404c03
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.00544880
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
jne 0x404bbf
push 0
mov eax, dword [str.MHAutopatch__Error_]
push eax
push str.Failed_To_Delete_VersionFile
mov ecx, dword [ebp - 0xc]
call fcn.0045a120
xor eax, eax
jmp 0x404c03
mov esi, esp
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp esi, esp
call fcn.00544880
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
jne 0x404bfe
push 0
mov eax, dword [str.MHAutopatch__Error_]
push eax
push str.Failed_To_Rename_VersionFile
mov ecx, dword [ebp - 0xc]
call fcn.0045a120
xor eax, eax
jmp 0x404c03
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x404c34]
call fcn.005448b0
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00544870
add esp, 0x230
cmp ebp, esp
call fcn.00544880
mov esp, ebp
pop ebp
ret 8

Function at 0x404cf0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
lea edi, [ebp - 0xc0]
mov ecx, 0x30
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
call fcn.00404c50
test eax, eax
je 0x404d34
mov esi, esp
push 0
push str.SS3DGFuncN.dll
push str.SS3DGFuncSSE.dll
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp esi, esp
call fcn.00544880
jmp 0x404d4f
mov esi, esp
push 0
push str.SS3DGFuncN.dll
push str.SS3DGFuncN.dll
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp esi, esp
call fcn.00544880
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xc0
cmp ebp, esp
call fcn.00544880
mov esp, ebp
pop ebp
ret
Function at 0x409e50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xd8]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], 0
jne 0x409e80
xor eax, eax
jmp 0x409f91
push 0x5c1518
mov eax, dword [ebp + 8]
push eax
call fcn.00545e80
add esp, 8
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x409f45
mov ecx, dword [ebp - 8]
call fcn.00409fb0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
push 1
push 0xc
mov edx, dword [ebp - 8]
add edx, 0x10
push edx
call fcn.00548dc0
add esp, 0x10
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
push 1
push 1
mov edx, dword [ebp - 8]
add edx, 0x1c
push edx
call fcn.00548dc0
add esp, 0x10
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
je 0x409f29
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.00447820
add esp, 4
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xd4]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
push eax
push 1
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x20]
push edx
call fcn.00548dc0
add esp, 0x10
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
push 1
push 1
mov edx, dword [ebp - 8]
add edx, 0x1d
push edx
call fcn.00548dc0
add esp, 0x10
jmp 0x409f49
xor eax, eax
jmp 0x409f91
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call fcn.00545a60
add esp, 4
mov eax, dword [ebp - 8]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 8]
call fcn.0040a030
test eax, eax
jne 0x409f72
xor eax, eax
jmp 0x409f91
mov ecx, dword [ebp - 8]
call fcn.0040a0f0
test eax, eax
jne 0x409f82
xor eax, eax
jmp 0x409f91
mov eax, dword [ebp - 8]
mov dword [eax + 0x24], 1
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.00544880
mov esp, ebp
pop ebp
ret 4
Function at 0x41a0d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4e4
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x4e4]
mov ecx, 0x139
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x616870]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
add eax, 0xe4
push eax
call fcn.00544f60
add esp, 4
test eax, eax
jbe 0x41a12a
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xd8], 0
je 0x41a12a
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xdc], 0
jg 0x41a13f
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x1e8], 0xffffffff
or eax, 0xffffffff
jmp 0x41a209
push 0x400
push 0
lea eax, [ebp - 0x414]
push eax
call fcn.00545490
add esp, 0xc
push 0x3ff
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0xd4]
call fcn.004183d0
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jge 0x41a1a4
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x1e8], 0xffffffff
mov eax, dword [ebp - 0x420]
push eax
push str.____Recv_Error_On_download_Files____d_n
call fcn.0054b370
add esp, 8
or eax, 0xffffffff
jmp 0x41a209
cmp dword [ebp - 0x420], 0
jle 0x41a1db
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xd8], 0
je 0x41a1db
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xd8]
push ecx
mov edx, dword [ebp - 0x420]
push edx
push 1
lea eax, [ebp - 0x414]
push eax
call fcn.0054c200
add esp, 0x10
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x1e8], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xe0]
add ecx, dword [ebp - 0x420]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xe0], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xe0]
push edx
mov ecx, ebp
push eax
lea edx, [0x41a238]
call fcn.005448b0
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00544870
add esp, 0x4e4
cmp ebp, esp
call fcn.00544880
mov esp, ebp
pop ebp
ret
Function at 0x41ae40
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x268]
mov ecx, 0x9a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x616870]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
call fcn.0041af60
mov esi, esp
push 0x100
mov eax, dword [ebp - 0xc]
add eax, 0x8e0
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp esi, esp
call fcn.00544880
cmp eax, 0xffffffff
jne 0x41aead
push str.Local
mov eax, dword [ebp - 0xc]
add eax, 0x8e0
push eax
call fcn.00544ff0
add esp, 8
push 0x190
push 0
lea eax, [ebp - 0x1a4]
push eax
call fcn.00545490
add esp, 0xc
mov esi, esp
lea eax, [ebp - 0x1a4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp esi, esp
call fcn.00544880
cmp eax, 0xffffffff
jne 0x41aef0
mov ecx, dword [ebp - 0xc]
call fcn.0041b180
or eax, 0xffffffff
jmp 0x41af0c
push str._____Call_Success_WSAStartup_n
call fcn.0054b370
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x11e4], 1
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x41af3c]
call fcn.005448b0
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00544870
add esp, 0x268
cmp ebp, esp
call fcn.00544880
mov esp, ebp
pop ebp
ret