joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483b40
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x28]
mov edx, dword [eax + 0x30]
push 1
lea ecx, [esi + 0x28]
push ebx
push ebp
call edx
mov edi, eax
test edi, edi
jne 0x483b98
mov eax, dword [esi + 0xfc]
mov edx, dword [eax + 0x30]
push 1
lea ecx, [esi + 0xfc]
push ebx
push ebp
call edx
mov edi, eax
test edi, edi
jne 0x483b98
mov eax, dword [esi + 0x1d0]
mov edx, dword [eax + 0x30]
push 1
lea ecx, [esi + 0x1d0]
push ebx
push ebp
call edx
mov edi, eax
cmp dword [esi + 0x2c0], 0
je 0x483c3a
cmp dword [esi + 0x2cc], 0
je 0x483bbe
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [esi + 0x2cc], 0
cmp dword [esi + 0x2c0], edi
jne 0x483c30
push edi
call fcn.0041d670
add esp, 4
lea ecx, [esp + 0x2c]
push ecx
movzx ecx, bx
shl ecx, 0x10
movzx ebx, bp
or ecx, ebx
push ecx
mov ecx, dword [esp + 0x30]
mov edi, eax
mov edx, dword [edi]
mov edx, dword [edx + 0x4c]
push ecx
xor eax, eax
push 0x205
push eax
mov ecx, edi
mov dword [esp + 0x40], eax
mov dword [edi + 0xac], eax
call edx
mov eax, dword [esi + 4]
lea edx, [esp + 0x10]
push edx
push 0xffffffffffffffff
mov dword [esp + 0x20], 0xd
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0xffffffff
mov ecx, dword [edi + 0x10]
push 0x4e
push eax
mov dword [esp + 0x2c], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x2c0], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc

Function at 0x485560
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x4855ce
mov eax, dword [esi + 0xc]
test eax, eax
je 0x485577
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 8]
test eax, eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4855b5
push 0x1f4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4855b5
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 8]
test eax, eax
je 0x4855b5
push eax
call edi
mov dword [esi + 8], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4855c6
push eax
call edi
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
pop edi
mov eax, 1
pop esi
ret

Function at 0x485600
Capabilities:
Create thread

Disassembly:
push 0xc
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
jne 0x48560f
ret
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
push 0
push 0
push eax
push 0x481cd0
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
push 0
push 0
mov dword [eax + 8], edx
mov dword [eax + 4], ecx
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
ret
Function at 0x485640
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4afede
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4dffd0]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push edi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov edi, dword [esp + 0x240]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], ebx
push 0x208
lea eax, [esp + 0x26]
push ebx
push eax
mov dword [esp + 0x244], 1
mov dword [esp + 0x18], ebx
mov word [esp + 0x2c], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
push ebx
mov dword [esp + 0x18], 1
call dword [sym.imp.ole32.dll_CoInitialize]
mov edx, dword [esp + 0x244]
lea ecx, [esp + 0xc]
push ecx
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x485749
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [esp + 0x20]
lea edx, [eax + 2]
jmp 0x485700
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x485700
sub eax, edx
sar eax, 1
je 0x485729
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x485749
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0x238], bl
je 0x485766
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0048e5b2
add esp, 0x230
ret 8
Function at 0x486f70
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
xor edi, edi
cmp dword [esi + 0x2cc], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], edi
je 0x486fa5
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [esi + 0x2cc], edi
mov ebx, dword [esp + 0x44]
mov edx, dword [esi + 0x28]
mov edi, dword [esp + 0x40]
mov eax, dword [edx + 0x30]
push 1
lea ecx, [esi + 0x28]
push ebx
push edi
call eax
mov ebp, eax
test ebp, ebp
jne 0x486ff4
mov edx, dword [esi + 0xfc]
mov eax, dword [edx + 0x30]
push 1
lea ecx, [esi + 0xfc]
push ebx
push edi
call eax
mov ebp, eax
test ebp, ebp
jne 0x486ff4
mov edx, dword [esi + 0x1d0]
mov eax, dword [edx + 0x30]
push 1
lea ecx, [esi + 0x1d0]
push ebx
push edi
call eax
mov ebp, eax
mov eax, dword [esi + 0x2bc]
test eax, eax
mov dword [esp + 0x20], eax
je 0x48716e
push eax
call fcn.0041d670
mov edi, eax
add esp, 4
test edi, edi
je 0x4870c1
mov ecx, dword [edi + 0x10]
push 2
push 0
mov dword [esp + 0x18], ecx
push edi
mov ecx, esi
call fcn.00486780
movzx edx, word [esp + 0x40]
movzx ebx, bx
lea ecx, [esp + 0x1c]
push ecx
shl ebx, 0x10
or ebx, edx
mov edx, dword [esp + 0x40]
xor eax, eax
push ebx
push edx
mov dword [esp + 0x28], eax
mov dword [edi + 0xac], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x4c]
push 0x202
push 0
mov ecx, edi
call eax
cmp dword [esi + 0x2bc], ebp
jne 0x48709b
mov eax, dword [edi + 0x40]
test eax, eax
je 0x48708b
cmp word [eax], 0
je 0x48708b
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4870c1
cmp dword [edi + 0x10], 0
je 0x4870c1
mov dword [esp + 0x14], 1
jmp 0x4870c1
push 1
push 0
push edi
mov ecx, esi
call fcn.00486780
mov ecx, dword [esp + 0x3c]
push ebx
push ecx
push 0x2a3
mov ecx, edi
call fcn.00418060
mov dword [esp + 0x18], 1
cmp dword [esp + 0x14], 0
mov dword [esi + 0x2bc], 0
je 0x48711e
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], edx
mov edx, dword [edi]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 8]
mov ecx, edi
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0xffffffff
call eax
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x24]
push ecx
push edx
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 4]
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0xc
cmp dword [esp + 0x18], 0
je 0x48716e
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x48716e
mov eax, dword [esi + 4]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x24]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [esp + 0x3c], 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x20]
cmp edx, dword [esi + 0x2b8]
jne 0x48716e
mov dword [esi + 0x2b8], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0xc
Function at 0x487960
Capabilities:
Terminate process

Disassembly:
push ebp
push esi
push edi
mov edi, ecx
lea ebp, [edi + 0x10]
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [edi + 0xc]
test esi, esi
jne 0x4879b7
movzx eax, word [edi + 4]
movzx ecx, word [edi + 2]
movzx ecx, cx
movzx edx, ax
imul ecx, edx
add ecx, 8
push ecx
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x4879a7
movzx ecx, word [edi + 2]
mov dword [eax + 4], esi
mov word [eax], cx
mov word [eax + 2], si
jmp 0x4879a9
xor eax, eax
test eax, eax
mov esi, eax
je 0x4879fb
push eax
mov ecx, edi
call fcn.004877f0
cmp word [esi], 0
jne 0x4879d1
mov esi, dword [esi + 4]
test esi, esi
jne 0x4879b7
mov ecx, edi
call fcn.0048deb0
mov esi, eax
test esi, esi
je 0x4879fb
movzx eax, word [edi + 4]
movzx ecx, word [esi + 2]
imul eax, ecx
mov dx, word [eax + esi + 8]
add word [esi], 0xffff
lea edi, [eax + esi + 8]
push ebp
mov word [esi + 2], dx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebp
ret
push 0
call dword [sym.imp.MSVCR80.dll_exit]
int3

Function at 0x487f30
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x164
mov eax, dword [0x4dffd0]
xor eax, esp
mov dword [esp + 0x160], eax
push esi
mov esi, dword [esp + 0x16c]
push 0x160
lea eax, [esp + 8]
push 0
push eax
call sub.MSVCR80.dll_memset
mov ecx, dword [esp + 0x17c]
mov al, byte [ecx]
add esp, 0xc
and al, 0x10
neg al
push 0x4011
push 0x160
lea edx, [esp + 0xc]
push edx
sbb eax, eax
and eax, 0xffffff90
add eax, 0x80
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp + 4]
test eax, eax
pop esi
je 0x487f9e
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [esp + 0x160]
mov eax, dword [esp + 4]
xor ecx, esp
call fcn.0048e5b2
add esp, 0x164
ret 8
Function at 0x488230
Capabilities:
Get disk information
Get volume information via ioctl
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1f4
mov eax, dword [0x4dffd0]
xor eax, esp
mov dword [esp + 0x1f0], eax
push ebp
push edi
lea eax, [esp + 0x124]
push eax
push 0x69
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [esp + 0x124], 0
lea ebp, [esp + 0x124]
je 0x48845d
push ebx
push esi
movzx eax, word [ebp]
cmp ax, 0x61
jb 0x488281
add eax, 0xffffffe0
mov word [ebp], ax
movzx ebx, word [ebp]
push ebp
sub ebx, 0x41
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x48844d
push 8
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push 0x20
lea ecx, [esp + 0x104]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp word [esp + 0xcc], 0x4e
jne 0x48844d
cmp word [esp + 0xce], 0x54
jne 0x48844d
cmp word [esp + 0xd0], 0x46
jne 0x48844d
cmp word [esp + 0xd2], 0x53
jne 0x48844d
movzx edx, word [ebp]
push edx
lea eax, [esp + 0xe0]
push 0x4c2ce0
push eax
call fcn.00441000
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea ecx, [esp + 0xf4]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x48844d
push 0
lea edx, [esp + 0x24]
push edx
push 0x60
lea eax, [esp + 0x78]
push eax
push 0
push 0
push 0x90064
push esi
mov dword [edi + ebx*4 + 0xc], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x38
lea edx, [esp + 0x40]
push edx
push 0
push 0
push 0x900f4
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x48840b
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x49a
je 0x4883b2
sub eax, 1
jne 0x48840b
push eax
push 0x100000
push eax
push 0x800000
push esi
mov ecx, edi
call fcn.00487e00
lea eax, [esp + 0x34]
push eax
jmp 0x488403
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0x10
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x38]
push ecx
push 0x900f8
push esi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], 2
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
push 0x400000
push 0
push 0x2000000
push esi
mov ecx, edi
call fcn.00487e00
lea edx, [esp + 0x34]
push edx
push esi
mov ecx, edi
call fcn.00487dd0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [edi + ebx*8 + 0x790], eax
mov eax, dword [esp + 0x40]
mov dword [edi + ebx*8 + 0x794], ecx
mov ecx, dword [esp + 0x44]
mov dword [edi + ebx*8 + 0x5f0], edx
mov edx, dword [esp + 0x48]
mov dword [edi + ebx*8 + 0x5f4], eax
mov dword [edi + ebx*8 + 0x6c0], ecx
mov dword [edi + ebx*8 + 0x6c4], edx
add ebp, 8
cmp word [ebp], 0
jne 0x488270
pop esi
pop ebx
mov ecx, dword [esp + 0x1f8]
pop edi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.0048e5b2
add esp, 0x1f4
ret
Function at 0x488a00
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4b014e
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x4dffd0]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push esi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x13c]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], ebx
push 0x104
lea eax, [esp + 0x25]
push ebx
push eax
mov dword [esp + 0x140], 1
mov dword [esp + 0x18], ebx
mov byte [esp + 0x2c], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push ebx
mov dword [esp + 0x18], 1
call dword [sym.imp.ole32.dll_CoInitialize]
mov edx, dword [esp + 0x140]
lea ecx, [esp + 0xc]
push ecx
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x488b05
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x488ac0
sub eax, edx
je 0x488ae5
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call dword [0x4b340c]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x488b05
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0x134], bl
je 0x488b22
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048e5b2
add esp, 0x12c
ret 8
Function at 0x48c790
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b0767
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
push fcn.004877a0
push fcn.00487b10
push 0x1a
push 0x24
lea eax, [esi + 0xdc]
push eax
call fcn.0048e90a
xor edi, edi
lea ecx, [esi + 0x484]
mov dword [esp + 0x1c], edi
call fcn.00487b10
lea ebx, [esi + 0x4a8]
mov ecx, ebx
mov byte [esp + 0x1c], 1
call fcn.00488e00
mov dword [ebx + 4], eax
mov dword [ebx + 8], edi
push 0x48a620
push 0x48a6b0
push 0x1a
push 0xc
lea ecx, [esi + 0x4b4]
push ecx
mov byte [esp + 0x30], 2
call fcn.0048e90a
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x864]
push eax
call ebx
lea eax, [esi + 0x87c]
push eax
call ebx
lea ebx, [esi + 0x8a8]
mov ecx, ebx
mov byte [esp + 0x1c], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
or eax, 0xffffffff
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
push 0x68
mov dword [esi + 0x68], eax
lea edx, [esi + 0x74]
push edi
mov dword [esi + 0x6c], eax
push edx
mov byte [esp + 0x28], 6
mov dword [esi + 0x70], eax
call sub.MSVCR80.dll_memset
push 0xd0
lea eax, [esi + 0x790]
push edi
push eax
call sub.MSVCR80.dll_memset
push 0xd0
lea ecx, [esi + 0x5f0]
push edi
push ecx
call sub.MSVCR80.dll_memset
push 0xd0
lea edx, [esi + 0x6c0]
push edi
push edx
call sub.MSVCR80.dll_memset
add esp, 0x30
push 0x4b6f6c
mov ecx, ebx
mov dword [esi + 0x860], edi
mov dword [esi + 0x8a4], edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x89c], edi
mov dword [esi + 0x8a0], edi
mov dword [esi + 0x898], edi
call dword [0x4b3378]
mov dword [esi + 0x8c4], edi
mov dword [esi + 0x8c8], edi
mov dword [esi + 0x8cc], edi
mov dword [esi + 0x894], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x48cba0
Capabilities:
Terminate thread

Disassembly:
sub esp, 0x74
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 0x8a0], 1
call fcn.0048c150
xor edi, edi
cmp dword [esi + 0x898], edi
jne 0x48cbd4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x48cbd4
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x48cbe5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], edi
mov eax, dword [esi + 8]
cmp eax, edi
je 0x48cc17
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x48cc0a
mov eax, dword [esi + 8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], edi
push ebx
push ebp
lea ebp, [esi + 0x4bc]
mov dword [esp + 0x10], ebp
lea ebx, [esi + 0x74]
mov dword [esp + 0x14], 0x1a
mov edi, edi
mov eax, dword [ebx]
test eax, eax
je 0x48cc4e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebx]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
cmp dword [ebp], 0
je 0x48cca3
mov eax, dword [ebp - 4]
lea edi, [ebp - 8]
mov ebp, dword [eax + 4]
cmp byte [ebp + 0x21], 0
mov esi, ebp
jne 0x48cc83
mov ecx, dword [esi + 8]
push ecx
mov ecx, edi
call fcn.00488e20
mov esi, dword [esi]
push ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esi + 0x21], 0
mov ebp, esi
je 0x48cc65
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [edi + 8], 0
mov dword [eax], eax
mov edi, dword [edi + 4]
mov dword [edi + 8], edi
add ebp, 0xc
add ebx, 4
sub dword [esp + 0x14], 1
mov dword [esp + 0x10], ebp
jne 0x48cc30
xor edi, edi
cmp dword [esi + 0x898], edi
pop ebp
pop ebx
je 0x48ccff
push 0x64
lea edx, [esp + 0x1c]
push edi
push edx
mov dword [esp + 0x20], edi
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00489120
test eax, eax
jne 0x48ccff
cmp dword [esp + edi*4 + 0x14], 0
je 0x48ccf7
push edi
mov ecx, esi
call fcn.00489500
add edi, 1
cmp edi, 0x1a
jl 0x48cce8
pop edi
pop esi
add esp, 0x74
ret

Function at 0x48cda0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
push 0xc
mov dword [esi + 0x894], eax
mov dword [esi + 0x8a4], ecx
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
jne 0x48cdd1
mov dword [esi + 4], eax
mov eax, 1
pop esi
ret 8
push 0
push 0
push eax
push 0x481cd0
push 0
push 0
mov dword [eax], esi
mov dword [eax + 8], 0
mov dword [eax + 4], 0x48ca30
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 4], eax
mov eax, 1
pop esi
ret 8
Function at 0x48d750
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4b08eb
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x48d789
push eax
lea ecx, [edi + 0x8a8]
call dword [0x4b3378]
mov ecx, edi
call fcn.0048c150
cmp dword [edi + 0x898], 0
je 0x48d82a
push 0x24
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov dword [esp + 0x14], 0
je 0x48d7c3
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
jmp 0x48d7c5
xor esi, esi
lea eax, [edi + 0x8a8]
push eax
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov dword [esi + 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x20], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xc
mov dword [edi + 0x8c4], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x48d828
push 0
push 0
push eax
push 0x481cd0
push 0
push 0
mov dword [eax], edi
mov dword [eax + 8], esi
mov dword [eax + 4], 0x48d360
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov dword [edi], eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8

Function at 0x48dca0
Capabilities:
Create thread
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x48dcda
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x48dcc9
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
push 0xc
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
jne 0x48dcef
mov dword [esi + 8], eax
pop esi
ret 8
movzx edx, word [esp + 8]
movzx ecx, word [esp + 0xc]
push 0
push 0
push eax
push 0x481cd0
shl edx, 0x10
or edx, ecx
push 0
push 0
mov dword [eax], esi
mov dword [eax + 8], edx
mov dword [eax + 4], 0x48db90
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 8], eax
pop esi
ret 8

Function at 0x48df90
Capabilities:
Terminate process

Disassembly:
mov ecx, 0x500988
jmp fcn.00487960

Function at 0x48e5b2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4dffd0]
jne 0x48e5bc
repz ret
jmp fcn.0048ef26