joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d390
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x48d43f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00405b8c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x48d3c2
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 4]
call fcn.004058fc
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, eax
lea eax, [ebp - 4]
call fcn.00405b8c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x48d3e7
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00405964
mov eax, dword [ebp - 8]
mov edx, 0x48d454
call fcn.00405894
je 0x48d41a
mov eax, esi
mov ecx, 0x48d454
mov edx, dword [ebp - 4]
call fcn.00405784
jmp 0x48d424
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004054c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d446
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405490
ret

Function at 0x48d458
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x48d507
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00405b8c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x48d48a
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 4]
call fcn.004058fc
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, eax
lea eax, [ebp - 4]
call fcn.00405b8c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x48d4af
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00405964
mov eax, dword [ebp - 8]
mov edx, 0x48d51c
call fcn.00405894
je 0x48d4e2
mov eax, esi
mov ecx, 0x48d51c
mov edx, dword [ebp - 4]
call fcn.00405784
jmp 0x48d4ec
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004054c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d50e
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405490
ret

Function at 0x48d520
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058ec
xor eax, eax
push ebp
push 0x48d58d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x48d5a0
call fcn.00405784
mov eax, dword [ebp - 8]
call fcn.004058fc
push eax
push 0x48d5a4
push 0x48d5ac
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d594
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405490
ret
Function at 0x48d8a4
Capabilities:
Shutdown system

Disassembly:
push ebx
add esp, 0xffffffd8
mov ebx, eax
mov eax, dword [0x4a5164]
cmp dword [eax], 2
jne 0x48d91e
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x48d91e
lea eax, [esp + 0xc]
push eax
push 0x48d934
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
cmp eax, 1
sbb eax, eax
inc eax
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
mov edx, 0x10
xor ecx, ecx
mov dword [esp + 4], ecx
test al, al
je 0x48d91e
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x1c]
push eax
push edx
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
push 0
push ebx
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x28
pop ebx
ret

Function at 0x48da1c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004058ec
xor eax, eax
push ebp
push 0x48daa8
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403ae4
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], 0x500
mov eax, dword [ebp - 4]
call fcn.004058fc
mov dword [ebp - 0x30], eax
mov eax, 0x48dab8
mov dword [ebp - 0x34], eax
mov eax, 0x48dac0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x40]
push eax
call sub.shell32.dll_ShellExecuteExA
test eax, eax
je 0x48da92
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48daaf
lea eax, [ebp - 4]
call fcn.0040546c
ret

Function at 0x48dbcc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058ec
xor eax, eax
push ebp
push 0x48dc54
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.00403ae4
mov dword [ebp - 0x1e], 3
lea eax, [ebp - 0x28]
mov ecx, 0x48dc6c
mov edx, dword [ebp - 4]
call fcn.00405784
mov eax, dword [ebp - 0x28]
call fcn.004058fc
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x12], 0x54
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dc5b
lea eax, [ebp - 0x28]
call fcn.0040546c
lea eax, [ebp - 4]
call fcn.0040546c
ret
Function at 0x48e158
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058ec
mov eax, dword [ebp - 8]
call fcn.004058ec
xor eax, eax
push ebp
push 0x48e207
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48e1e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0040a168
test al, al
je 0x48e1aa
mov eax, dword [ebp - 8]
call fcn.004058fc
push eax
call sub.kernel32.dll_DeleteFileA
mov dl, 1
mov eax, dword [0x417608]
call fcn.00404610
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x74]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e1ec
mov eax, dword [ebp - 0xc]
call fcn.00404640
ret

Function at 0x48e214
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48e360
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040546c
mov eax, 0x320
call fcn.00402ef0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x48e26a
mov eax, 0x48e378
call fcn.0048d258
lea eax, [ebp - 0x10]
push eax
push 0x320
mov eax, dword [ebp - 0xc]
push eax
push 3
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x48e290
mov eax, 0x48e398
call fcn.0048d258
mov eax, 0xff
call fcn.00402ef0
mov ebx, eax
mov eax, 0xff
call fcn.00402ef0
mov esi, eax
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
dec edi
test edi, edi
jl 0x48e32f
inc edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0xff
mov dword [ebp - 0x18], 0xff
lea eax, [ebp - 0x18]
push eax
push ebx
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 0xc]
lea eax, [edx + eax*4 + 4]
push eax
push 0
call sub.advapi32.dll_LookupPrivilegeNameA
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push ebx
push 0
call sub.advapi32.dll_LookupPrivilegeDisplayNameA
mov eax, dword [ebp - 4]
push dword [eax]
lea eax, [ebp - 0x24]
mov edx, ebx
call fcn.00405664
push dword [ebp - 0x24]
push 0x48e3bc
lea eax, [ebp - 0x28]
mov edx, esi
call fcn.00405664
push dword [ebp - 0x28]
push 0x48e3c8
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00405800
inc dword [ebp - 0x14]
dec edi
jne 0x48e2ba
mov eax, ebx
call fcn.00402f0c
mov eax, esi
call fcn.00402f0c
mov eax, dword [ebp - 0xc]
call fcn.00402f0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e367
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00405490
ret
Function at 0x48e3cc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 4], ecx
mov esi, edx
xor edx, edx
push ebp
push 0x48e48c
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 8]
push edx
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x10d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea edx, [ebp - 4]
lea eax, [ebp - 0x10d]
call fcn.0040a9a4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x48e428
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x114]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00405964
mov eax, dword [ebp - 0x114]
mov edx, 0x48e4a4
call fcn.00405894
je 0x48e461
mov eax, esi
mov ecx, 0x48e4a4
mov edx, dword [ebp - 4]
call fcn.00405784
jmp 0x48e46b
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004054c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e493
lea eax, [ebp - 0x114]
call fcn.0040546c
lea eax, [ebp - 4]
call fcn.0040546c
ret

Function at 0x48e5e8
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x48e6f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x320
call fcn.00402ef0
mov edi, eax
lea eax, [ebp - 4]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x48e62c
push 1
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 8]
push eax
push 0x320
push edi
push 3
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x48e64c
push 1
call sub.kernel32.dll_Sleep_1
mov eax, 0xff
call fcn.00402ef0
mov ebx, eax
mov eax, 0xff
call fcn.00402ef0
mov dword [ebp - 0x10], eax
mov esi, dword [edi]
dec esi
test esi, esi
jl 0x48e6c7
inc esi
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0xff
mov dword [ebp - 0x14], 0xff
lea eax, [ebp - 0x14]
push eax
push ebx
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*2]
lea eax, [edi + eax*4 + 4]
push eax
push 0
call sub.advapi32.dll_LookupPrivilegeNameA
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
push ebx
push 0
call sub.advapi32.dll_LookupPrivilegeDisplayNameA
lea eax, [ebp - 0x20]
mov edx, ebx
call fcn.00405664
mov eax, dword [ebp - 0x20]
mov dl, 1
call fcn.0048e4a8
inc dword [ebp - 0xc]
dec esi
jne 0x48e674
mov eax, ebx
call fcn.00402f0c
mov eax, dword [ebp - 0x10]
call fcn.00402f0c
mov eax, edi
call fcn.00402f0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e6fa
lea eax, [ebp - 0x20]
call fcn.0040546c
ret
Function at 0x48fc18
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058ec
xor eax, eax
push ebp
push 0x48fcd9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48fcb7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.00403ae4
lea eax, [ebp - 0x122]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00403ae4
lea eax, [ebp - 0x122]
mov edx, dword [ebp - 4]
call fcn.0040a824
xor eax, eax
mov dword [ebp - 0x22], eax
lea eax, [ebp - 0x122]
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x1e], 3
mov word [ebp - 0x12], 0x40
or word [ebp - 0x12], 0x10
or word [ebp - 0x12], 4
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48fcc3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fce0
lea eax, [ebp - 4]
call fcn.0040546c
ret

Function at 0x48fdec
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058ec
xor eax, eax
push ebp
push 0x48feec
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48feaf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x105
lea eax, [ebp - 0x115]
push eax
mov eax, dword [ebp - 4]
call fcn.004058fc
push eax
call sub.kernel32.dll_GetVolumeInformationA
lea eax, [ebp - 0x120]
lea edx, [ebp - 0x115]
mov ecx, 0x105
call fcn.004056dc
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x11c]
call fcn.00409a78
cmp dword [ebp - 0x11c], 0
jne 0x48fe97
mov eax, dword [ebp - 8]
mov edx, 0x48ff04
call fcn.004054c0
jmp 0x48fea5
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x115]
call fcn.0040a9a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48fec6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fef3
lea eax, [ebp - 0x120]
mov edx, 2
call fcn.00405490
lea eax, [ebp - 4]
call fcn.0040546c
ret
Function at 0x48ff1c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058ec
xor eax, eax
push ebp
push 0x48fffa
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48ffcd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x104
push 0
mov eax, dword [ebp - 4]
call fcn.004058fc
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x48ffc3
test bl, bl
jne 0x48ff92
mov eax, dword [ebp - 0xc]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 8]
call fcn.00409d58
jmp 0x48ffc3
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
movzx eax, word [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x490010
call fcn.0040ae94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48ffe4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490001
lea eax, [ebp - 4]
call fcn.0040546c
ret

Function at 0x490028
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058ec
xor eax, eax
push ebp
push 0x4900cf
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4900a2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
lea eax, [ebp - 0x115]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004058fc
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x490098
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x115]
call fcn.0040a9a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4900b9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4900d6
lea eax, [ebp - 4]
call fcn.0040546c
ret

Function at 0x490790
Capabilities:
Create process on windows

Disassembly:
sub eax, 1
jb 0x4907a1
je 0x4907b9
sub eax, 2
je 0x4907d1
dec eax
je 0x4907d7
jmp 0x4907dc
push 5
push 0
push 0
push 0x4907e0
push 0x4907e8
push 0
call sub.shell32.dll_ShellExecuteA
ret
push 5
push 0
push 0
push 0x4907f0
push 0x4907e8
push 0
call sub.shell32.dll_ShellExecuteA
ret
call fcn.00445c0c
ret
call fcn.00445c44
ret
Function at 0x493508
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058ec
xor eax, eax
push ebp
push 0x4935ae
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x14
push 0x40
call sub.kernel32.dll_LocalAlloc_1
mov esi, eax
mov ebx, esi
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004054c0
lea eax, [ebx + 4]
mov edx, dword [0x4a4fc8]
mov edx, dword [edx]
call fcn.004054c0
lea eax, [ebx + 8]
mov edx, dword [0x4a4cb0]
mov edx, dword [edx]
call fcn.004054c0
lea eax, [ebx + 0xc]
mov edx, dword [0x4a4b90]
mov edx, dword [edx]
call fcn.004054c0
lea eax, [ebx + 0x10]
mov edx, 0x4935c4
call fcn.004054c0
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x490f58
push 0
push 0
call sub.kernel32.dll_CreateThread
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4935b5
lea eax, [ebp - 4]
call fcn.0040546c
ret

Function at 0x49378c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
xor eax, eax
push ebp
push 0x493891
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4a4e70]
mov byte [eax], 0
mov eax, dword [0x4a4e80]
xor edx, edx
mov dword [eax], edx
call fcn.00489ee4
mov eax, dword [0x4a50b0]
mov byte [eax], 0
mov eax, dword [0x4a4de0]
mov byte [eax], 0
mov eax, dword [0x4a4bd4]
cmp dword [eax], 0
je 0x4937f1
lea eax, [ebp - 4]
mov edx, 0x49389c
call fcn.00405664
mov eax, dword [ebp - 4]
push eax
push 4
push 6
mov eax, dword [0x4a4bd4]
mov eax, dword [eax]
push eax
call sub.user32.dll_PostThreadMessageA
mov eax, dword [0x4a4d70]
mov byte [eax], 0
mov eax, dword [0x4a4bd4]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4a5110]
cmp dword [eax], 1
jne 0x493824
mov eax, dword [0x4a5004]
mov eax, dword [eax]
call fcn.004302b8
mov eax, dword [0x4a5004]
mov eax, dword [eax]
call fcn.00404640
mov eax, dword [0x4a5110]
xor edx, edx
mov dword [eax], edx
push 2
mov eax, dword [0x4a4f1c]
mov eax, dword [eax]
push eax
call sub.wsock32.dll_shutdown
mov eax, dword [0x4a4f1c]
mov eax, dword [eax]
push eax
call sub.wsock32.dll_closesocket
mov eax, dword [0x4a4f1c]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4a4bd0]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4a4f98]
mov byte [eax], 0
mov eax, dword [0x4a5094]
push eax
push 0
push 0
push 0x493a30
push 0
push 0
call sub.kernel32.dll_CreateThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493898
lea eax, [ebp - 4]
call fcn.0040546c
ret
Function at 0x4938a4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058ec
xor eax, eax
push ebp
push 0x49392a
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
mov edx, dword [0x4a4fa8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.0044c34c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.00405504
mov eax, dword [ebp - 4]
test eax, eax
je 0x4938f4
sub eax, 4
mov eax, dword [eax]
mov esi, eax
push 0
push esi
lea eax, [ebp - 4]
call fcn.0040595c
push eax
mov eax, dword [0x4a4f1c]
mov eax, dword [eax]
push eax
call sub.wsock32.dll_send
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493931
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405490
ret

Function at 0x49393c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004058ec
xor eax, eax
push ebp
push 0x4939bd
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
mov edx, dword [0x4a4fa8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.0044c34c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.00405504
mov eax, dword [ebp - 4]
test eax, eax
je 0x49398e
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
push 0
push ebx
lea eax, [ebp - 4]
call fcn.0040595c
push eax
push esi
call sub.wsock32.dll_send
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4939c4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405490
ret

Function at 0x493ce0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058ec
mov eax, dword [ebp - 8]
call fcn.004058ec
mov eax, dword [ebp - 0xc]
call fcn.004058ec
xor eax, eax
push ebp
push 0x493d92
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x14
push 0x40
call sub.kernel32.dll_LocalAlloc_1
mov esi, eax
mov ebx, esi
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004054c0
lea eax, [ebx + 4]
call fcn.0040546c
lea eax, [ebx + 8]
mov edx, dword [ebp - 8]
call fcn.004054c0
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.004054c0
lea eax, [ebx + 0x10]
mov edx, 0x493da8
call fcn.004054c0
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0
push esi
push 0x490f58
push 0
push 0
call sub.kernel32.dll_CreateThread
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493d99
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405490
ret
Function at 0x49d2f4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov ebx, dword [0x4a5114]
xor eax, eax
push ebp
push 0x49d506
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4a4fa8]
push dword [eax]
lea eax, [ebp - 0x24]
call fcn.0048f52c
push dword [ebp - 0x24]
lea edx, [ebp - 0x28]
mov eax, dword [0x4a4b84]
mov eax, dword [eax]
call fcn.00409a78
push dword [ebp - 0x28]
mov eax, dword [0x4a4fa8]
mov edx, 3
call fcn.00405800
mov eax, dword [0x4a4e70]
mov byte [eax], 0
mov eax, dword [0x4a50b0]
mov byte [eax], 0
mov eax, dword [0x4a5110]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4a5000]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4a4ec4]
mov eax, dword [eax]
mov edx, 0x49d520
call fcn.00405894
jne 0x49d3af
mov eax, dword [0x4a5094]
push eax
push 0
push 0
push 0x4890a8
push 0
push 0
call sub.kernel32.dll_CreateThread
mov eax, dword [0x4a4ccc]
mov dword [eax], 1
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x492ec4
push 0
push 0
call sub.kernel32.dll_CreateThread
mov eax, dword [0x4a4c8c]
mov byte [eax], 1
mov esi, dword [0x4a4f14]
mov eax, dword [0x4a4f14]
mov eax, dword [eax]
call fcn.0040669c
mov edx, esi
xor ecx, ecx
xchg edx, eax
call fcn.00403ae4
lea edx, [ebp - 0x2c]
mov eax, dword [0x4a5078]
mov eax, dword [eax]
call fcn.0049d160
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x4a4bb4]
mov ecx, dword [0x430740]
call fcn.004068a0
lea edx, [ebp - 0x30]
mov eax, dword [0x4a4ce0]
mov eax, dword [eax]
call fcn.0048f554
mov edx, dword [ebp - 0x30]
mov eax, dword [0x4a4dcc]
call fcn.004054c0
mov eax, dword [0x4a4dcc]
mov eax, dword [eax]
mov edx, 0x49d52c
call fcn.00405894
jne 0x49d492
call fcn.0040bb94
fstp qword [ebp - 0x18]
wait
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov edx, dword [0x4a4d44]
mov edx, dword [edx]
lea eax, [ebp - 4]
call fcn.0040c7f4
call fcn.0040bbc0
fstp qword [ebp - 0x20]
wait
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov edx, dword [0x4a4ee8]
mov edx, dword [edx]
lea eax, [ebp - 8]
call fcn.0040c7f4
push dword [ebp - 4]
push 0x49d53c
push dword [ebp - 8]
mov eax, dword [0x4a4dcc]
mov edx, 3
call fcn.00405800
mov eax, dword [0x4a5094]
push eax
push 0
push 0
push 0x493a30
push 0
push 0
call sub.kernel32.dll_CreateThread
jmp 0x49d4b8
push ebx
call sub.user32.dll_TranslateMessage
push ebx
call sub.user32.dll_DispatchMessageA
push 0
push 0
push 0
push ebx
call sub.user32.dll_GetMessageA
test eax, eax
jne 0x49d4ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d50d
lea eax, [ebp - 0x30]
call fcn.0040546c
lea eax, [ebp - 0x2c]
mov edx, dword [0x430740]
call fcn.00406864
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00405490
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405490
ret