joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406200
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
cmp edi, ebx
je 0x406214
cmp dword [edi + 0x18], ebx
jne 0x40621f
pop edi
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x7c], ebx
je 0x40622d
push edi
call fcn.00404020
add esp, 4
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
call fcn.00403e20
add esp, 0x10
test eax, eax
je 0x406254
pop edi
mov eax, 0xffffff99
pop ebx
add esp, 8
ret
push ebp
mov ebp, dword [sym.imp.MSVCR71.dll_malloc]
push esi
push 0x84
call ebp
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x406297
push 0x4000
call ebp
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
add esp, 4
cmp eax, ebx
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
jne 0x4062a4
push esi
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
pop esi
pop ebp
pop edi
mov eax, 0xffffff98
pop ebx
add esp, 8
ret
mov dword [esi + 0x40], ebx
mov edx, dword [edi + 0x34]
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp edx, ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x4062f2
lea eax, [esi + 4]
push eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.004033a0
add esp, 4
test eax, eax
jne 0x4062f2
mov dword [esi + 0x40], 1
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x44]
mov dword [esi + 0x5c], edx
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov ecx, dword [edi + 0x30]
shr ecx, 3
test cl, 1
je 0x40631c
mov dl, byte [edi + 0x39]
mov byte [esi + 0x80], dl
jmp 0x406325
mov al, byte [edi + 0x3f]
mov byte [esi + 0x80], al
mov cl, byte [esi + 0x6c]
mov ebp, dword [esp + 0x20]
neg cl
lea ebx, [esi + 0x70]
mov dword [ebx], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
sbb ecx, ecx
and ecx, 0xc
test ebp, ebp
mov dword [esi + 0x7c], ecx
je 0x406367
xor eax, eax
mov al, byte [ebp]
test al, al
je 0x406367
push eax
push ebx
call fcn.004030c0
add esp, 8
inc ebp
jne 0x406351
mov edx, dword [edi + 0x78]
mov eax, dword [esp + 0x14]
lea ecx, [edx + eax + 0x1e]
mov dword [esi + 0x3c], ecx
mov dword [esi + 8], 0
mov dword [edi + 0x7c], esi
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x406650
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx], 0
jne 0x40671f
cmp dword [ebx + 4], 0xffffffff
jne 0x40671f
push edi
lea edi, [ebx + 0x140]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406680
sub eax, edx
mov al, byte [eax + ebx + 0x13f]
cmp al, 0x5c
je 0x4066b1
cmp al, 0x2f
je 0x4066b1
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4066a0
mov ax, word [0x4184d0]
mov word [edi], ax
mov edi, dword [esp + 0x14]
cmp edi, 1
push esi
mov esi, dword [esp + 0x10]
jne 0x4066dc
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4066dc
pop esi
pop edi
mov eax, 0x2000000
pop ebx
ret 0xc
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edi
push edx
push esi
call fcn.00403460
add esp, 0x10
test eax, eax
jne 0x4066fe
mov eax, dword [esp + 0x18]
pop esi
pop edi
pop ebx
ret 0xc
push eax
call fcn.00406000
add esp, 4
xor ecx, ecx
test eax, eax
setne cl
pop esi
mov dword [ebx], eax
pop edi
pop ebx
dec ecx
and ecx, 0x200
mov eax, ecx
ret 0xc
mov eax, 0x1000000
pop ebx
ret 0xc

Function at 0x4071f0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x130
mov eax, dword [0x41d438]
push ebp
mov ebp, dword [esp + 0x13c]
push esi
push edi
push 0
push 2
mov dword [esp + 0x140], eax
mov edi, 1
mov dword [ebp], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4072de
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea esp, [esp]
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.MSVCR71.dll__strupr]
add esp, 4
lea ecx, [esp + 0x144]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov esi, eax
lea ecx, [esp + 0x38]
mov dl, byte [ecx]
mov al, dl
cmp dl, byte [esi]
jne 0x407295
test al, al
je 0x407291
mov dl, byte [ecx + 1]
mov al, dl
cmp dl, byte [esi + 1]
jne 0x407295
add ecx, 2
add esi, 2
test al, al
jne 0x407271
xor eax, eax
jmp 0x40729a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4072c2
mov eax, dword [esp + 0x1c]
push eax
push 0
push 0x1f0fff
mov dword [ebp], 1
call ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, eax
test edi, edi
je 0x4072d9
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x407250
mov esi, dword [esp + 0x10]
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x140]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x138]
mov eax, edi
pop edi
pop esi
pop ebp
call fcn.00413841
add esp, 0x130
ret 8
Function at 0x4078d0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
push esi
push 0
lea eax, [esp + 8]
push eax
mov esi, 1
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x407905
mov eax, dword [esp + 4]
test al, 0x20
je 0x4078f2
xor esi, esi
push eax
push 0x418df4
call fcn.00401000
add esp, 8
mov eax, esi
pop esi
pop ecx
ret
mov ecx, dword [esp + 4]
push ecx
push 0x418dd4
xor esi, esi
call fcn.00401000
add esp, 8
mov eax, esi
pop esi
pop ecx
ret

Function at 0x407970
Capabilities:
Query service status

Disassembly:
sub esp, 0x1c
push ebx
push esi
push 0x20000000
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
jne 0x407990
pop esi
pop ebx
add esp, 0x1c
ret
push edi
push 4
push str.SENS
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
jne 0x4079b5
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x1c
ret
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x4079da
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x1c
ret
cmp dword [esp + 0x10], 4
jne 0x4079e6
mov ebx, 1
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x1c
ret

Function at 0x407b10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x414574
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
mov eax, dword [0x41d438]
push esi
push edi
mov dword [esp + 0x124], eax
xor eax, eax
xor esi, esi
mov dword [esp + 0xc], esi
mov ecx, 0x41
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x10]
mov dword [esp + 0x134], esi
call dword [0x416194]
push 0x5c
lea ecx, [esp + 0x10]
mov byte [esp + 0x138], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::ReverseFind]
push eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 2
call dword [0x4162e0]
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov esi, dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x124]
mov eax, esi
call fcn.00413841
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x407e10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4145a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x407eb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4145a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::StringLength]
add esp, 4
push eax
push edi
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x407ff0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4145f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [0x41d438]
push esi
xor esi, esi
mov dword [esp + 0x210], eax
mov dword [esp + 4], esi
push 0x416970
lea ecx, [esp + 8]
mov dword [esp + 0x220], esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
push 0x416970
lea ecx, [esp + 0x22c]
mov byte [esp + 0x220], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
jne 0x40807d
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x22c]
push 0x418e50
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
lea eax, [esp + 0x10c]
push eax
push esi
push 0x418f78
lea ecx, [esp + 0x234]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x22c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer]
lea ecx, [esp + 0x10c]
push ecx
lea edx, [esp + 8]
push 0x418e50
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
mov esi, dword [esp + 0x230]
add esp, 0xc
lea eax, [esp + 4]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x228]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x214]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x210]
mov eax, esi
pop esi
call fcn.00413841
add esp, 0x21c
ret

Function at 0x408120
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x414609
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push 0x416970
lea ecx, [esp + 0x1c]
xor esi, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
je 0x40815f
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x408bc0
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x414732
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 0x416970
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
lea ecx, [esp + 0x20]
je 0x408d3f
push 1
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Right]
push 0x4184d0
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0xc]
inc bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
test bl, bl
je 0x408c68
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
dec eax
push eax
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 1
call dword [0x4162e0]
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
call esi
cmp eax, 0xffffffff
je 0x408c88
test al, 0x10
jne 0x408d3b
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call esi
cmp eax, 0xffffffff
lea ecx, [esp + 0x20]
je 0x408ce4
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x408cc6
push 0
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x408d3b
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push 0x41a530
lea eax, [esp + 0x10]
push eax
call sub.MSVCR71.dll__CxxThrowException
push 0x5c
call dword [sym.imp.MFC71.DLL_ATL::CStringT::ReverseFind]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
push ecx
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
mov ecx, edi
call fcn.00408bc0
push 0
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x408d3b
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push 0x41a530
lea eax, [esp + 0x10]
push eax
call sub.MSVCR71.dll__CxxThrowException
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 4
Function at 0x40ab10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41499b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 4], 0
call fcn.00412730
push 0x416970
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov esi, dword [esp + 0x38]
push 0x41d628
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
mov dword [esi], 0x10000
call fcn.00412f90
test al, al
jne 0x40abec
mov dword [esi], 0x10003
mov eax, dword [0x41d628]
push eax
push 0x419290
call fcn.00401000
mov esi, dword [esp + 0x3c]
add esp, 8
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40abc6
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40acee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
lea ecx, [esp + 0xc]
call fcn.00412130
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x1c]
call fcn.00413380
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 2
call fcn.00412270
test al, al
jne 0x40ac34
mov dword [esi], 0x10004
mov edx, dword [0x41d628]
push edx
push 0x419274
call fcn.00401000
add esp, 8
lea eax, [esp + 4]
push eax
jmp 0x40ac89
push 0x419270
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 3
call fcn.00412e20
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x30], 4
call dword [0x4162e0]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea edx, [esp + 4]
push edx
mov esi, dword [esp + 0x38]
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov eax, dword [esp + 0x1c]
test eax, eax
mov byte [esp + 0x2c], 1
je 0x40aca8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40acb6
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40ace0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40acee
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x40ad90
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
push edi
lea eax, [esp + 8]
push eax
push 4
push 0
push 0x40a8e0
push 0
push 0
mov edi, ecx
mov byte [0x41d5f8], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 0x20]
push 0
push 0x1f4
push 0x406
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ecx
ret
Function at 0x40dbd0
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x10], ebx
mov dword [ebx], 0x419518
xor edi, edi
lea esi, [ebx + 0x74]
lea esp, [esp]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x24]
xor ecx, ecx
cmp eax, edx
setne cl
dec ecx
and eax, ecx
cmp edi, eax
jge 0x40dca6
mov ecx, dword [esi + 0xc]
add ecx, edi
mov eax, ecx
shr eax, 2
lea ebx, [eax*4]
mov edx, esi
sub ecx, ebx
mov ebx, dword [edx + 8]
cmp ebx, eax
ja 0x40dc26
sub eax, ebx
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
push 0x2710
push ecx
call ebp
cmp eax, 0x102
jne 0x40dc6e
mov ecx, dword [esi + 0xc]
add ecx, edi
mov eax, ecx
shr eax, 2
lea ebx, [eax*4]
mov edx, esi
sub ecx, ebx
mov ebx, dword [edx + 8]
cmp ebx, eax
ja 0x40dc5c
sub eax, ebx
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0xc]
add ecx, edi
mov eax, ecx
shr eax, 2
lea ebx, [eax*4]
mov edx, esi
sub ecx, ebx
mov ebx, dword [edx + 8]
cmp ebx, eax
ja 0x40dc8c
sub eax, ebx
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x10]
inc edi
jmp 0x40dbf0
lea ecx, [esi + 0x14]
call fcn.0040aff0
mov ecx, esi
call fcn.0040af80
pop edi
pop esi
pop ebp
mov ecx, ebx
pop ebx
add esp, 4
jmp fcn.004135c4

Function at 0x40ea70
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov ebp, ecx
push ebx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea eax, [esp + 0x10]
lea esi, [ebp + 0x74]
push eax
mov ecx, esi
call fcn.0040adf0
cmp eax, 0xffffffff
jne 0x40ea9c
xor esi, esi
jmp 0x40eac3
mov ecx, dword [esi + 0xc]
add ecx, eax
mov eax, ecx
shr eax, 2
mov edx, esi
lea esi, [eax*4]
sub ecx, esi
mov esi, dword [edx + 8]
cmp esi, eax
ja 0x40eaba
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov esi, dword [eax + ecx*4]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
test esi, esi
je 0x40eb12
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
push ebx
push edi
push 0x419744
call fcn.00401000
add esp, 0xc
test edi, edi
pop edi
je 0x40eafa
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
mov ecx, ebp
call fcn.0040e990
push ebx
push 0
push 0x41971c
call fcn.00401000
add esp, 0xc
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4