Function at 0x1048463
Capabilities:
Parse pe header

Disassembly:
push 0xe4
mov eax, 0x10db9d9
call fcn.010a0bbf
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xac], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xb0], edx
mov eax, dword [0x10ed030]
mov ebx, 0x10ed030
cmp eax, ebx
je 0x10484c1
test byte [eax + 0x1c], 1
je 0x10484c1
cmp byte [eax + 0x19], 5
jb 0x10484c1
push edx
push ecx
push 0x1004d20
push 0x3f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cde9
mov edi, 0x10f1178
xor esi, esi
push edi
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xa4], esi
call fcn.0104bdc3
and dword [ebp - 4], esi
push edi
lea ecx, [ebp - 0xa8]
call fcn.0104bdc3
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0xa0], ax
lea eax, [ebp - 0x9e]
push eax
call sub.msvcrt.dll_memset
mov byte [ebp - 0x20], 0
xor eax, eax
lea edi, [ebp - 0x1f]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor edi, edi
add esp, 0xc
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xb8], edi
mov eax, dword [ebp - 0xac]
add eax, 0xb0
push eax
mov byte [ebp - 4], 8
mov dword [ebp - 0xec], edi
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xe4], edi
mov dword [ebp - 0xe0], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0xc8]
cmp ecx, edi
je 0x104858a
call fcn.0103b265
jmp 0x10485b7
mov esi, 0x80040378
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x10485b7
test byte [eax + 0x1c], 2
je 0x10485b7
cmp byte [eax + 0x19], 2
jb 0x10485b7
push esi
push 0x1004d20
push 0x40
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
mov eax, dword [ebp - 0xac]
add eax, 0xb0
push eax
mov dword [ebp - 0xb4], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
jl 0x1049375
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0xac]
xor edx, edx
mov edi, 0x80000000
cmp dword [eax + 0xc8], edx
je 0x10486f2
cmp dword [0x10efc7c], edx
je 0x104864b
mov al, byte [0x10efc80]
cmp al, 4
jae 0x1048611
test al, al
jne 0x104864b
mov ecx, dword [0x10efc6c]
and ecx, edi
xor eax, eax
or eax, ecx
je 0x104864b
mov ecx, dword [0x10efc74]
mov eax, ecx
and eax, edi
cmp edx, dword [0x10efc70]
jne 0x104864b
cmp eax, ecx
jne 0x104864b
push 0x1001ca8
push dword [0x10efc54]
push dword [0x10efc50]
call fcn.0102c6f5
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [ebp - 0xac]
push dword [ebp - 0xf0]
mov ecx, dword [eax + 0xc8]
call fcn.0103be0d
cmp dword [0x10efc7c], 0
mov esi, eax
je 0x10486cb
mov al, byte [0x10efc80]
cmp al, 4
jae 0x104868f
test al, al
jne 0x10486cb
mov ecx, dword [0x10efc6c]
and ecx, edi
xor eax, eax
or eax, ecx
je 0x10486cb
mov ecx, dword [0x10efc74]
mov eax, ecx
xor edx, edx
and eax, edi
cmp edx, dword [0x10efc70]
jne 0x10486cb
cmp eax, ecx
jne 0x10486cb
push 0x1001cb8
push dword [0x10efc54]
push dword [0x10efc50]
call fcn.0102c6f5
cmp esi, 0x800403c9
jne 0x104871f
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x104871f
test byte [eax + 0x1c], 2
je 0x104871f
cmp byte [eax + 0x19], 2
jb 0x104871f
push esi
push 0x1004d20
push 0x41
jmp 0x1048714
mov esi, 0x80040378
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x104871f
test byte [eax + 0x1c], 2
je 0x104871f
cmp byte [eax + 0x19], 2
jb 0x104871f
push esi
push 0x1004d20
push 0x42
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
jl 0x1049375
cmp dword [ebp - 0xd4], 0
jne 0x104876f
mov esi, 0x800403fa
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1049375
test byte [eax + 0x1c], 2
je 0x1049375
cmp byte [eax + 0x19], 2
jb 0x1049375
push esi
push 0x1004d20
push 0x43
jmp 0x1048c82
cmp dword [ebp - 0xb0], 0
jne 0x10487b1
mov esi, 0x80040208
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1049375
test byte [eax + 0x1c], 2
je 0x1049375
cmp byte [eax + 0x19], 2
jb 0x1049375
push esi
push 0x1004d20
push 0x44
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
test esi, esi
jl 0x1049375
push dword [ebp - 0xb0]
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048803
test byte [eax + 0x1c], 2
je 0x1048803
movzx ecx, byte [eax + 0x19]
xor edx, edx
test esi, esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x1048803
push esi
push 0x1004d20
push 0x45
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
mov eax, dword [0x10ed030]
test esi, esi
jge 0x104883b
mov dword [ebp - 0xa4], esi
mov esi, 0x800403fe
cmp eax, ebx
je 0x1049375
test byte [eax + 0x1c], 2
je 0x1049375
cmp byte [eax + 0x19], 2
jb 0x1049375
push esi
push 0x1004d20
push 0x46
jmp 0x1048c82
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x104896a
call fcn.010d9eaf
test al, al
jne 0x104896a
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0xac]
xor edx, edx
cmp dword [eax + 0xc8], edx
je 0x104892f
cmp dword [0x10efc7c], edx
je 0x10488c6
mov al, byte [0x10efc80]
cmp al, 4
jae 0x104888b
test al, al
jne 0x10488c6
mov ecx, dword [0x10efc6c]
and ecx, edi
xor eax, eax
or eax, ecx
je 0x10488c6
mov ecx, dword [0x10efc74]
mov eax, ecx
and eax, edi
cmp edx, dword [0x10efc70]
jne 0x10488c6
cmp eax, ecx
jne 0x10488c6
push edx
push 0x1001d28
push dword [0x10efc54]
push dword [0x10efc50]
call fcn.010406ec
mov ecx, dword [0x10efc9c]
lea eax, [ebp - 0xc0]
push eax
call fcn.0102f400
cmp dword [0x10efc7c], 0
mov esi, eax
je 0x104895c
mov al, byte [0x10efc80]
cmp al, 4
jae 0x10488f0
test al, al
jne 0x104895c
mov ecx, dword [0x10efc6c]
and ecx, edi
xor eax, eax
or eax, ecx
je 0x104895c
mov ecx, dword [0x10efc74]
mov eax, ecx
xor edx, edx
and eax, edi
cmp edx, dword [0x10efc70]
jne 0x104895c
cmp eax, ecx
jne 0x104895c
push esi
push 0x1001d38
push dword [0x10efc54]
push dword [0x10efc50]
call fcn.010406ec
jmp 0x104895c
mov esi, 0x80040378
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x104895c
test byte [eax + 0x1c], 2
je 0x104895c
cmp byte [eax + 0x19], 2
jb 0x104895c
push esi
push 0x1004d20
push 0x48
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10489ad
mov dword [ebp - 0xa4], 0xc00d2767
mov esi, 0x80040378
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1049375
test byte [eax + 0x1c], 2
je 0x1049375
cmp byte [eax + 0x19], 2
jb 0x1049375
push esi
push 0x1004d20
push 0x47
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
test esi, esi
jl 0x1049375
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
lea edx, [ebp - 0xdc]
push edx
push 0x1004d40
push eax
call dword [ecx]
mov esi, eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048a0b
test byte [eax + 0x1c], 2
je 0x1048a0b
movzx ecx, byte [eax + 0x19]
xor edx, edx
test esi, esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x1048a0b
push dword [ebp - 0xdc]
push esi
push 0x1004d20
push 0x49
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cde9
test esi, esi
jl 0x1049375
cmp dword [0x10efc7c], 0
je 0x1048a66
mov al, byte [0x10efc80]
cmp al, 4
jae 0x1048a29
test al, al
jne 0x1048a66
mov ecx, dword [0x10efc6c]
and ecx, edi
xor eax, eax
or eax, ecx
je 0x1048a66
mov ecx, dword [0x10efc74]
mov eax, ecx
xor edx, edx
and eax, edi
cmp edx, dword [0x10efc70]
jne 0x1048a66
cmp eax, ecx
jne 0x1048a66
push edx
push 0x1001d48
push dword [0x10efc54]
push dword [0x10efc50]
call fcn.010406ec
mov eax, dword [ebp - 0xdc]
mov edx, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0xcc]
push ecx
mov ecx, dword [ebp - 0xd4]
push dword [ecx + 0x10]
push dword [ecx + 0xc]
push eax
call dword [edx + 0xc]
cmp dword [0x10efc7c], 0
mov esi, eax
je 0x1048ade
mov al, byte [0x10efc80]
cmp al, 4
jae 0x1048aa1
test al, al
jne 0x1048ade
mov ecx, dword [0x10efc6c]
and ecx, edi
xor eax, eax
or eax, ecx
je 0x1048ade
mov ecx, dword [0x10efc74]
mov eax, ecx
xor edx, edx
and eax, edi
cmp edx, dword [0x10efc70]
jne 0x1048ade
cmp eax, ecx
jne 0x1048ade
push esi
push 0x1001d58
push dword [0x10efc54]
push dword [0x10efc50]
call fcn.010406ec
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048b1a
test byte [eax + 0x1c], 2
je 0x1048b1a
movzx ecx, byte [eax + 0x19]
xor edx, edx
test esi, esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x1048b1a
push esi
push 0x1004d20
push 0x4a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
mov eax, dword [0x10ed030]
test esi, esi
jge 0x1048b52
mov dword [ebp - 0xa4], esi
mov esi, 0x800403fa
cmp eax, ebx
je 0x1049375
test byte [eax + 0x1c], 2
je 0x1049375
cmp byte [eax + 0x19], 2
jb 0x1049375
push esi
push 0x1004d20
push 0x4b
jmp 0x1048c82
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
lea edx, [ebp - 0xe0]
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048ba9
test byte [eax + 0x1c], 2
je 0x1048ba9
movzx ecx, byte [eax + 0x19]
xor edx, edx
test esi, esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x1048ba9
push dword [ebp - 0xe0]
push esi
push 0x1004d20
push 0x4c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cde9
mov eax, dword [0x10ed030]
test esi, esi
jl 0x1048bb6
cmp dword [ebp - 0xe0], 0
jne 0x1048bf0
mov dword [ebp - 0xa4], esi
mov esi, 0x800403fa
cmp eax, ebx
je 0x1049375
test byte [eax + 0x1c], 2
je 0x1049375
cmp byte [eax + 0x19], 2
jb 0x1049375
push esi
push 0x1004d20
push 0x4d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
test esi, esi
jl 0x1049375
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
lea edx, [ebp - 0xe4]
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048c4f
test byte [eax + 0x1c], 2
je 0x1048c4f
movzx ecx, byte [eax + 0x19]
xor edx, edx
test esi, esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x1048c4f
push dword [ebp - 0xe4]
push esi
push 0x1004d20
push 0x4e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cde9
mov eax, dword [0x10ed030]
test esi, esi
jge 0x1048c92
mov dword [ebp - 0xa4], esi
mov esi, 0x800403fa
cmp eax, ebx
je 0x1049375
test byte [eax + 0x1c], 2
je 0x1049375
cmp byte [eax + 0x19], 2
jb 0x1049375
push esi
push 0x1004d20
push 0x4f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
jmp 0x1049375
cmp dword [0x10efc7c], 0
je 0x1048ce5
mov al, byte [0x10efc80]
cmp al, 4
jae 0x1048ca8
test al, al
jne 0x1048ce5
mov ecx, dword [0x10efc6c]
and ecx, edi
xor eax, eax
or eax, ecx
je 0x1048ce5
mov ecx, dword [0x10efc74]
mov eax, ecx
xor edx, edx
and eax, edi
cmp edx, dword [0x10efc70]
jne 0x1048ce5
cmp eax, ecx
jne 0x1048ce5
push edx
push 0x1001d08
push dword [0x10efc54]
push dword [0x10efc50]
call fcn.010406ec
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
lea edx, [ebp - 0xd8]
push edx
sub esp, 0x10
mov edi, esp
push dword [ebp - 0xe0]
lea esi, [ebp - 0x20]
push dword [ebp - 0xe4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0xc]
cmp dword [0x10efc7c], 0
mov esi, eax
je 0x1048d6c
mov al, byte [0x10efc80]
cmp al, 4
jae 0x1048d2a
test al, al
jne 0x1048d6c
mov ecx, dword [0x10efc6c]
mov edx, 0x80000000
and ecx, edx
xor eax, eax
or eax, ecx
je 0x1048d6c
mov ecx, dword [0x10efc74]
mov eax, ecx
and eax, edx
xor edx, edx
cmp edx, dword [0x10efc70]
jne 0x1048d6c
cmp eax, ecx
jne 0x1048d6c
push esi
push 0x1001d18
push dword [0x10efc54]
push dword [0x10efc50]
call fcn.010406ec
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048da8
test byte [eax + 0x1c], 2
je 0x1048da8
movzx ecx, byte [eax + 0x19]
xor edx, edx
test esi, esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x1048da8
push esi
push 0x1004d20
push 0x50
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
mov eax, dword [0x10ed030]
mov ecx, 0x80070057
cmp esi, ecx
jne 0x1048deb
mov dword [ebp - 0xa4], ecx
mov esi, 0x800403fa
cmp eax, ebx
je 0x1049375
test byte [eax + 0x1c], 2
je 0x1049375
cmp byte [eax + 0x19], 2
jb 0x1049375
push esi
push 0x1004d20
push 0x51
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
test esi, esi
jl 0x1049375
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x28]
mov esi, eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048e3a
test byte [eax + 0x1c], 2
je 0x1048e3a
movzx ecx, byte [eax + 0x19]
xor edx, edx
test esi, esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x1048e3a
push esi
push 0x1004d20
push 0x52
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
test esi, esi
jl 0x1049375
mov eax, dword [ebp - 0xd8]
mov esi, dword [eax]
lea ecx, [ebp - 0xd0]
mov edi, eax
add esi, 0x24
call fcn.0103ed77
push eax
mov ecx, 0x10efca0
call fcn.0103ed77
push eax
push edi
call dword [esi]
mov esi, eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048ea2
test byte [eax + 0x1c], 2
je 0x1048ea2
movzx ecx, byte [eax + 0x19]
xor edx, edx
test esi, esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x1048ea2
push esi
push 0x1004d20
push 0x53
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
test esi, esi
jl 0x1049375
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
lea edx, [ebp - 0xbc]
push edx
push 0x1004d30
push eax
call dword [ecx]
mov esi, eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048f00
test byte [eax + 0x1c], 2
je 0x1048f00
movzx ecx, byte [eax + 0x19]
xor edx, edx
test esi, esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x1048f00
push dword [ebp - 0xbc]
push esi
push 0x1004d20
push 0x54
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cde9
test esi, esi
jl 0x1049375
mov edi, dword [ebp - 0xac]
lea eax, [edi + 0xb0]
push eax
mov dword [ebp - 0xb4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0xc8]
test eax, eax
je 0x1048f9c
push dword [eax + 0x28]
lea ecx, [ebp - 0xd0]
push ecx
push dword [ebp - 0xbc]
mov ecx, dword [eax + 0x2c]
call fcn.0106503c
push eax
lea ecx, [ebp - 0xb8]
call fcn.010a70d1
cmp dword [ebp - 0xb8], 0
jne 0x1048f5d
mov esi, 0x8007000e
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048fc9
test byte [eax + 0x1c], 2
je 0x1048fc9
movzx ecx, byte [eax + 0x19]
xor edx, edx
test esi, esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x1048fc9
push dword [ebp - 0xb8]
push esi
push 0x1004d20
push 0x55
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cde9
jmp 0x1048fc9
mov esi, 0x80040378
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048fc9
test byte [eax + 0x1c], 2
je 0x1048fc9
cmp byte [eax + 0x19], 2
jb 0x1048fc9
push esi
push 0x1004d20
push 0x56
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
jl 0x1049375
push 2
pop eax
cmp ax, word [ebp - 0xa0]
je 0x1049033
push 0x17
pop eax
cmp ax, word [ebp - 0xa0]
je 0x1049033
mov esi, 0x80070057
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1049375
test byte [eax + 0x1c], 2
je 0x1049375
cmp byte [eax + 0x19], 2
jb 0x1049375
push dword [ebp - 0xa0]
push 0x1004d20
push 0x57
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010471e4
test esi, esi
jl 0x1049375
push 0x2828
call dword [sym.imp.WSOCK32.dll_htons]
cmp dword [0x10efc7c], 0
mov word [ebp - 0x9e], ax
je 0x10490a7
mov al, byte [0x10efc80]
cmp al, 4
jae 0x1049063
test al, al
jne 0x10490a7
mov ecx, dword [0x10efc6c]
mov edi, 0x80000000
and ecx, edi
xor eax, eax
xor edx, edx
or eax, ecx
je 0x10490ac
mov ecx, dword [0x10efc74]
mov eax, ecx
and eax, edi
cmp edx, dword [0x10efc70]
jne 0x10490ac
cmp eax, ecx
jne 0x10490ac
push edx
push 0x1001d68
push dword [0x10efc54]
push dword [0x10efc50]
call fcn.010406ec
jmp 0x10490ac
mov edi, 0x80000000
mov eax, dword [ebp - 0xbc]
mov edx, dword [eax]
push 0
push dword [ebp - 0xb8]
lea ecx, [ebp - 0xc8]
push ecx
push 4
push 0x80
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, dword [ebp - 0xd4]
push dword [ecx + 0x10]
push dword [ecx + 0xc]
push eax
call dword [edx + 0xc]
cmp dword [0x10efc7c], 0
mov esi, eax
je 0x1049136
mov al, byte [0x10efc80]
cmp al, 4
jae 0x10490f9
test al, al
jne 0x1049136
mov ecx, dword [0x10efc6c]
and ecx, edi
xor eax, eax
or eax, ecx
je 0x1049136
mov ecx, dword [0x10efc74]
mov eax, ecx
xor edx, edx
and eax, edi
cmp edx, dword [0x10efc70]
jne 0x1049136
cmp eax, ecx
jne 0x1049136
push esi
push 0x1001d78
push dword [0x10efc54]
push dword [0x10efc50]
call fcn.010406ec
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x104916d
test byte [eax + 0x1c], 2
je 0x104916d
movzx ecx, byte [eax + 0x19]
xor edx, edx
test esi, esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x104916d
push esi
push 0x1004d20
push 0x58
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
test esi, esi
jl 0x1049375
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax]
lea edx, [ebp - 0xec]
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x10491c1
test byte [eax + 0x1c], 2
je 0x10491c1
movzx ecx, byte [eax + 0x19]
xor edx, edx
test esi, esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x10491c1
push esi
push 0x1004d20
push 0x59
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
test esi, esi
jl 0x1049375
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax]
lea edx, [ebp - 0xe8]
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1049215
test byte [eax + 0x1c], 2
je 0x1049215
movzx ecx, byte [eax + 0x19]
xor edx, edx
test esi, esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x1049215
push esi
push 0x1004d20
push 0x5a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
test esi, esi
jl 0x1049375
lea eax, [ebp - 0xc4]
push eax
push dword [ebp - 0xe8]
push dword [ebp - 0xec]
call fcn.0104741e
mov esi, eax
test esi, esi
jl 0x1049375
mov ebx, dword [ebp - 0xb0]
mov edi, dword [sym.imp.OLEAUT32.dll_DispGetParam]
mov eax, 0x2011
mov word [ebx], ax
add ebx, 8
push ebx
push dword [ebp - 0xc4]
call edi
mov esi, eax
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x104929b
test byte [eax + 0x1c], 2
je 0x104929b
movzx ecx, byte [eax + 0x19]
xor edx, edx
test esi, esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x104929b
push esi
push 0x1004d20
push 0x5b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
test esi, esi
jl 0x1049375
mov esi, dword [ebp - 0xac]
add esi, 0x94
mov eax, dword [esi]
test eax, eax
je 0x10492bf
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
and dword [esi], 0
push esi
push dword [ebp - 0xd4]
call edi
mov esi, eax
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x1049304
test byte [eax + 0x1c], 2
je 0x1049304
movzx ecx, byte [eax + 0x19]
xor edx, edx
test esi, esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x1049304
push esi
push 0x1004d20
push 0x5c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
test esi, esi
jl 0x1049375
mov esi, dword [ebp - 0xac]
add esi, 0x98
mov eax, dword [esi]
test eax, eax
je 0x1049324
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
and dword [esi], 0
push esi
push dword [ebx]
call edi
mov esi, eax
mov ecx, dword [0x10ed030]
cmp ecx, 0x10ed030
je 0x104936d
test byte [ecx + 0x1c], 2
je 0x104936d
movzx eax, byte [ecx + 0x19]
xor edx, edx
test esi, esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp eax, edx
jl 0x104936d
push esi
push 0x1004d20
push 0x5d
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01027ecb
mov ecx, dword [0x10ed030]
test esi, esi
jge 0x1049445
push dword [ebp - 0xb0]
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [0x10ed030]
mov edi, 0x10ed030
cmp ecx, edi
je 0x10493c4
test byte [ecx + 0x1c], 2
je 0x10493c4
movzx edx, byte [ecx + 0x19]
xor ebx, ebx
test eax, eax
setl bl
dec ebx
and ebx, 3
inc ebx
inc ebx
cmp edx, ebx
jl 0x10493c4
push eax
push 0x1004d20
push 0x5e
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01027ecb
mov ecx, dword [0x10ed030]
mov eax, 0xc00d28b1
cmp esi, eax
jne 0x10493d5
mov dword [ebp - 0xa4], eax
jmp 0x1049417
mov eax, 0xc00d28a1
cmp esi, eax
jne 0x10493eb
mov dword [ebp - 0xa4], eax
mov esi, 0x800403fb
jmp 0x104941c
mov eax, 0xc00d28a0
cmp esi, eax
jne 0x1049401
mov dword [ebp - 0xa4], eax
mov esi, 0x800403fa
jmp 0x104941c
cmp esi, 0x8007000e
je 0x1049411
cmp esi, 0x80004005
jne 0x104941c
mov dword [ebp - 0xa4], esi
mov esi, 0x800403fe
cmp ecx, edi
je 0x1049445
test byte [ecx + 0x1c], 2
je 0x1049445
cmp byte [ecx + 0x19], 2
jb 0x1049445
push esi
push 0x1004d20
push 0x5f
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01027ecb
mov ecx, dword [0x10ed030]
xor edi, edi
cmp dword [ebp - 0xc4], edi
je 0x1049467
push dword [ebp - 0xc4]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov ecx, dword [0x10ed030]
mov dword [ebp - 0xc4], edi
mov eax, dword [ebp - 0xa8]
cmp dword [eax - 0xc], edi
je 0x1049662
cmp esi, 0x800403c9
je 0x1049662
mov ebx, dword [ebp - 0xac]
lea eax, [ebx + 0xb0]
push eax
mov dword [ebp - 0xb4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp esi, edi
jge 0x1049635
mov edi, dword [ebp - 0xa4]
test edi, edi
jne 0x10494b5
mov edi, esi
mov dword [ebp - 0xa4], edi
push 0x10f1178
lea ecx, [ebp - 0xb0]
call fcn.0104bdc3
push edi
lea eax, [ebp - 0xb0]
push 0x10036a8
push eax
mov byte [ebp - 4], 9
call fcn.0102aca6
add esp, 0xc
cmp edi, 0x80040208
je 0x10495e6
cmp edi, 0xc00d2767
je 0x10495ba
cmp edi, 0xc00d28a0
je 0x104958e
cmp edi, 0xc00d28a1
je 0x104955b
cmp edi, 0xc00d28b0
je 0x10495e6
push 0
cmp edi, 0xc00d28b1
je 0x104952a
mov edi, 0xc00d3822
jmp 0x10495ed
push 0
push dword [ebp - 0xa8]
mov edi, 0xc00d3821
push edi
push 1
push 0x1002a80
call fcn.0104a6c7
cmp dword [ebx + 0xc8], 0
je 0x1049621
push 0xc00d28b1
jmp 0x1049615
push 0
push 0
push dword [ebp - 0xa8]
mov edi, 0xc00d3820
push edi
push 1
push 0x1002a80
call fcn.0104a6c7
cmp dword [ebx + 0xc8], 0
je 0x1049621
push 0xc00d28a1
jmp 0x1049615
push 0
push 0
push dword [ebp - 0xa8]
mov edi, 0xc00d381f
push edi
push 1
push 0x1002a80
call fcn.0104a6c7
cmp dword [ebx + 0xc8], 0
je 0x1049621
push 0xc00d28a0
jmp 0x1049615
push 0
push 0
push dword [ebp - 0xa8]
mov edi, 0xc00d3823
push edi
push 1
push 0x1002a80
call fcn.0104a6c7
cmp dword [ebx + 0xc8], 0
je 0x1049621
push 0xc00d2767
jmp 0x1049615
push 0
mov edi, 0xc00d381e
push dword [ebp - 0xa8]
push dword [ebp - 0xb0]
push edi
push 1
push 0x1002a80
call fcn.0104a6c7
cmp dword [ebx + 0xc8], 0
je 0x1049621
push dword [ebp - 0xa4]
mov ecx, dword [0x10efc9c]
push edi
call fcn.0102d817
mov ecx, dword [ebp - 0xb0]
add ecx, 0xfffffff0
mov byte [ebp - 4], 8
call fcn.010280a5
jmp 0x104964e
push edi
push edi
push dword [ebp - 0xa8]
push 0x400d3781
push 4
push 0x1002a80
call fcn.0104a6c7
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10ed030]
xor edi, edi
cmp esi, edi
jge 0x1049672
push esi
call fcn.0105769b
mov ecx, dword [0x10ed030]
cmp ecx, 0x10ed030
je 0x10496a8
test byte [ecx + 0x1c], 1
je 0x10496a8
movzx eax, byte [ecx + 0x19]
xor edx, edx
cmp esi, edi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp eax, edx
jl 0x10496a8
push esi
push 0x1004d20
push 0x60
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01027ecb
mov eax, dword [ebp - 0xb8]
mov byte [ebp - 4], 7
cmp eax, edi
je 0x10496bc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xbc]
mov byte [ebp - 4], 6
cmp eax, edi
je 0x10496d0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xdc]
mov byte [ebp - 4], 5
cmp eax, edi
je 0x10496e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xd8]
mov byte [ebp - 4], 4
cmp eax, edi
je 0x10496f8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc8]
mov byte [ebp - 4], 3
cmp eax, edi
je 0x104970c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xcc]
mov byte [ebp - 4], 2
cmp eax, edi
je 0x1049720
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc0]
mov byte [ebp - 4], 1
cmp eax, edi
je 0x1049734
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xa8]
add ecx, 0xfffffff0
call fcn.010280a5
mov ecx, dword [ebp - 0xd0]
add ecx, 0xfffffff0
call fcn.010280a5
mov eax, esi
call fcn.010a0c51
ret 0xc