Function at 0x12f81a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x70]
mov eax, dword [edi + 0x28]
mov dword [esp + 0x70], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x78], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0x7c], eax
inc dword [eax]
lea eax, [ebp + 0xc]
push eax
mov dword [esp + 0x40], edi
call fcn.000f510d
mov eax, dword [ebp + 8]
push dword [esp + 0x70]
mov eax, dword [eax + 8]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x18], eax
call fcn.000fce19
mov ecx, dword [edi + 0x3c]
lea eax, [esp + 0x58]
push eax
call fcn.000f1caa
mov esi, eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x30], esi
call fcn.000fcb37
xor ebx, ebx
test esi, esi
je 0x12fe3d
cmp byte [esi + 0x20], bl
je 0x12fd01
mov ecx, dword [edi + 0x3c]
mov eax, dword [esi + 0x10]
mov dword [ecx + 0xf4], eax
push dword [esi + 0x10]
mov dword [esp + 0x38], ebx
call fcn.000f5e48
mov edx, dword [esp + 0x14]
mov ecx, edx
shl ecx, 4
mov dword [esp + 0xc], eax
mov eax, ebx
push 4
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x5c], 0x18dc50
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
pop esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x80], 0x18dc4c
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x40], 0x18dc04
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x68], 0x47
mov dword [esp + 0x6c], 0x48
mov dword [esp + 0x38], 0x40
mov ecx, ebx
mov eax, dword [esp + 0x30]
cmp ecx, dword [eax + 0x14]
jl 0x12f955
cmp ecx, edx
jge 0x12fa68
mov byte [esp + 0x13], bl
cmp ecx, dword [eax + 0x14]
jge 0x12fa1c
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
lea ecx, [eax + esi*4]
jmp 0x12f9a6
mov eax, dword [ecx + 4]
cmp word [eax + 8], 0x33
je 0x12f98b
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov eax, dword [eax]
cmp eax, dword [edi]
mov edi, dword [esp + 0x3c]
je 0x12fcb4
mov eax, dword [ecx]
cmp dword [eax], 0x24
jne 0x12f999
mov byte [esp + 0x13], 1
jmp 0x12f9a2
cmp dword [eax], 0x1e
jne 0x12fcb4
inc esi
add ecx, 4
mov eax, dword [ecx]
cmp word [eax + 8], bx
je 0x12f96e
mov ecx, dword [esp + 0xc]
inc esi
mov eax, dword [ecx + 4]
mov eax, dword [eax + esi*4]
cmp word [eax + 8], 0x41
jne 0x12f9eb
mov edi, dword [esp + 0xc]
inc esi
mov eax, dword [edi + 4]
mov ecx, ebx
lea edi, [eax + esi*4]
mov eax, dword [edi]
movzx eax, word [eax + 8]
cmp ax, word [esp + 0x68]
jne 0x12f9dd
inc ecx
jmp 0x12fa16
cmp ax, word [esp + 0x6c]
jne 0x12fa0b
dec ecx
jns 0x12fa16
mov edi, dword [esp + 0x3c]
cmp dword [esp + 0x34], edx
jge 0x12fa1c
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
add ecx, 0xfffffff0
add eax, ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00139dc5
jmp 0x12fa31
cmp ax, word [esp + 0x38]
jne 0x12fa16
test ecx, ecx
je 0x12f9e7
inc esi
add edi, 4
jmp 0x12f9cd
lea ecx, [esp + 0x20]
call fcn.00102c20
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], 1
lea eax, [esp + 0x13]
push eax
lea ecx, [esp + 0x84]
call fcn.0010c3c3
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x5c]
call fcn.0010c2d6
mov ecx, dword [esp + 0x34]
sub dword [esp + 0x18], 0x10
mov edx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x34], ecx
inc esi
jmp 0x12f944
push dword [eax + 0x10]
call fcn.000f2b4d
mov eax, dword [esp + 0x30]
push 4
cmp dword [eax + 0x14], 1
pop esi
mov dword [esp + 0x54], 1
jl 0x12fbc2
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], ebx
mov edx, dword [eax + 4]
lea ecx, [edx + esi*4]
jmp 0x12faba
mov eax, dword [ecx]
cmp dword [eax], 0x24
je 0x12fab6
cmp dword [eax], 0x1e
jne 0x12faba
mov eax, 0x100
mov dword [esp + 0x18], eax
inc esi
add ecx, 4
mov eax, dword [ecx]
cmp word [eax + 8], bx
je 0x12faa1
xor edi, edi
inc edi
mov ecx, ebx
lea edx, [edx + esi*4]
add edx, 4
mov eax, dword [edx]
movzx eax, word [eax + 8]
cmp ax, word [esp + 0x68]
jne 0x12fadd
inc ecx
jmp 0x12fb58
cmp ax, word [esp + 0x6c]
jne 0x12fb4d
dec ecx
jns 0x12fb58
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x3c]
cmp dword [esp + 0x54], eax
jle 0x12fb5e
mov ecx, dword [edi + 0x3c]
lea eax, [esi + 2]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
add eax, esi
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x18]
call fcn.000ffe30
test eax, eax
js 0x12fcd0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x40]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi*4]
push dword [eax]
call fcn.000f64cf
mov eax, dword [esp + 0x18]
push 1
or eax, 0x200
push eax
lea eax, [esp + 0x28]
push eax
jmp 0x12fb85
cmp ax, word [esp + 0x38]
jne 0x12fb58
test ecx, ecx
je 0x12fae7
inc edi
jmp 0x12faca
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x40]
mov eax, dword [eax + esi*4]
push dword [eax]
call fcn.000f64cf
mov eax, dword [esp + 0x18]
push 1
or eax, 0x200
push eax
mov eax, dword [esp + 0x24]
push dword [eax]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi*4]
push dword [eax]
call fcn.000fd6e9
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x54]
add dword [esp + 0x1c], 4
inc eax
add esi, eax
mov eax, dword [esp + 0x30]
inc edx
mov dword [esp + 0x54], edx
cmp edx, dword [eax + 0x14]
jle 0x12fa91
mov esi, dword [esp + 0x44]
mov dword [esp + 0x1c], esi
jmp 0x12fbc4
mov esi, ebx
lea ecx, [esp + 0x20]
call fcn.00102c20
lea eax, [edi + 0x40]
push str._COM_EVENTOBJ
lea ecx, [esp + 0x94]
mov dword [esp + 0x30], 6
mov dword [esp + 0x24], eax
call fcn.000fce19
mov eax, dword [esp + 0x2c]
sub eax, 6
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x20]
push 1
push ebx
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.000fd6e9
lea ecx, [esp + 0x90]
call fcn.000fcb37
mov eax, dword [esp + 0x30]
mov ecx, dword [edi + 0x3c]
mov eax, dword [eax + 0x10]
push ebx
push ebx
inc eax
push eax
call fcn.000f2aae
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x12fc83
mov eax, dword [esp + 0x84]
sub eax, esi
mov dword [esp + 0x38], eax
mov eax, dword [eax + esi]
cmp byte [eax], 0
je 0x12fc6e
sub ecx, ebx
sub esp, 0x10
lea esi, [ecx - 1]
shl esi, 4
add esi, dword [edx]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x2c]
push dword [esi]
call fcn.00130005
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
mov eax, dword [esp + 0x38]
inc ebx
add esi, 4
mov dword [esp + 0x1c], esi
cmp ebx, ecx
jb 0x12fc45
xor ebx, ebx
mov ecx, 0x1b20f0
call fcn.000fdde0
lea ecx, [esp + 0x40]
call fcn.000f53f2
lea ecx, [esp + 0x80]
call fcn.0012f6a5
lea ecx, [esp + 0x20]
call fcn.00102c20
lea ecx, [esp + 0x58]
jmp 0x12fe38
mov eax, dword [esp + 0xc]
mov ecx, dword [edi + 0x3c]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi*4]
movsx eax, word [eax + 0xa]
push eax
push 0x91
call fcn.0013cc5c
lea ecx, [esp + 0x40]
call fcn.000f53f2
lea ecx, [esp + 0x80]
call fcn.0012f6a5
lea ecx, [esp + 0x20]
call fcn.00102c20
lea ecx, [esp + 0x58]
call fcn.0012f68c
mov ebx, 0x80004005
jmp 0x12fe3d
mov ecx, dword [edi + 0x38]
cmp dword [ecx], 0x40
jne 0x12fd0e
call fcn.001301a4
lea esi, [edi + 0x40]
mov dword [esp + 0x40], 0x18dc50
cmp dword [esi + 0xc], 8
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 1
jne 0x12fd3f
mov eax, dword [esi]
jmp 0x12fd41
mov eax, ebx
mov eax, dword [eax + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
lea ecx, [esp + 0x20]
call fcn.00102c20
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x30], 6
mov dword [esp + 0x24], esi
call fcn.0010c2d6
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x94]
call fcn.000f9048
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x44]
call fcn.0010c2d6
lea ecx, [esp + 0x90]
call fcn.00102c20
mov edi, dword [esp + 0x14]
dec edi
js 0x12fdce
mov ebx, dword [ebp + 8]
mov esi, edi
shl esi, 4
mov eax, dword [ebx]
add eax, esi
push eax
lea ecx, [esp + 0x24]
call fcn.00139dc5
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x44]
call fcn.0010c2d6
sub esi, 0x10
dec edi
jns 0x12fdaa
xor ebx, ebx
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
mov eax, dword [eax + 0x14]
cmp eax, edi
jle 0x12fe1a
sub eax, edi
mov esi, ebx
test eax, eax
jle 0x12fe1a
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], 1
call fcn.0010c2d6
lea ecx, [esp + 0x58]
call fcn.00102c20
mov eax, dword [esp + 0x30]
inc esi
mov eax, dword [eax + 0x14]
sub eax, edi
cmp esi, eax
jl 0x12fde5
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x40]
mov ecx, dword [ecx + 0x38]
push eax
call fcn.001301c9
lea ecx, [esp + 0x20]
call fcn.00102c20
lea ecx, [esp + 0x40]
call fcn.0012f68c
lea ecx, [esp + 0x70]
call fcn.000fcb37
lea ecx, [ebp + 0xc]
call fcn.000fcb37
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x14