Function at 0x419e70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48cf80
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4c6018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
mov ebx, edx
lea edx, [ebp - 0x40]
push edx
push 9
push 2
mov dword [ebp - 0x38], eax
lea eax, [edi + 0x1468]
push 0xcb
push eax
mov dword [ebp - 0x30], ecx
call dword [sym.imp.mfc100.dll_Ordinal_7266]
mov eax, dword [ebp - 0x40]
add esp, 0x18
mov esi, eax
mov dword [ebp - 0x34], esi
test eax, eax
je 0x419ed8
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea ecx, [edi + 0x110c]
mov dword [ebp - 4], 0
call fcn.00403a60
test al, al
jne 0x419f1a
push 0
push 0
push str.js.SetDocument___failed.
call dword [sym.imp.mfc100.dll_Ordinal_1982]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x419f13
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
jmp 0x419ffe
mov dword [edi + 0xe8], ebx
test ebx, ebx
jne 0x419f36
mov eax, dword [ebp - 0x30]
push str.PARM_ERR
push eax
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 8
mov esi, dword [ebp - 0x38]
push esi
lea ecx, [edi + 0xf0]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
test ebx, ebx
js 0x41a150
cmp ebx, dword [edi + 0xfc]
jge 0x41a150
mov ecx, dword [edi + 0xf8]
lea ecx, [ecx + ebx*4]
push esi
call dword [sym.imp.mfc100.dll_Ordinal_1313]
cmp dword [edi + 0xe8], 0x64
jne 0x41a01b
xor ebx, ebx
mov esi, 0xf
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [ebp - 0x2c]
push edx
push 0x64
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0041c7f0
test eax, eax
je 0x419fc6
sub esp, 0x1c
mov ecx, esp
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x38], esp
push eax
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
or eax, 0xffffffff
mov byte [ecx], bl
call fcn.00402020
lea esi, [edi + 0x170]
call fcn.00412df0
lea esi, [ebx + 0xf]
cmp dword [ebp - 0x18], 0x10
jb 0x419fd9
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], 0
cmp eax, ebx
je 0x419ff9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00449013
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [edi + 0x1538]
mov eax, dword [ecx]
cmp eax, ecx
je 0x41a043
jmp 0x41a030
mov ecx, dword [eax + 8]
mov dword [ecx], 0
mov eax, dword [eax]
cmp eax, dword [edi + 0x1538]
jne 0x41a030
mov eax, dword [edi + 0x1538]
xor esi, esi
mov dword [ebp - 0x30], esi
cmp dword [eax], eax
je 0x41a05e
mov eax, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [edx + 8]
mov dword [ebp - 0x30], eax
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
cmp eax, esi
je 0x41a085
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
xor ecx, ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov esi, eax
mov ecx, dword [ebp - 0x30]
push 0
push 0
push 1
lea ebx, [esi + 0x10]
push 0
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], 0
mov dword [ebx], esi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
lea edx, [ebp - 0x3c]
push edx
push 0
push ebx
push 0x41a890
push 0
push 0
mov dword [esi + 8], eax
call dword [sym.imp.MSVCR100.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
je 0x419efd
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0xc], eax
mov dword [esi], 1
cmp dword [edi + 0xe8], 0x21
je 0x41a127
mov ebx, dword [edi + 0x1538]
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x38]
push eax
push ecx
push ebx
call fcn.0041f3f0
mov ecx, dword [edi + 0x153c]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jae 0x41a118
push str.list_T__too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
inc ecx
mov dword [edi + 0x153c], ecx
mov dword [ebx + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x419ff9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x419ff9
call dword [sym.imp.mfc100.dll_Ordinal_2061]
int3