Function at 0x1001c420
Capabilities:
Check if file exists
Print debug messages
Read file on windows
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e9d4
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x100bb0a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x240], eax
mov eax, dword [eax]
movups xmm0, xmmword [eax + 0x50]
psrldq xmm0, 8
movd eax, xmm0
mov edi, dword [eax + 8]
test edi, edi
je 0x1001c4d3
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001c480
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x1001c4d3
lea eax, [ecx + ecx]
mov dword [ebp - 0x234], eax
call fcn.1004f430
mov esi, esp
mov dword [ebp - 0x10], esp
test esi, esi
je 0x1001c4d3
push 0
push 0
push dword [ebp - 0x234]
mov byte [esi], 0
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x1001c4d5
xor esi, esi
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1001c500
mov eax, dword [edx]
jmp 0x1001c502
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x1001c50e
xor ecx, ecx
jmp 0x1001c52d
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x234], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001c520
sub ecx, dword [ebp - 0x234]
push ecx
push esi
mov ecx, edx
call fcn.10002340
call fcn.1003fe50
add esp, 0x18
test al, al
je 0x1001d119
push 3
push 0x10097914
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
call fcn.10002340
mov dword [ebp - 4], 0
test edi, edi
jne 0x1001c582
xor edx, edx
jmp 0x1001c5bf
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001c587
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x1001c5a5
xor edx, edx
jmp 0x1001c5bf
add esi, esi
mov eax, esi
call fcn.1004f430
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.1001b4b0
mov edx, eax
mov dword [ebp - 0xf0], 0xf
mov dword [ebp - 0xf4], 0
mov byte [ebp - 0x104], 0
cmp byte [edx], 0
jne 0x1001c5e3
xor ecx, ecx
jmp 0x1001c5f1
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001c5e8
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x104]
call fcn.10002340
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
push 8
push str.iexplore
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
call fcn.10002340
push 0x4c
push str.User_Agent:_Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__Trident_5.0_r_n
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 4
mov byte [ebp - 0x234], 0
call fcn.10002340
push 2
push 0x10097978
lea ecx, [ebp - 0xb8]
call fcn.100030f0
mov edi, dword [ebp - 0x240]
mov eax, dword [edi]
movups xmm0, xmmword [eax + 0x20]
psrldq xmm0, 8
movd esi, xmm0
mov eax, dword [esi + 8]
cmp word [eax], 0
je 0x1001cb4a
push 4
push 0x1009797c
lea ecx, [ebp - 0xd0]
call fcn.10002340
mov eax, dword [esi + 8]
mov dword [ebp - 0x220], 0
mov esi, dword [eax + 8]
lea eax, [ebp - 0x220]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
lea eax, [ebp - 0x70]
push eax
push 1
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
lea eax, [ebp - 0x6c]
push eax
push 1
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov ecx, dword [ebp - 0x6c]
sub ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x58]
inc ecx
cmp ecx, eax
ja 0x1001c719
cmp dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x68]
mov dword [ebp - 0x58], ecx
cmovae eax, dword [ebp - 0x68]
mov byte [ecx + eax], 0
jmp 0x1001c726
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x68]
call fcn.10003040
cmp dword [ebp - 0x54], 0x10
lea ecx, [ebp - 0x68]
mov eax, dword [ebp - 0x6c]
cmovae ecx, dword [ebp - 0x68]
sub eax, dword [ebp - 0x70]
inc eax
push eax
push dword [ebp - 0x220]
push ecx
call fcn.10065c70
add esp, 0xc
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov eax, dword [edi]
movups xmm0, xmmword [eax + 0x60]
xor eax, eax
mov dword [ebp - 0x1c], eax
movups xmmword [ebp - 0x230], xmm0
movd ecx, xmm0
mov byte [ebp - 4], 5
cmp cx, 9
jne 0x1001c7b8
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0x1c]
push edx
push 0x1009e614
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
mov eax, dword [ebp - 0x1c]
jns 0x1001c7b8
mov esi, dword [ebp - 0x244]
mov esi, dword [esi + 0x40]
cmp eax, esi
je 0x1001c7b8
test esi, esi
je 0x1001c7a4
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov eax, esi
mov dword [ebp - 0x1c], eax
test ecx, ecx
je 0x1001c7b8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x4c]
push edx
push eax
mov byte [ebp - 4], 6
call dword [ecx + 0x48]
test eax, eax
js 0x1001cb20
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x18]
push edx
push eax
mov byte [ebp - 4], 7
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x1001cb07
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x50]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
jne 0x1001cb07
xor esi, esi
mov dword [ebp - 0x23c], esi
cmp dword [ebp - 0x50], esi
jle 0x1001cb07
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x38], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, 3
mov dword [ebp - 0x228], esi
mov word [ebp - 0x230], ax
movups xmm0, xmmword [ebp - 0x38]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push ecx
sub esp, 0x10
mov byte [ebp - 4], 0xa
mov ecx, esp
sub esp, 0x10
mov edx, dword [eax]
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [ebp - 0x230]
push eax
movups xmmword [ecx], xmm0
call dword [edx + 0x2c]
mov esi, eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
jne 0x1001cade
mov dword [ebp - 0x48], esi
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x48]
push edx
push 0x1009e644
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0xb
call dword [ecx]
test eax, eax
jne 0x1001cacd
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x24]
push edx
push eax
mov byte [ebp - 4], 0xc
mov ecx, dword [eax]
call dword [ecx + 0x38]
test eax, eax
jne 0x1001cac4
push str.INPUT
lea ecx, [ebp - 0x24]
call fcn.10018700
test al, al
jne 0x1001c8fa
push str.input
lea ecx, [ebp - 0x24]
call fcn.100186b0
test al, al
je 0x1001cac4
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x44]
push edx
push 0x1009e654
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0xd
call dword [ecx]
test eax, eax
jne 0x1001caac
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.IHTMLInputFileElement_success
call edi
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x20]
push edx
push eax
mov byte [ebp - 4], 0xe
mov ecx, dword [eax]
call dword [ecx + 0x64]
test eax, eax
jne 0x1001ca9b
push dword [ebp - 0x20]
call edi
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001ca9b
mov esi, dword [ebp - 0x20]
test esi, esi
jne 0x1001c96c
xor eax, eax
jmp 0x1001c9ac
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001c971
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jle 0x1001c98d
xor eax, eax
jmp 0x1001c9ac
lea edi, [ecx + ecx]
mov eax, edi
call fcn.1004f430
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.1001b4b0
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x100979dc
push eax
call fcn.100706e8
mov esi, eax
add esp, 8
mov dword [ebp - 0x238], esi
test esi, esi
je 0x1001ca94
push 2
push 0
push esi
call fcn.10070c50
push esi
call fcn.10071249
mov edi, dword [ebp - 0x238]
mov esi, eax
push 0
push 0
push edi
call fcn.10070c50
add esp, 0x1c
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xf
call fcn.10029270
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push edi
cmovae eax, dword [ebp - 0x40]
push esi
push 1
push eax
call fcn.100708cb
mov ecx, dword [ebp - 0x30]
mov eax, 0xaaaaaaab
add esp, 0x10
lea ecx, [ecx + 2]
mul ecx
lea ecx, [ebp - 0x68]
mov esi, edx
shr esi, 1
shl esi, 2
call fcn.10021fa0
push esi
lea ecx, [ebp - 0x68]
call fcn.10029270
cmp dword [ebp - 0x54], 0x10
lea ecx, [ebp - 0x68]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x68]
cmp dword [ebp - 0x2c], 0x10
push ecx
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.10001c00
push edi
mov byte [ebp - 0x234], 1
call fcn.1007059c
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.100025b0
push dword [ebp - 0x20]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1001cab3
push str.fopen_failed
call edi
push dword [ebp - 0x20]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1001cab3
push str.IHTMLInputFileElement_failed
call edi
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x1001cac4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 8
test eax, eax
je 0x1001cade
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 7
test eax, eax
je 0x1001caef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x23c]
inc esi
mov dword [ebp - 0x23c], esi
cmp esi, dword [ebp - 0x50]
jl 0x1001c821
jmp 0x1001cb0d
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 6
test eax, eax
je 0x1001cb26
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1001cb26
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 5
test eax, eax
je 0x1001cb37
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
test eax, eax
je 0x1001cb50
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1001cb50
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x10
push eax
push dword [ebp - 0x234]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x238], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x1001cba7
mov eax, dword [ecx]
jmp 0x1001cba9
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.10002210
sub esp, 0x18
mov byte [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0x234], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x1001cbf1
mov eax, dword [ecx]
jmp 0x1001cbf3
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.10002210
sub esp, 0x18
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x50], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x1001cc35
mov eax, dword [ecx]
jmp 0x1001cc37
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.10002210
sub esp, 0x18
mov byte [ebp - 4], 0x13
mov ecx, esp
mov dword [ebp - 0x23c], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x1001cc7f
mov eax, dword [ecx]
jmp 0x1001cc81
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.10002210
sub esp, 0x18
mov byte [ebp - 4], 0x14
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x1001ccc3
mov eax, dword [ecx]
jmp 0x1001ccc5
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0xd0]
push 0
push eax
call fcn.10002210
mov byte [ebp - 4], 0x10
call fcn.100489c0
add esp, 0x80
test al, al
je 0x1001d061
push str.notify_ets_responseBody_is__s
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x15
call fcn.10011bb0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x34]
push ecx
push eax
mov dword [ebp - 0x30], fcn.1002a7d0
mov dword [ebp - 0x2c], 0x1000b130
call fcn.1000c060
add esp, 8
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.10010910
add esp, 8
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x18
call fcn.10016790
cmp dword [ebp - 0x128], 0x10
lea eax, [ebp - 0x13c]
cmovae eax, dword [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0xb0
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.10064410
add esp, 0xc
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0x21c]
push 1
push 3
push eax
call fcn.100125d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xec]
movq qword [ebp - 0xdc], xmm0
movups xmmword [ebp - 0xec], xmm0
mov dword [ebp - 0xd4], 0
call fcn.10012270
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.1000ff00
add esp, 8
lea ecx, [ebp - 0x124]
push dword [ebp - 0x238]
push 0x2e
push str.check
call fcn.100156f0
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0xec]
call fcn.1000c140
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x1d
call fcn.100025b0
push dword [ebp - 0x238]
lea ecx, [ebp - 0x264]
push 0x2e
push str.epid
call fcn.100156f0
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0xec]
call fcn.1000c140
lea ecx, [ebp - 0x264]
call fcn.100025b0
lea eax, [ebp - 0x16c]
push str.block
push eax
call fcn.10009630
add esp, 8
test al, al
je 0x1001cffa
mov esi, dword [ebp - 0x240]
mov eax, dword [esi]
movups xmm0, xmmword [eax + 0x60]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x230], xmm0
movd eax, xmm0
mov byte [ebp - 4], 0x21
cmp ax, 9
jne 0x1001cec8
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0x18]
push edx
push 0x1009e614
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x1001cec8
mov eax, dword [ebp - 0x244]
lea ecx, [ebp - 0x18]
add eax, 0x40
push eax
call fcn.10018310
mov eax, dword [esi]
or ecx, 0xffffffff
sub esp, 0x18
mov eax, dword [eax + 8]
mov word [eax], cx
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x1001cefe
mov eax, dword [ecx]
jmp 0x1001cf00
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x154]
push 0
push eax
call fcn.10002210
lea eax, [ebp - 0x11c]
push eax
call fcn.100473a0
add esp, 0x1c
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x230]
push eax
mov byte [ebp - 4], 0x22
call esi
lea eax, [ebp - 0x38]
push eax
call esi
cmp dword [ebp - 0x108], 0x10
lea esi, [ebp - 0x11c]
mov eax, 8
mov dword [ebp - 0x30], 0
cmovae esi, dword [ebp - 0x11c]
mov word [ebp - 0x38], ax
mov word [ebp - 0x230], ax
test esi, esi
jne 0x1001cf6e
xor eax, eax
jmp 0x1001cfa2
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001cf73
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jle 0x1001cf8b
xor eax, eax
jmp 0x1001cfa2
lea eax, [edi + edi]
call fcn.1004f430
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.1001aea0
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea edx, [ebp - 0x38]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x18]
push edx
push edx
push edx
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x230]
push edx
push eax
call dword [ecx + 0xd0]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x230]
push eax
call esi
lea eax, [ebp - 0x38]
push eax
call esi
lea ecx, [ebp - 0x11c]
call fcn.100025b0
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0x20
test eax, eax
je 0x1001cffa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x154]
call fcn.100025b0
lea ecx, [ebp - 0x16c]
call fcn.100025b0
lea ecx, [ebp - 0xec]
call fcn.10016ac0
lea ecx, [ebp - 0x1b4]
call fcn.10016c40
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 0x23
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10050a84
add esp, 4
lea ecx, [ebp - 0x13c]
call fcn.100025b0
jmp 0x1001d068
push str.notify_ets_failed
call edi
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x1001d083
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.10002440
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
cmp eax, 0x10
jb 0x1001d0b6
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.10002440
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
cmp eax, 0x10
jb 0x1001d0e6
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.10002440
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
call fcn.100025b0
lea ecx, [ebp - 0x104]
call fcn.100025b0
lea ecx, [ebp - 0xd0]
call fcn.100025b0
lea esp, [ebp - 0x310]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1004ebbb
mov esp, ebp
pop ebp
ret 8