joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4028cf
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x404968
call fcn.00402db0
push 1
call fcn.0040247c
pop ecx
test al, al
je 0x4028b9
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0040244a
mov byte [ebp - 0x24], al
mov eax, dword [0x405050]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x4028b9
test eax, eax
jne 0x4027d7
mov dword [0x405050], ecx
push 0x404020
push 0x404010
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x4027ba
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4028a9
push 0x40400c
push section..rdata
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x405050], 2
jmp 0x4027dc
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.004025d0
pop ecx
call fcn.00402f24
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x40280d
push esi
call fcn.0040253c
pop ecx
test al, al
je 0x40280d
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x4061a4]
call esi
call fcn.00402f2a
mov esi, eax
cmp dword [esi], edi
je 0x40282b
push esi
call fcn.0040253c
pop ecx
test al, al
je 0x40282b
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_wide_environment
mov edi, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv
mov esi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
push edi
push esi
push dword [eax]
call main
add esp, 0xc
mov esi, eax
call fcn.00402cff
test al, al
je 0x4028c0
test bl, bl
jne 0x40285e
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push 0
push 1
call fcn.004025ed
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4028a9
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.00402bdc
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
call 0x495000
jmp 0x40274d
Function at 0x408d70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5f4049
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x20]
mov dword [ebx], vtable.ScriptRequest.0
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x24]
push 0
lea esi, [ebx + 4]
or edi, 0xffffffff
mov dword [ebx], vtable.DlgPromptRequest.0
call fcn.004728e0
mov byte [esp + 0x18], 1
mov eax, dword [esp + 0x28]
push 0
lea esi, [ebx + 8]
call fcn.004728e0
mov byte [esp + 0x18], 2
mov eax, dword [esp + 0x2c]
push 0
lea esi, [ebx + 0xc]
call fcn.004728e0
mov byte [esp + 0x18], 3
cmp dword [esp + 0x30], 0
setne al
mov byte [ebx + 0x10], al
mov dword [esp + 0x18], edi
mov eax, ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x14

Function at 0x4090d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5f3fc0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
call fcn.00472830
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x1c]
mov ecx, ebp
call edx
cmp byte [ebx], 0
je 0x40917f
movzx ecx, byte [ebx]
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, ebp
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
call edx
test al, al
je 0x409179
push 0
mov edi, 1
lea eax, [esp + 0x2c]
lea esi, [esp + 0x18]
call fcn.004728e0
mov byte [esp + 0x20], 1
push eax
lea edi, [esp + 0x30]
call fcn.00472a90
mov byte [esp + 0x20], 0
mov ecx, esi
call fcn.004740c0
mov eax, dword [ebp]
mov edx, dword [eax + 0x1c]
mov ecx, ebp
call edx
inc ebx
cmp byte [ebx], 0
jne 0x40911f
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
push 0
lea eax, [esp + 0x30]
call fcn.004221b0
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.004740c0
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x40a920
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6093e0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push edi
lea eax, [esp + 0x10]
push 0x6b70dc
push eax
call fcn.0047b760
add esp, 0xc
mov dword [esp + 0x28], 0
push eax
call fcn.004faf40
mov ecx, eax
lea eax, [esp + 0x18]
call fcn.004079e0
mov byte [esp + 0x28], 2
lea ecx, [esp + 0xc]
call fcn.004740c0
lea ecx, [esp + 0xc]
call fcn.00472830
mov byte [esp + 0x28], 3
mov ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x10]
push str.Session__1_d__
push edx
call fcn.00473260
add esp, 0xc
lea eax, [esp + 0xc]
call fcn.004221b0
mov ecx, dword [esp + 0x30]
push ecx
lea esi, [esp + 0x14]
call fcn.0047b2d0
mov byte [esp + 0x28], 4
push edi
push str._SessionName
mov eax, esi
call fcn.0047b360
lea eax, [esp + 0x18]
call fcn.0044d900
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push 1
mov ecx, esi
push ecx
mov ecx, eax
call edx
mov byte [esp + 0x28], 3
mov ecx, esi
call fcn.0047b2f0
mov byte [esp + 0x28], 2
lea ecx, [esp + 0xc]
call fcn.004740c0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.004079f0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 8
Function at 0x40d880
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5f911e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor ebx, ebx
push 0x1c
mov dword [esi], ebx
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ebx
cmp eax, ebx
je 0x40d8ca
push eax
call fcn.0047bb60
jmp 0x40d8cc
xor eax, eax
mov dword [esp + 0x1c], 0xffffffff
push 0x18
mov dword [esi + 4], eax
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 1
cmp eax, ebx
je 0x40d8fe
push ebx
push eax
xor edi, edi
call fcn.0047c360
mov ecx, eax
jmp 0x40d900
xor ecx, ecx
mov dword [esp + 0x1c], 0xffffffff
lea eax, [esi + 8]
call fcn.0040e590
mov dword [esp + 0x1c], 2
lea ecx, [esi + 0x10]
call fcn.00472830
mov byte [esp + 0x1c], 3
lea ecx, [esi + 0x14]
call fcn.00472830
mov byte [esp + 0x1c], 4
lea ecx, [esi + 0x18]
call fcn.00472830
mov byte [esp + 0x1c], 5
lea ecx, [esi + 0x1c]
call fcn.00472830
mov byte [esp + 0x1c], 6
lea ecx, [esi + 0x20]
call fcn.00472830
mov byte [esp + 0x1c], 7
lea ecx, [esi + 0x24]
call fcn.00472830
mov byte [esp + 0x1c], 8
lea ecx, [esi + 0x28]
call fcn.00472830
mov byte [esp + 0x1c], 9
mov byte [esi + 0x3c], bl
mov byte [esi + 0x3d], 1
mov byte [esi + 0x3e], bl
mov byte [esi + 0x3f], bl
mov byte [esi + 0x40], 1
mov byte [esi + 0x41], bl
xor eax, eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esp + 0x1c], 0xffffffff
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 4

Function at 0x40e2d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6032b9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [esp + 0x10]
push ecx
lea eax, [edi + 0x24]
call fcn.004221b0
push eax
lea eax, [edi + 0x20]
call fcn.004221b0
mov edx, dword [esp + 0x3c]
push eax
push edx
push esi
call fcn.0047c690
add esp, 0x14
mov dword [esp + 0x28], 0
mov dword [esp + 0xc], 1
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 8
Function at 0x40ebe0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5f3e0d
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
push 0x44
lea eax, [esp + 0x28]
push 0
push eax
call sub.MSVCR90.dll_memset
xor eax, eax
mov ecx, 1
add esp, 0xc
mov dword [esp + 0x24], 0x44
mov word [esp + 0x54], cx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call sub.mfc90u.dll_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.mfc90u.dll_CCmdTarget::BeginWaitCursor
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x84]
push 0
or edi, 0xffffffff
lea esi, [esp + 0x14]
call fcn.004728e0
mov byte [esp + 0x7c], 1
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, edi
mov ecx, esi
call fcn.004729d0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40ecd8
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
mov byte [esp + 0x7c], 0
lea ecx, [esp + 0x10]
call fcn.004740c0
mov dword [esp + 0x7c], edi
call fcn.0040cd10
xor eax, eax
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x74
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov byte [esp + 0x7c], 0
lea ecx, [esp + 0x10]
call fcn.004740c0
mov dword [esp + 0x7c], edi
call fcn.0040cd10
mov eax, esi
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x74
ret
Function at 0x40f7c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fec12
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
lea esi, [ecx + 0x74]
push esi
push 0x4d7
push edi
call sub.mfc90u.dll_DDX_Text
lea eax, [esp + 0xc]
push eax
call fcn.004fbbe0
mov dword [esp + 0x28], 0
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
call fcn.0047b590
test eax, eax
jl 0x40f82f
push 0
push 0
push 0x6bfa28
call sub.mfc90u.dll_AfxMessageBox_1
mov ecx, edi
call sub.mfc90u.dll_CDataExchange::Fail
push 0x6bfabc
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
jne 0x40f853
push eax
push eax
push 0x6bfad0
call sub.mfc90u.dll_AfxMessageBox_1
mov ecx, edi
call sub.mfc90u.dll_CDataExchange::Fail
mov dword [esp + 0x28], 0xffffffff
lea eax, [esp + 0xc]
call fcn.00429b10
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x40fbf0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5f3de1
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
xor esi, esi
lea ecx, [edi + 0x10]
mov dword [edi], eax
mov byte [edi + 4], 0
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
call fcn.00474000
mov dword [esp + 0x1c], esi
lea ebx, [edi + 0x14]
lea ecx, [edi + 0x28]
mov dword [ebx], esi
mov byte [edi + 0x18], 0
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], 0x50
mov byte [edi + 0x24], 1
call fcn.00472830
mov byte [esp + 0x1c], 1
mov ecx, dword [esp + 0x28]
lea esi, [edi + 0x2c]
call fcn.0040ab10
mov byte [esp + 0x1c], 2
mov dword [edi + 0x30], ebp
mov ecx, dword [ebp]
mov edx, dword [ecx + 4]
push ebp
call edx
mov eax, dword [edi + 0x30]
mov edx, ebx
call fcn.00454a90
mov ecx, dword [edi + 0x30]
call fcn.00454ac0
mov byte [edi + 0x18], al
mov dword [esp + 0x1c], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x40fcb0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5f3de1
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
xor ebx, ebx
lea ecx, [edi + 0x10]
mov dword [edi], eax
mov byte [edi + 4], bl
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.00474000
mov dword [esp + 0x1c], ebx
lea ecx, [edi + 0x28]
mov dword [edi + 0x14], ebx
mov byte [edi + 0x18], bl
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], 0x50
mov byte [edi + 0x24], 1
call fcn.00472830
mov byte [esp + 0x1c], 1
mov ecx, dword [esp + 0x28]
lea esi, [edi + 0x2c]
call fcn.0040ab10
mov byte [esp + 0x1c], 2
mov eax, ebp
mov dword [edi + 0x30], ebx
mov byte [edi + 0x18], 1
call fcn.00473120
lea eax, [eax + eax + 2]
push eax
call sub.mfc90u.dll_new__
mov edx, eax
add esp, 4
mov eax, ebp
mov dword [edi + 0x14], edx
call fcn.004221b0
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bx
jne 0x40fd52
mov dword [esp + 0x1c], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc

Function at 0x40fd90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5f3de1
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
xor ebx, ebx
lea ecx, [edi + 0x10]
mov dword [edi], eax
mov byte [edi + 4], bl
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.00474000
mov dword [esp + 0x1c], ebx
lea ecx, [edi + 0x28]
mov dword [edi + 0x14], ebx
mov byte [edi + 0x18], bl
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], 0x50
mov byte [edi + 0x24], 1
call fcn.00472830
mov byte [esp + 0x1c], 1
mov ecx, dword [esp + 0x28]
lea esi, [edi + 0x2c]
call fcn.0040ab10
mov byte [esp + 0x1c], 2
mov ecx, ebp
mov dword [edi + 0x30], ebx
call fcn.0047c000
mov esi, eax
lea ecx, [esi + 1]
push ecx
call sub.mfc90u.dll_new__
add esp, 4
push eax
mov dword [edi + 0x14], eax
push ebp
lea eax, [esp + 0x34]
mov ecx, esi
mov dword [esp + 0x34], ebx
call fcn.0047bdc0
mov edx, dword [edi + 0x14]
mov eax, dword [esp + 0x2c]
mov byte [eax + edx], bl
mov dword [esp + 0x1c], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x410820
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [edi]
sub esp, 0x18
test ecx, ecx
je 0x4108d2
cmp dword [esi + 0x28], 0
jne 0x4108cc
mov edx, dword [esi + 0x14dc]
cmp edx, 0xffffffff
je 0x4108cc
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x14e0]
mov dword [esp + 0x14], eax
lea eax, [esp + 4]
push eax
lea eax, [esp + 4]
push eax
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push edx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4108cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi + 0x14dc]
cmp eax, 0x3e5
je 0x4108b9
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x14dc], 0xffffffff
mov dword [edi], 0
add esp, 0x18
ret 4
push 1
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov dword [edi], 0
add esp, 0x18
ret 4

Function at 0x4108e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
push ebp
push edi
push 0x2000
call sub.mfc90u.dll_new__
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
add esp, 4
push 0
push 0
push 0
push 0
mov dword [esi + 0x14f4], eax
call edi
push 0
push 0
push 1
push 0
mov dword [esi + 0x14ec], eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esi + 0x14f0], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
lea edi, [esi + 0x14f8]
jmp 0x410950
mov ecx, dword [esi + 0x14f4]
mov edx, dword [esi + 0x14dc]
lea eax, [esp + 0xc]
push eax
push edi
push 0x2000
push ecx
push edx
mov dword [esi + 0x14fc], 0
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4109ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x410a23
mov ecx, dword [esi + 0x14dc]
push 1
push edi
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x410a23
mov edx, dword [esi + 0x14fc]
cmp edx, dword [edi]
jae 0x410950
jmp 0x4109c0
mov ecx, dword [esi + 0x14e8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x6c]
call edx
test eax, eax
jne 0x4109ed
mov eax, dword [esi + 0x14ec]
push 0xffffffffffffffff
push eax
call ebx
mov ecx, dword [esi + 0x14e8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x6c]
call eax
test eax, eax
je 0x4109d1
mov eax, dword [esi + 0x14fc]
mov ebp, dword [edi]
mov ecx, dword [esi + 0x14e8]
mov edx, dword [ecx]
sub ebp, eax
push ebp
mov ebp, dword [esi + 0x14f4]
add ebp, eax
mov eax, dword [edx + 0x2c]
push ebp
call eax
add dword [esi + 0x14fc], eax
mov ecx, dword [esi + 0x14fc]
cmp ecx, dword [edi]
jb 0x4109c0
jmp 0x410950
pop edi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x418b70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f8aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0xc]
call fcn.00475d70
push 0
test al, al
jne 0x418bc8
push 0
push str.ScriptThread:
call sub.mfc90u.dll_AfxMessageBox_1
or eax, 0xffffffff
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x2c
ret
call dword [sym.imp.ole32.dll_CoInitialize]
mov edi, eax
test edi, edi
jge 0x418c32
lea ecx, [esp + 0x10]
call fcn.00472830
mov dword [esp + 0x38], 0
push edi
lea eax, [esp + 0x14]
push str.COM
push eax
call fcn.00473260
add esp, 0xc
push 0
push 0
lea eax, [esp + 0x18]
call fcn.004221b0
push eax
call sub.mfc90u.dll_AfxMessageBox_1
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004740c0
or eax, 0xffffffff
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x2c
ret
mov ecx, dword [esi + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea edx, [esp + 0x20]
push edx
call edi
test eax, eax
je 0x418c78
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageW]
lea esp, [esp]
lea eax, [esp + 0x14]
push eax
call ebp
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
call edi
test eax, eax
jne 0x418c60
mov eax, dword [esi + 0x110]
test eax, eax
je 0x418ca2
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x1c]
call eax
mov eax, dword [esi + 0x110]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x110], 0
mov eax, dword [esi + 0x30]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x30]
mov byte [esi + 0x11c], 0
call edx
call dword [sym.imp.ole32.dll_CoFreeUnusedLibraries]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x2c
ret
Function at 0x41dcc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f39d3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push 0x34
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], 0
test eax, eax
je 0x41dd0f
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x18]
push edx
push eax
call fcn.0041c7c0
jmp 0x41dd11
xor eax, eax
mov dword [esp + 0x1c], 0xffffffff
mov ecx, eax
lea eax, [esp + 0xc]
call fcn.00403e60
mov dword [esp + 0x1c], 1
lea eax, [esp + 0xc]
call fcn.0044d900
mov ecx, dword [esp + 0x2c]
mov edi, eax
mov eax, dword [edi + 4]
mov edx, dword [eax + 4]
lea esi, [edi + 4]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x30]
mov eax, dword [esi]
mov edx, dword [eax]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x28]
mov eax, dword [edi]
mov edx, dword [eax]
push ecx
push 0x6bbcd8
push edi
call edx
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00403e70
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x41dff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f0b43
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push 0x70
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], 0
test eax, eax
je 0x41e03e
push eax
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x18]
call fcn.004224a0
jmp 0x41e040
xor eax, eax
mov dword [esp + 0x1c], 0xffffffff
mov ecx, eax
lea eax, [esp + 0xc]
call fcn.00403dd0
mov dword [esp + 0x1c], 1
lea eax, [esp + 0xc]
call fcn.0044d900
mov esi, dword [esp + 0x2c]
mov edi, eax
call fcn.004226d0
mov esi, dword [esp + 0x30]
call fcn.004226a0
mov edx, dword [esp + 0x28]
mov ecx, dword [edi]
mov eax, dword [ecx]
push edx
push 0x6bbcc8
push edi
call eax
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00403de0
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x420200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f09f2
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0xc]
call dword [0x612678]
mov dword [esp + 0x30], 0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.0041ffa0
add esp, 8
mov byte [esp + 0x30], 2
lea ecx, [esp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [esp + 0x38]
push eax
call fcn.00420570
test eax, eax
jl 0x42029a
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [edi + 0xc8]
push 0x133d
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
call fcn.00421390
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret 8