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

Disassembly:
sub esp, 0x40c
mov eax, dword [0x114f094]
xor eax, esp
mov dword [esp + 0x404], eax
mov eax, dword [0x11505b8]
push ebx
push ebp
xor ebp, ebp
cmp eax, ebp
push esi
push edi
jl 0x112333e
cmp eax, dword [0x11505c8]
jg 0x112333e
cmp dword [0x1172466], 1
jne 0x1122ab5
mov dword [0x1171f68], ebp
mov edi, 0x1172450
cmp eax, 9
jne 0x1122a66
lea ebx, [eax + 0x4a]
mov esi, 0x114ad74
jmp 0x1122a71
mov ebx, dword [0x1171f98]
mov esi, 0x1171f70
call fcn.01126d00
mov esi, eax
cmp esi, ebp
je 0x1122aa3
mov dword [0x1171f68], 1
call dword [0x1147138]
push 0x3e8
mov dword [0x1172064], eax
call dword [0x1147144]
mov eax, esi
jmp 0x112337e
push 0x1388
call dword [0x1147144]
mov eax, esi
jmp 0x112337e
push 0x11720f0
mov ecx, 0x11505c8
call fcn.011258b0
test eax, eax
je 0x1123324
mov edx, dword [0x11510e8]
mov eax, dword [0x11510e0]
mov ecx, dword [0x11510e4]
push 0x3c6
mov dword [0x11721f8], edx
mov dword [0x11721f0], eax
mov eax, dword [0x11510ec]
mov dword [0x11721f4], ecx
mov ecx, dword [0x115105c]
lea edx, [esp + 0x24]
push ebp
push edx
mov dword [0x11721fc], eax
mov dword [0x117206c], ecx
call fcn.01136830
mov eax, dword [0x1171f68]
add esp, 0xc
cmp eax, 1
jne 0x1122be4
xor eax, eax
jmp 0x1122b30
movzx ecx, word [eax + 0x1171f6c]
mov word [esp + eax + 0xd2], cx
add eax, 2
cmp cx, bp
jne 0x1122b30
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x1171fba]
mov word [esp + eax + 0x112], cx
add eax, 2
cmp cx, bp
jne 0x1122b50
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x1171f9c]
mov word [esp + eax + 0xd6], cx
add eax, 2
cmp cx, bp
jne 0x1122b70
mov cl, byte [0x114ad94]
mov eax, dword [0x114ad90]
mov byte [0x1161f6c], cl
mov dword [0x1161f68], eax
mov ecx, 0xf1
lea esi, [esp + 0x20]
mov edi, 0x1161f6c
rep movsd dword es:[edi], dword [esi]
push 1
movsw word es:[edi], word [esi]
push 0x1161f68
mov esi, 0x1172450
mov dword [0x11505c0], 0x3ca
call fcn.01126e00
mov dword [0x1171f68], 2
call dword [0x1147138]
mov dword [0x1172064], eax
jmp 0x112337c
cmp eax, 2
jne 0x1122c1e
mov esi, dword [0x1147138]
call esi
sub eax, dword [0x1172064]
cmp eax, 0x1388
jbe 0x112337c
mov dword [0x1171f68], ebp
call esi
mov esi, 0x1172450
mov dword [0x1172064], eax
call fcn.01126dd0
jmp 0x112337c
mov esi, 3
cmp eax, esi
jne 0x1122f8a
mov ebx, dword [0x1147138]
call ebx
sub eax, dword [0x1172064]
cmp eax, 0x7d0
jbe 0x112337c
cmp dword [0x11505b8], 6
mov eax, 0xb4
lea ecx, [esi + 0x7f]
jne 0x1122c5f
mov eax, 0x320
mov ecx, 0x32
mov edx, dword [0x11721f0]
push ecx
mov ecx, dword [0x11721f4]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [0x11721f8]
mov dword [eax + 4], ecx
mov ecx, dword [0x11721fc]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, 0x11505c8
call fcn.01125920
test eax, eax
je 0x1122da8
mov eax, dword [0x11505b8]
cmp eax, 5
ja 0x1122d02
push 0x114ad98
push 0x11510f0
call fcn.01135089
add esp, 8
test eax, eax
je 0x1122cdb
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [eax + 0x11510f0]
mov word [eax + 0x1172170], cx
add eax, 2
cmp cx, bp
jne 0x1122cc0
jmp 0x1122dc6
push 0x114ada0
push 0x11510f0
call fcn.01135089
add esp, 8
test eax, eax
je 0x1122dc6
mov dword [esp + 0x38], 1
jmp 0x1122dc6
cmp eax, 6
jne 0x1122d2b
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x11510f0]
mov word [eax + 0x1172170], cx
add eax, 2
cmp cx, bp
jne 0x1122d10
jmp 0x1122dc6
cmp eax, 9
jne 0x1122dc6
mov edx, 0x114adac
mov ecx, 0x11510f0
mov edi, edi
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x1122d66
cmp ax, bp
je 0x1122d62
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x1122d66
add ecx, 4
add edx, 4
cmp ax, bp
jne 0x1122d40
xor eax, eax
jmp 0x1122d6b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
jne 0x1122d89
xor eax, eax
movzx ecx, word [eax + 0x11510f0]
mov word [eax + 0x1172170], cx
add eax, 2
cmp cx, bp
jne 0x1122d71
jmp 0x1122dc6
xor eax, eax
jmp 0x1122d90
movzx ecx, word [eax + 0x114afe0]
mov word [eax + 0x1172170], cx
add eax, 2
cmp cx, bp
jne 0x1122d90
jmp 0x1122dc6
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [eax + 0x114afe0]
mov word [eax + 0x1172170], cx
add eax, 2
cmp cx, bp
jne 0x1122db0
xor eax, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], eax
mov dword [esp + 0x3f4], eax
mov dword [esp + 0x3f8], eax
mov dword [esp + 0x3fc], eax
mov dword [esp + 0x400], eax
mov dword [esp + 0x404], eax
mov dword [esp + 0x408], eax
mov dword [esp + 0x40c], eax
mov dword [esp + 0x410], eax
cmp dword [0x11505b8], esi
jne 0x1122edc
cmp dword [0x1172068], esi
je 0x1122e6a
sub esp, 0x10
mov eax, esp
mov edx, 0x218
mov ecx, 0x104
mov dword [eax], ecx
mov dword [eax + 4], edx
lea esi, [edx - 0x60]
lea edi, [edx + 0x12]
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov eax, dword [0x117206c]
push 0x1172428
call fcn.011261e0
test eax, eax
je 0x1122edc
mov edx, dword [0x1172428]
push ebp
push ebp
push ebp
push ebp
push edx
jmp 0x1122e8a
call fcn.01121d10
test eax, eax
je 0x1122edc
mov ecx, 0x1161f68
call fcn.01121d30
test eax, eax
je 0x1122edc
push ebp
push ebp
push ebp
push ebp
push 0x1161f68
push 0x1172410
call fcn.01125260
mov ecx, 0x1172410
call fcn.011255d0
call fcn.01125670
mov edx, dword [0x1172410]
lea eax, [esp + 0x10]
call fcn.01124710
test eax, eax
je 0x1122edc
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
jl 0x1122edc
mov eax, dword [esp + 0x10]
jg 0x1122ec8
cmp eax, ebp
jbe 0x1122edc
push 0xa
lea edx, [esp + 0x3f0]
push edx
push ecx
push eax
call fcn.011351e7
add esp, 0x10
call ebx
mov cl, byte [0x114adc4]
mov dword [0x1172064], eax
mov eax, dword [0x114adc0]
mov dword [0x1161f68], eax
mov byte [0x1161f6c], cl
xor eax, eax
jmp 0x1122f00
movzx ecx, word [eax + 0x11720f0]
mov word [esp + eax + 0x3c], cx
add eax, 2
cmp cx, bp
jne 0x1122f00
xor eax, eax
jmp 0x1122f20
movzx ecx, word [eax + 0x1172170]
mov word [esp + eax + 0x78], cx
add eax, 2
cmp cx, bp
jne 0x1122f20
xor eax, eax
jmp 0x1122f40
movzx ecx, word [esp + eax + 0x3ec]
mov word [esp + eax + 0x1ba], cx
add eax, 2
cmp cx, bp
jne 0x1122f40
mov ecx, 0xf1
lea esi, [esp + 0x20]
mov edi, 0x1161f6c
rep movsd dword es:[edi], dword [esi]
push 1
movsw word es:[edi], word [esi]
push 0x1161f68
mov esi, 0x1172450
mov dword [0x11505c0], 0x3ca
call fcn.01126e00
jmp 0x112337c
cmp eax, 4
jne 0x112337c
call dword [0x1147138]
mov ecx, eax
mov eax, 0x3e8
cdq
idiv dword [0x1172054]
sub ecx, dword [0x1172064]
cmp ecx, eax
jbe 0x112337c
mov edx, dword [0x11721f8]
mov edi, dword [0x11721fc]
mov esi, dword [0x11721f0]
mov ebx, dword [0x11721f4]
mov eax, edx
mov ecx, edi
sub eax, esi
sub ecx, ebx
cmp dword [0x11505b8], 6
mov dword [esp + 0x14], ebp
jne 0x1122ff6
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 0x112305b
cmp dword [0x11505b8], 5
ja 0x1123042
cmp dword [0x1172068], 3
jne 0x1123042
mov edx, dword [0x114adc8]
mov al, byte [0x114adcc]
mov dword [0x1161f68], edx
mov byte [0x1161f6c], al
call fcn.01121d10
test eax, eax
je 0x112337c
mov ecx, 0x1161f6c
call fcn.01121d30
test eax, eax
je 0x112337c
jmp 0x11232e8
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 [0x117206c]
mov dword [edx + 0xc], ecx
push 0x1172428
call fcn.011261e0
test eax, eax
je 0x112337c
mov esi, dword [0x1172428]
test esi, esi
je 0x112337c
mov eax, dword [0x11505b8]
test eax, eax
jne 0x11230bc
push 0xd0
push 0x140
push eax
push 0x10e
push esi
push 0x1172410
call fcn.01125260
push 0x14
push 0
push 0xbc
push 0x140
push 0x21c
mov edx, 0x104
jmp 0x1123299
cmp eax, 1
jne 0x11230f7
push 0xd0
push 0x140
push 0
push 0x64
push esi
push 0x1172410
call fcn.01125260
push 0x14
push 0
push 0xbc
push 0x140
push 0x203
mov edx, 0xe6
jmp 0x1123299
cmp eax, 2
je 0x1123268
cmp eax, 3
je 0x1123268
cmp eax, 4
jne 0x1123164
push 0xad
push 0x140
push 6
push 0x10e
push esi
push 0x1172410
call fcn.01125260
push 0
push 0xf0
push 0x14
push 0x50
push 6
push esi
mov edx, 0x2a8
mov ebx, 0x1172410
call fcn.011253f0
push 0x14
push 0
push 0x9b
push 0x140
push 0x24e
mov edx, 0x14a
jmp 0x1123299
cmp eax, 5
jne 0x11231bf
push 0xd0
push 0x140
push 0
push 0x69
push esi
push 0x1172410
call fcn.01125260
push 0
push 0x8c
push 0x14
push 0xb4
push 0
push esi
mov edx, 0x1b3
mov ebx, 0x1172410
call fcn.011253f0
push 0x14
push 0
push 0xbc
push 0x140
push 0x1ea
mov edx, 0xe6
jmp 0x1123299
cmp eax, 6
jne 0x11231fa
push 0xdc
push 0x190
push 0
push 0x5a
push esi
push 0x1172410
call fcn.01125260
push 0x17
push 0
push 0xc5
push 0x190
push 0x226
mov edx, 0xfa
jmp 0x1123299
cmp eax, 9
jne 0x1123235
push 0xdc
push 0x172
push 0x1e
push 0x12c
push esi
push 0x1172410
call fcn.01125260
push 0x19
push 0
push 0xc3
push 0x172
push 0x203
mov edx, 0x14a
jmp 0x1123299
push 0xc8
push 0x154
push 0
push 0x78
push esi
push 0x1172410
call fcn.01125260
push 0x1e
push 0
push 0xaa
push 0x154
push 0x226
mov edx, 0x14a
jmp 0x1123299
push 0xbc
push 0x140
push 0
push 0x6e
push esi
push 0x1172410
call fcn.01125260
push 0x14
push 0
push 0xa8
push 0x140
push 0x186
mov edx, 0x82
push esi
mov ebx, 0x1172410
call fcn.011253f0
mov edx, dword [0x114adc8]
mov al, byte [0x114adcc]
mov ecx, dword [0x117205c]
push 0x11505c0
push 0x1161f6c
mov dword [0x1161f68], edx
mov edx, dword [0x1172414]
push ecx
mov byte [0x1161f6c], al
mov eax, dword [0x1172410]
push edx
push eax
call fcn.0112b640
add esp, 0x14
test eax, eax
jne 0x112337c
mov ecx, dword [0x11505c0]
dec ecx
cmp ecx, 0xfffa
ja 0x112337c
add dword [0x11505c0], 4
push 0
push 0x1161f68
mov esi, 0x1172450
call fcn.01126e00
test eax, eax
je 0x112337c
call dword [0x1147138]
mov dword [0x1172064], eax
jmp 0x112337c
mov dword [0x11721f0], ebp
mov dword [0x11721f4], ebp
mov dword [0x11721f8], ebp
mov dword [0x11721fc], ebp
jmp 0x112337c
mov dword [0x1171f68], ebp
call dword [0x1147138]
cmp dword [0x1172466], 3
mov dword [0x1172064], eax
jl 0x112337c
mov eax, dword [0x1172462]
cmp eax, ebp
je 0x1123372
push eax
call dword [fcn.01147268]
test eax, eax
jne 0x1123372
mov dword [0x1172462], ebp
mov dword [0x1172466], 1
xor eax, eax
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.01134936
add esp, 0x40c
ret