Function at 0x104806a
Capabilities:
Parse pe header

Disassembly:
push 0xe4
mov eax, 0x10dbbdc
call fcn.010a0cd3
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 0x10480c8
test byte [eax + 0x1c], 1
je 0x10480c8
cmp byte [eax + 0x19], 5
jb 0x10480c8
push edx
push ecx
push 0x1004e08
push 0x3f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cb22
mov edi, 0x10f1178
xor esi, esi
push edi
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xa4], esi
call fcn.0102847f
and dword [ebp - 4], esi
push edi
lea ecx, [ebp - 0xa8]
call fcn.0102847f
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 0x1048191
call fcn.0103afc0
jmp 0x10481be
mov esi, 0x80040378
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x10481be
test byte [eax + 0x1c], 2
je 0x10481be
cmp byte [eax + 0x19], 2
jb 0x10481be
push esi
push 0x1004e08
push 0x40
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
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 0x1048f7c
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 0x10482f9
cmp dword [0x10efc7c], edx
je 0x1048252
mov al, byte [0x10efc80]
cmp al, 4
jae 0x1048218
test al, al
jne 0x1048252
mov ecx, dword [0x10efc6c]
and ecx, edi
xor eax, eax
or eax, ecx
je 0x1048252
mov ecx, dword [0x10efc74]
mov eax, ecx
and eax, edi
cmp edx, dword [0x10efc70]
jne 0x1048252
cmp eax, ecx
jne 0x1048252
push 0x1001ca8
push dword [0x10efc54]
push dword [0x10efc50]
call fcn.0102c784
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.0103bb59
cmp dword [0x10efc7c], 0
mov esi, eax
je 0x10482d2
mov al, byte [0x10efc80]
cmp al, 4
jae 0x1048296
test al, al
jne 0x10482d2
mov ecx, dword [0x10efc6c]
and ecx, edi
xor eax, eax
or eax, ecx
je 0x10482d2
mov ecx, dword [0x10efc74]
mov eax, ecx
xor edx, edx
and eax, edi
cmp edx, dword [0x10efc70]
jne 0x10482d2
cmp eax, ecx
jne 0x10482d2
push 0x1001cb8
push dword [0x10efc54]
push dword [0x10efc50]
call fcn.0102c784
cmp esi, 0x800403c9
jne 0x1048326
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048326
test byte [eax + 0x1c], 2
je 0x1048326
cmp byte [eax + 0x19], 2
jb 0x1048326
push esi
push 0x1004e08
push 0x41
jmp 0x104831b
mov esi, 0x80040378
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048326
test byte [eax + 0x1c], 2
je 0x1048326
cmp byte [eax + 0x19], 2
jb 0x1048326
push esi
push 0x1004e08
push 0x42
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
jl 0x1048f7c
cmp dword [ebp - 0xd4], 0
jne 0x1048376
mov esi, 0x800403fa
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048f7c
test byte [eax + 0x1c], 2
je 0x1048f7c
cmp byte [eax + 0x19], 2
jb 0x1048f7c
push esi
push 0x1004e08
push 0x43
jmp 0x1048889
cmp dword [ebp - 0xb0], 0
jne 0x10483b8
mov esi, 0x80040208
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048f7c
test byte [eax + 0x1c], 2
je 0x1048f7c
cmp byte [eax + 0x19], 2
jb 0x1048f7c
push esi
push 0x1004e08
push 0x44
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
test esi, esi
jl 0x1048f7c
push dword [ebp - 0xb0]
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x104840a
test byte [eax + 0x1c], 2
je 0x104840a
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 0x104840a
push esi
push 0x1004e08
push 0x45
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
mov eax, dword [0x10ed030]
test esi, esi
jge 0x1048442
mov dword [ebp - 0xa4], esi
mov esi, 0x800403fe
cmp eax, ebx
je 0x1048f7c
test byte [eax + 0x1c], 2
je 0x1048f7c
cmp byte [eax + 0x19], 2
jb 0x1048f7c
push esi
push 0x1004e08
push 0x46
jmp 0x1048889
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x1048571
call fcn.010da154
test al, al
jne 0x1048571
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 0x1048536
cmp dword [0x10efc7c], edx
je 0x10484cd
mov al, byte [0x10efc80]
cmp al, 4
jae 0x1048492
test al, al
jne 0x10484cd
mov ecx, dword [0x10efc6c]
and ecx, edi
xor eax, eax
or eax, ecx
je 0x10484cd
mov ecx, dword [0x10efc74]
mov eax, ecx
and eax, edi
cmp edx, dword [0x10efc70]
jne 0x10484cd
cmp eax, ecx
jne 0x10484cd
push edx
push 0x1001d28
push dword [0x10efc54]
push dword [0x10efc50]
call fcn.01083da0
mov ecx, dword [0x10efc9c]
lea eax, [ebp - 0xc0]
push eax
call fcn.0102f61f
cmp dword [0x10efc7c], 0
mov esi, eax
je 0x1048563
mov al, byte [0x10efc80]
cmp al, 4
jae 0x10484f7
test al, al
jne 0x1048563
mov ecx, dword [0x10efc6c]
and ecx, edi
xor eax, eax
or eax, ecx
je 0x1048563
mov ecx, dword [0x10efc74]
mov eax, ecx
xor edx, edx
and eax, edi
cmp edx, dword [0x10efc70]
jne 0x1048563
cmp eax, ecx
jne 0x1048563
push esi
push 0x1001d38
push dword [0x10efc54]
push dword [0x10efc50]
call fcn.01083da0
jmp 0x1048563
mov esi, 0x80040378
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048563
test byte [eax + 0x1c], 2
je 0x1048563
cmp byte [eax + 0x19], 2
jb 0x1048563
push esi
push 0x1004e08
push 0x48
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10485b4
mov dword [ebp - 0xa4], 0xc00d2767
mov esi, 0x80040378
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048f7c
test byte [eax + 0x1c], 2
je 0x1048f7c
cmp byte [eax + 0x19], 2
jb 0x1048f7c
push esi
push 0x1004e08
push 0x47
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
test esi, esi
jl 0x1048f7c
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
lea edx, [ebp - 0xdc]
push edx
push 0x1004e28
push eax
call dword [ecx]
mov esi, eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048612
test byte [eax + 0x1c], 2
je 0x1048612
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 0x1048612
push dword [ebp - 0xdc]
push esi
push 0x1004e08
push 0x49
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cb22
test esi, esi
jl 0x1048f7c
cmp dword [0x10efc7c], 0
je 0x104866d
mov al, byte [0x10efc80]
cmp al, 4
jae 0x1048630
test al, al
jne 0x104866d
mov ecx, dword [0x10efc6c]
and ecx, edi
xor eax, eax
or eax, ecx
je 0x104866d
mov ecx, dword [0x10efc74]
mov eax, ecx
xor edx, edx
and eax, edi
cmp edx, dword [0x10efc70]
jne 0x104866d
cmp eax, ecx
jne 0x104866d
push edx
push 0x1001d48
push dword [0x10efc54]
push dword [0x10efc50]
call fcn.01083da0
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 0x10486e5
mov al, byte [0x10efc80]
cmp al, 4
jae 0x10486a8
test al, al
jne 0x10486e5
mov ecx, dword [0x10efc6c]
and ecx, edi
xor eax, eax
or eax, ecx
je 0x10486e5
mov ecx, dword [0x10efc74]
mov eax, ecx
xor edx, edx
and eax, edi
cmp edx, dword [0x10efc70]
jne 0x10486e5
cmp eax, ecx
jne 0x10486e5
push esi
push 0x1001d58
push dword [0x10efc54]
push dword [0x10efc50]
call fcn.01083da0
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048721
test byte [eax + 0x1c], 2
je 0x1048721
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 0x1048721
push esi
push 0x1004e08
push 0x4a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
mov eax, dword [0x10ed030]
test esi, esi
jge 0x1048759
mov dword [ebp - 0xa4], esi
mov esi, 0x800403fa
cmp eax, ebx
je 0x1048f7c
test byte [eax + 0x1c], 2
je 0x1048f7c
cmp byte [eax + 0x19], 2
jb 0x1048f7c
push esi
push 0x1004e08
push 0x4b
jmp 0x1048889
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 0x10487b0
test byte [eax + 0x1c], 2
je 0x10487b0
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 0x10487b0
push dword [ebp - 0xe0]
push esi
push 0x1004e08
push 0x4c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cb22
mov eax, dword [0x10ed030]
test esi, esi
jl 0x10487bd
cmp dword [ebp - 0xe0], 0
jne 0x10487f7
mov dword [ebp - 0xa4], esi
mov esi, 0x800403fa
cmp eax, ebx
je 0x1048f7c
test byte [eax + 0x1c], 2
je 0x1048f7c
cmp byte [eax + 0x19], 2
jb 0x1048f7c
push esi
push 0x1004e08
push 0x4d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
test esi, esi
jl 0x1048f7c
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 0x1048856
test byte [eax + 0x1c], 2
je 0x1048856
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 0x1048856
push dword [ebp - 0xe4]
push esi
push 0x1004e08
push 0x4e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cb22
mov eax, dword [0x10ed030]
test esi, esi
jge 0x1048899
mov dword [ebp - 0xa4], esi
mov esi, 0x800403fa
cmp eax, ebx
je 0x1048f7c
test byte [eax + 0x1c], 2
je 0x1048f7c
cmp byte [eax + 0x19], 2
jb 0x1048f7c
push esi
push 0x1004e08
push 0x4f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
jmp 0x1048f7c
cmp dword [0x10efc7c], 0
je 0x10488ec
mov al, byte [0x10efc80]
cmp al, 4
jae 0x10488af
test al, al
jne 0x10488ec
mov ecx, dword [0x10efc6c]
and ecx, edi
xor eax, eax
or eax, ecx
je 0x10488ec
mov ecx, dword [0x10efc74]
mov eax, ecx
xor edx, edx
and eax, edi
cmp edx, dword [0x10efc70]
jne 0x10488ec
cmp eax, ecx
jne 0x10488ec
push edx
push 0x1001d08
push dword [0x10efc54]
push dword [0x10efc50]
call fcn.01083da0
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 0x1048973
mov al, byte [0x10efc80]
cmp al, 4
jae 0x1048931
test al, al
jne 0x1048973
mov ecx, dword [0x10efc6c]
mov edx, 0x80000000
and ecx, edx
xor eax, eax
or eax, ecx
je 0x1048973
mov ecx, dword [0x10efc74]
mov eax, ecx
and eax, edx
xor edx, edx
cmp edx, dword [0x10efc70]
jne 0x1048973
cmp eax, ecx
jne 0x1048973
push esi
push 0x1001d18
push dword [0x10efc54]
push dword [0x10efc50]
call fcn.01083da0
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x10489af
test byte [eax + 0x1c], 2
je 0x10489af
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 0x10489af
push esi
push 0x1004e08
push 0x50
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
mov eax, dword [0x10ed030]
mov ecx, 0x80070057
cmp esi, ecx
jne 0x10489f2
mov dword [ebp - 0xa4], ecx
mov esi, 0x800403fa
cmp eax, ebx
je 0x1048f7c
test byte [eax + 0x1c], 2
je 0x1048f7c
cmp byte [eax + 0x19], 2
jb 0x1048f7c
push esi
push 0x1004e08
push 0x51
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
test esi, esi
jl 0x1048f7c
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 0x1048a41
test byte [eax + 0x1c], 2
je 0x1048a41
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 0x1048a41
push esi
push 0x1004e08
push 0x52
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
test esi, esi
jl 0x1048f7c
mov eax, dword [ebp - 0xd8]
mov esi, dword [eax]
lea ecx, [ebp - 0xd0]
mov edi, eax
add esi, 0x24
call fcn.0103eb58
push eax
mov ecx, 0x10efca0
call fcn.0103eb58
push eax
push edi
call dword [esi]
mov esi, eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048aa9
test byte [eax + 0x1c], 2
je 0x1048aa9
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 0x1048aa9
push esi
push 0x1004e08
push 0x53
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
test esi, esi
jl 0x1048f7c
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
lea edx, [ebp - 0xbc]
push edx
push 0x1004e18
push eax
call dword [ecx]
mov esi, eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048b07
test byte [eax + 0x1c], 2
je 0x1048b07
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 0x1048b07
push dword [ebp - 0xbc]
push esi
push 0x1004e08
push 0x54
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cb22
test esi, esi
jl 0x1048f7c
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 0x1048ba3
push dword [eax + 0x28]
lea ecx, [ebp - 0xd0]
push ecx
push dword [ebp - 0xbc]
mov ecx, dword [eax + 0x2c]
call fcn.01064dbd
push eax
lea ecx, [ebp - 0xb8]
call fcn.01073db7
cmp dword [ebp - 0xb8], 0
jne 0x1048b64
mov esi, 0x8007000e
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048bd0
test byte [eax + 0x1c], 2
je 0x1048bd0
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 0x1048bd0
push dword [ebp - 0xb8]
push esi
push 0x1004e08
push 0x55
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cb22
jmp 0x1048bd0
mov esi, 0x80040378
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048bd0
test byte [eax + 0x1c], 2
je 0x1048bd0
cmp byte [eax + 0x19], 2
jb 0x1048bd0
push esi
push 0x1004e08
push 0x56
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
jl 0x1048f7c
push 2
pop eax
cmp ax, word [ebp - 0xa0]
je 0x1048c3a
push 0x17
pop eax
cmp ax, word [ebp - 0xa0]
je 0x1048c3a
mov esi, 0x80070057
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048f7c
test byte [eax + 0x1c], 2
je 0x1048f7c
cmp byte [eax + 0x19], 2
jb 0x1048f7c
push dword [ebp - 0xa0]
push 0x1004e08
push 0x57
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01046e23
test esi, esi
jl 0x1048f7c
push 0x2828
call dword [sym.imp.WSOCK32.dll_htons]
cmp dword [0x10efc7c], 0
mov word [ebp - 0x9e], ax
je 0x1048cae
mov al, byte [0x10efc80]
cmp al, 4
jae 0x1048c6a
test al, al
jne 0x1048cae
mov ecx, dword [0x10efc6c]
mov edi, 0x80000000
and ecx, edi
xor eax, eax
xor edx, edx
or eax, ecx
je 0x1048cb3
mov ecx, dword [0x10efc74]
mov eax, ecx
and eax, edi
cmp edx, dword [0x10efc70]
jne 0x1048cb3
cmp eax, ecx
jne 0x1048cb3
push edx
push 0x1001d68
push dword [0x10efc54]
push dword [0x10efc50]
call fcn.01083da0
jmp 0x1048cb3
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 0x1048d3d
mov al, byte [0x10efc80]
cmp al, 4
jae 0x1048d00
test al, al
jne 0x1048d3d
mov ecx, dword [0x10efc6c]
and ecx, edi
xor eax, eax
or eax, ecx
je 0x1048d3d
mov ecx, dword [0x10efc74]
mov eax, ecx
xor edx, edx
and eax, edi
cmp edx, dword [0x10efc70]
jne 0x1048d3d
cmp eax, ecx
jne 0x1048d3d
push esi
push 0x1001d78
push dword [0x10efc54]
push dword [0x10efc50]
call fcn.01083da0
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1048d74
test byte [eax + 0x1c], 2
je 0x1048d74
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 0x1048d74
push esi
push 0x1004e08
push 0x58
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
test esi, esi
jl 0x1048f7c
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 0x1048dc8
test byte [eax + 0x1c], 2
je 0x1048dc8
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 0x1048dc8
push esi
push 0x1004e08
push 0x59
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
test esi, esi
jl 0x1048f7c
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 0x1048e1c
test byte [eax + 0x1c], 2
je 0x1048e1c
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 0x1048e1c
push esi
push 0x1004e08
push 0x5a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
test esi, esi
jl 0x1048f7c
lea eax, [ebp - 0xc4]
push eax
push dword [ebp - 0xe8]
push dword [ebp - 0xec]
call fcn.01047025
mov esi, eax
test esi, esi
jl 0x1048f7c
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 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 0x1004e08
push 0x5b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
test esi, esi
jl 0x1048f7c
mov esi, dword [ebp - 0xac]
add esi, 0x94
mov eax, dword [esi]
test eax, eax
je 0x1048ec6
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 0x1048f0b
test byte [eax + 0x1c], 2
je 0x1048f0b
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 0x1048f0b
push esi
push 0x1004e08
push 0x5c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
test esi, esi
jl 0x1048f7c
mov esi, dword [ebp - 0xac]
add esi, 0x98
mov eax, dword [esi]
test eax, eax
je 0x1048f2b
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 0x1048f74
test byte [ecx + 0x1c], 2
je 0x1048f74
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 0x1048f74
push esi
push 0x1004e08
push 0x5d
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010294b2
mov ecx, dword [0x10ed030]
test esi, esi
jge 0x104904c
push dword [ebp - 0xb0]
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [0x10ed030]
mov edi, 0x10ed030
cmp ecx, edi
je 0x1048fcb
test byte [ecx + 0x1c], 2
je 0x1048fcb
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 0x1048fcb
push eax
push 0x1004e08
push 0x5e
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010294b2
mov ecx, dword [0x10ed030]
mov eax, 0xc00d28b1
cmp esi, eax
jne 0x1048fdc
mov dword [ebp - 0xa4], eax
jmp 0x104901e
mov eax, 0xc00d28a1
cmp esi, eax
jne 0x1048ff2
mov dword [ebp - 0xa4], eax
mov esi, 0x800403fb
jmp 0x1049023
mov eax, 0xc00d28a0
cmp esi, eax
jne 0x1049008
mov dword [ebp - 0xa4], eax
mov esi, 0x800403fa
jmp 0x1049023
cmp esi, 0x8007000e
je 0x1049018
cmp esi, 0x80004005
jne 0x1049023
mov dword [ebp - 0xa4], esi
mov esi, 0x800403fe
cmp ecx, edi
je 0x104904c
test byte [ecx + 0x1c], 2
je 0x104904c
cmp byte [ecx + 0x19], 2
jb 0x104904c
push esi
push 0x1004e08
push 0x5f
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010294b2
mov ecx, dword [0x10ed030]
xor edi, edi
cmp dword [ebp - 0xc4], edi
je 0x104906e
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 0x1049269
cmp esi, 0x800403c9
je 0x1049269
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 0x104923c
mov edi, dword [ebp - 0xa4]
test edi, edi
jne 0x10490bc
mov edi, esi
mov dword [ebp - 0xa4], edi
push 0x10f1178
lea ecx, [ebp - 0xb0]
call fcn.0102847f
push edi
lea eax, [ebp - 0xb0]
push 0x10036a8
push eax
mov byte [ebp - 4], 9
call fcn.0102ad35
add esp, 0xc
cmp edi, 0x80040208
je 0x10491ed
cmp edi, 0xc00d2767
je 0x10491c1
cmp edi, 0xc00d28a0
je 0x1049195
cmp edi, 0xc00d28a1
je 0x1049162
cmp edi, 0xc00d28b0
je 0x10491ed
push 0
cmp edi, 0xc00d28b1
je 0x1049131
mov edi, 0xc00d3822
jmp 0x10491f4
push 0
push dword [ebp - 0xa8]
mov edi, 0xc00d3821
push edi
push 1
push 0x1002a80
call fcn.0104a2d1
cmp dword [ebx + 0xc8], 0
je 0x1049228
push 0xc00d28b1
jmp 0x104921c
push 0
push 0
push dword [ebp - 0xa8]
mov edi, 0xc00d3820
push edi
push 1
push 0x1002a80
call fcn.0104a2d1
cmp dword [ebx + 0xc8], 0
je 0x1049228
push 0xc00d28a1
jmp 0x104921c
push 0
push 0
push dword [ebp - 0xa8]
mov edi, 0xc00d381f
push edi
push 1
push 0x1002a80
call fcn.0104a2d1
cmp dword [ebx + 0xc8], 0
je 0x1049228
push 0xc00d28a0
jmp 0x104921c
push 0
push 0
push dword [ebp - 0xa8]
mov edi, 0xc00d3823
push edi
push 1
push 0x1002a80
call fcn.0104a2d1
cmp dword [ebx + 0xc8], 0
je 0x1049228
push 0xc00d2767
jmp 0x104921c
push 0
mov edi, 0xc00d381e
push dword [ebp - 0xa8]
push dword [ebp - 0xb0]
push edi
push 1
push 0x1002a80
call fcn.0104a2d1
cmp dword [ebx + 0xc8], 0
je 0x1049228
push dword [ebp - 0xa4]
mov ecx, dword [0x10efc9c]
push edi
call fcn.0102d8fa
mov ecx, dword [ebp - 0xb0]
add ecx, 0xfffffff0
mov byte [ebp - 4], 8
call fcn.01028079
jmp 0x1049255
push edi
push edi
push dword [ebp - 0xa8]
push 0x400d3781
push 4
push 0x1002a80
call fcn.0104a2d1
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10ed030]
xor edi, edi
cmp esi, edi
jge 0x1049279
push esi
call fcn.0105721b
mov ecx, dword [0x10ed030]
cmp ecx, 0x10ed030
je 0x10492af
test byte [ecx + 0x1c], 1
je 0x10492af
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 0x10492af
push esi
push 0x1004e08
push 0x60
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010294b2
mov eax, dword [ebp - 0xb8]
mov byte [ebp - 4], 7
cmp eax, edi
je 0x10492c3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xbc]
mov byte [ebp - 4], 6
cmp eax, edi
je 0x10492d7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xdc]
mov byte [ebp - 4], 5
cmp eax, edi
je 0x10492eb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xd8]
mov byte [ebp - 4], 4
cmp eax, edi
je 0x10492ff
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc8]
mov byte [ebp - 4], 3
cmp eax, edi
je 0x1049313
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xcc]
mov byte [ebp - 4], 2
cmp eax, edi
je 0x1049327
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc0]
mov byte [ebp - 4], 1
cmp eax, edi
je 0x104933b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xa8]
add ecx, 0xfffffff0
call fcn.01028079
mov ecx, dword [ebp - 0xd0]
add ecx, 0xfffffff0
call fcn.01028079
mov eax, esi
call fcn.010a0d65
ret 0xc