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

Disassembly:
sub esp, 0x3e0
mov eax, dword [0x10bf094]
xor eax, esp
mov dword [esp + 0x3dc], eax
mov eax, dword [0x10c0440]
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
jl 0x10921fc
cmp eax, dword [0x10c0450]
jg 0x10921fc
mov ebp, 1
cmp dword [0x10e22e6], ebp
jne 0x1091b70
mov ebx, dword [0x10e2020]
mov dword [0x10e1ff0], edi
mov esi, 0x10e1ff8
mov edi, 0x10e22d0
call fcn.01094400
test eax, eax
je 0x1091b60
mov dword [0x10e1ff0], ebp
call dword [0x10b512c]
push 0x3e8
mov dword [0x10e20ec], eax
call dword [0x10b5140]
jmp 0x109223a
push 0x1388
call dword [0x10b5140]
jmp 0x109223a
push 0x10e2178
mov ecx, 0x10c0450
call fcn.01093100
test eax, eax
je 0x10921e2
mov edx, dword [0x10c0f70]
mov eax, dword [0x10c0f68]
mov ecx, dword [0x10c0f6c]
push 0x3c6
mov dword [0x10e2280], edx
mov dword [0x10e2278], eax
mov eax, dword [0x10c0f74]
mov dword [0x10e227c], ecx
mov ecx, dword [0x10c0ee4]
lea edx, [esp + 0x24]
push edi
push edx
mov dword [0x10e2284], eax
mov dword [0x10e20f4], ecx
call fcn.010a4250
mov eax, dword [0x10e1ff0]
add esp, 0xc
cmp eax, ebp
jne 0x1091c93
xor eax, eax
movzx ecx, word [eax + 0x10e1ff4]
mov word [esp + eax + 0xd2], cx
add eax, 2
cmp cx, di
jne 0x1091be1
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [eax + 0x10e2042]
mov word [esp + eax + 0x112], cx
add eax, 2
cmp cx, di
jne 0x1091c00
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x10e2024]
mov word [esp + eax + 0xd6], cx
add eax, 2
cmp cx, di
jne 0x1091c20
mov cl, byte [0x10bcc8c]
mov eax, dword [0x10bcc88]
mov byte [0x10d1ff4], cl
mov dword [0x10d1ff0], eax
mov ecx, 0xf1
lea esi, [esp + 0x20]
mov edi, 0x10d1ff4
rep movsd dword es:[edi], dword [esi]
push ebp
movsw word es:[edi], word [esi]
push 0x10d1ff0
mov esi, 0x10e22d0
mov dword [0x10c0448], 0x3ca
call fcn.01094500
mov dword [0x10e1ff0], 2
call dword [0x10b512c]
mov dword [0x10e20ec], eax
jmp 0x109223a
cmp eax, 2
jne 0x1091ccd
mov esi, dword [0x10b512c]
call esi
sub eax, dword [0x10e20ec]
cmp eax, 0x1388
jbe 0x109223a
mov dword [0x10e1ff0], edi
call esi
mov esi, 0x10e22d0
mov dword [0x10e20ec], eax
call fcn.010944d0
jmp 0x109223a
cmp eax, 3
jne 0x1091e75
mov esi, dword [0x10b512c]
call esi
sub eax, dword [0x10e20ec]
cmp eax, 0x3e8
jbe 0x109223a
cmp dword [0x10c0440], 6
mov eax, 0xb4
lea ecx, [eax - 0x32]
jne 0x1091d0a
mov eax, 0x320
mov ecx, 0x32
mov edx, dword [0x10e2278]
push ecx
mov ecx, dword [0x10e227c]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [0x10e2280]
mov dword [eax + 4], ecx
mov ecx, dword [0x10e2284]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, 0x10c0450
call fcn.01093170
test eax, eax
je 0x1091dc8
mov eax, dword [0x10c0440]
cmp eax, 5
ja 0x1091da4
push 0x10bccbc
push 0x10c0f78
call fcn.010a263b
add esp, 8
test eax, eax
je 0x1091d88
xor eax, eax
jmp 0x1091d70
movzx ecx, word [eax + 0x10c0f78]
mov word [eax + 0x10e21f8], cx
add eax, 2
cmp cx, di
jne 0x1091d70
jmp 0x1091de6
push 0x10bccc4
push 0x10c0f78
call fcn.010a263b
add esp, 8
test eax, eax
je 0x1091de6
mov dword [esp + 0x38], ebp
jmp 0x1091de6
cmp eax, 6
jne 0x1091de6
xor eax, eax
jmp 0x1091db0
movzx ecx, word [eax + 0x10c0f78]
mov word [eax + 0x10e21f8], cx
add eax, 2
cmp cx, di
jne 0x1091db0
jmp 0x1091de6
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [eax + 0x10bcce8]
mov word [eax + 0x10e21f8], cx
add eax, 2
cmp cx, di
jne 0x1091dd0
call esi
mov edx, dword [0x10bccec]
mov dword [0x10e20ec], eax
mov al, byte [0x10bccf0]
mov byte [0x10d1ff4], al
mov dword [0x10d1ff0], edx
xor eax, eax
jmp 0x1091e10
movzx ecx, word [eax + 0x10e2178]
mov word [esp + eax + 0x3c], cx
add eax, 2
cmp cx, di
jne 0x1091e10
xor eax, eax
jmp 0x1091e30
movzx ecx, word [eax + 0x10e21f8]
mov word [esp + eax + 0x78], cx
add eax, 2
cmp cx, di
jne 0x1091e30
mov ecx, 0xf1
lea esi, [esp + 0x20]
mov edi, 0x10d1ff4
rep movsd dword es:[edi], dword [esi]
push ebp
movsw word es:[edi], word [esi]
push 0x10d1ff0
mov esi, 0x10e22d0
mov dword [0x10c0448], 0x3ca
call fcn.01094500
jmp 0x109223a
cmp eax, 4
jne 0x109223a
call dword [0x10b512c]
mov ecx, eax
mov eax, 0x3e8
cdq
idiv dword [0x10e20dc]
sub ecx, dword [0x10e20ec]
cmp ecx, eax
jbe 0x109223a
mov edx, dword [0x10e2280]
mov esi, dword [0x10e2278]
mov ebx, dword [0x10e227c]
mov dword [esp + 0x14], edi
mov edi, dword [0x10e2284]
mov eax, edx
mov ecx, edi
xor ebp, ebp
sub eax, esi
sub ecx, ebx
cmp dword [0x10c0440], 6
jne 0x1091ee3
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
xor eax, eax
jmp 0x1091f57
cmp dword [0x10c0440], 5
ja 0x1091f3e
cmp dword [0x10e20f0], 3
jne 0x1091f3e
mov al, byte [0x10bcd68]
mov edx, dword [0x10bcd64]
mov byte [0x10d1ff4], al
mov eax, dword [0x10e22c8]
mov dword [0x10d1ff0], edx
test eax, eax
je 0x109223a
push 0x10c0448
call eax
mov eax, dword [0x10e22cc]
add esp, 4
test eax, eax
je 0x109223a
push 0x10d1ff4
call eax
add esp, 4
jmp 0x10921a6
mov esi, dword [esp + 0x14]
sub esp, 0x10
mov edx, esp
mov dword [edx], ebp
mov dword [edx + 4], esi
mov dword [edx + 8], eax
mov eax, dword [0x10e20f4]
mov dword [edx + 0xc], ecx
push 0x10e22a8
call fcn.010938d0
test eax, eax
je 0x109223a
mov esi, dword [0x10e22a8]
test esi, esi
je 0x109223a
mov eax, dword [0x10c0440]
test eax, eax
jne 0x1091fb8
push 0xd0
push 0x140
push eax
push 0x10e
push esi
push 0x10e2290
call fcn.01092c70
push 0x14
push 0
push 0xbc
push 0x140
push 0x21c
mov edx, 0x104
jmp 0x1092157
cmp eax, 1
jne 0x1091ff3
push 0xd0
push 0x140
push 0
push 0x64
push esi
push 0x10e2290
call fcn.01092c70
push 0x14
push 0
push 0xbc
push 0x140
push 0x203
mov edx, 0xe6
jmp 0x1092157
cmp eax, 2
je 0x1092126
cmp eax, 3
je 0x1092126
cmp eax, 4
jne 0x1092060
push 0xad
push 0x140
push 6
push 0x10e
push esi
push 0x10e2290
call fcn.01092c70
push 0
push 0xf0
push 0x14
push 0x50
push 6
push esi
mov edx, 0x2a8
mov ebx, 0x10e2290
call fcn.01092e00
push 0x14
push 0
push 0x9b
push 0x140
push 0x24e
mov edx, 0x14a
jmp 0x1092157
cmp eax, 5
jne 0x10920bb
push 0xd0
push 0x140
push 0
push 0x69
push esi
push 0x10e2290
call fcn.01092c70
push 0
push 0x8c
push 0x14
push 0xb4
push 0
push esi
mov edx, 0x1b3
mov ebx, 0x10e2290
call fcn.01092e00
push 0x14
push 0
push 0xbc
push 0x140
push 0x1ea
mov edx, 0xe6
jmp 0x1092157
cmp eax, 6
jne 0x10920f3
push 0xdc
push 0x190
push 0
push 0x5a
push esi
push 0x10e2290
call fcn.01092c70
push 0x17
push 0
push 0xc5
push 0x190
push 0x226
mov edx, 0xfa
jmp 0x1092157
push 0xc8
push 0x154
push 0
push 0x78
push esi
push 0x10e2290
call fcn.01092c70
push 0x1e
push 0
push 0xaa
push 0x154
push 0x226
mov edx, 0x14a
jmp 0x1092157
push 0xbc
push 0x140
push 0
push 0x6e
push esi
push 0x10e2290
call fcn.01092c70
push 0x14
push 0
push 0xa8
push 0x140
push 0x186
mov edx, 0x82
push esi
mov ebx, 0x10e2290
call fcn.01092e00
mov edx, dword [0x10bce6c]
mov al, byte [0x10bce70]
mov ecx, dword [0x10e20e4]
push 0x10c0448
push 0x10d1ff4
mov dword [0x10d1ff0], edx
mov edx, dword [0x10e2294]
push ecx
mov byte [0x10d1ff4], al
mov eax, dword [0x10e2290]
push edx
push eax
call fcn.01098c90
add esp, 0x14
test eax, eax
jne 0x109223a
mov ecx, dword [0x10c0448]
dec ecx
cmp ecx, 0xfffa
ja 0x109223a
add dword [0x10c0448], 4
push 0
push 0x10d1ff0
mov esi, 0x10e22d0
call fcn.01094500
test eax, eax
je 0x109223a
call dword [0x10b512c]
mov dword [0x10e20ec], eax
jmp 0x109223a
mov dword [0x10e2278], edi
mov dword [0x10e227c], edi
mov dword [0x10e2280], edi
mov dword [0x10e2284], edi
jmp 0x109223a
mov dword [0x10e1ff0], edi
call dword [0x10b512c]
cmp dword [0x10e22e6], 3
mov dword [0x10e20ec], eax
jl 0x109223a
mov eax, dword [0x10e22e2]
cmp eax, edi
je 0x1092230
push eax
call dword [fcn.010b5264]
test eax, eax
jne 0x1092230
mov dword [0x10e22e2], edi
mov dword [0x10e22e6], 1
mov ecx, dword [esp + 0x3ec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.010a1ee8
add esp, 0x3e0
ret