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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x13068120
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, dword [esp + 0x74]
xor ebx, ebx
mov ebp, ecx
cmp esi, ebx
jne 0x12ee49fd
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 4
mov eax, dword [ebp + 0x34]
cmp eax, ebx
je 0x12ee4a0d
push eax
call fcn.12f5bf80
add esp, 4
push esi
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x38], ebx
call fcn.12f5c44d
add esp, 4
test eax, eax
jbe 0x12ee4d8c
xor eax, eax
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
push 0x131911a8
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], ebx
call fcn.12f46a80
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 1
mov dword [esp + 0x14], ebx
call fcn.12f4cba0
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 2
push ecx
push 0x130c6c74
push esi
call fcn.12f53690
mov eax, dword [esp + 0x68]
add esp, 0xc
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x10], edi
jle 0x12ee4c77
mov edx, dword [esp + 0x58]
mov eax, dword [0x13198f68]
cmp eax, ebx
mov esi, dword [edx + edi*4]
je 0x12ee4aba
push esi
push 0x1315671c
push str.SCIRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
push 0x1315670c
call fcn.12f5c44d
push eax
push esi
push 0x1315670c
call fcn.12f5e2b3
add esp, 0x10
test eax, eax
jne 0x12ee4af6
push 0x1315670c
call fcn.12f5c44d
lea eax, [esi + eax*2]
push eax
call fcn.12f5d959
add esp, 8
mov dword [esp + 0x1c], eax
jmp 0x12ee4c53
push 0x13156700
call fcn.12f5c44d
push eax
push esi
push 0x13156700
call fcn.12f5e2b3
add esp, 0x10
test eax, eax
jne 0x12ee4bd8
lea ecx, [esp + 0x48]
call fcn.12f4cba0
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 3
push ecx
push 0x130c9048
push 0x13156700
call fcn.12f5c44d
add esp, 4
lea edx, [esi + eax*2]
push edx
call fcn.12f53690
mov eax, dword [esp + 0x58]
add esp, 0xc
xor edi, edi
cmp eax, ebx
jle 0x12ee4bb9
mov ecx, dword [esp + 0x48]
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], eax
lea edx, [esp + 0x38]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + edi*4]
push edx
push eax
call fcn.12ffec90
mov esi, dword [esp + 0x34]
add esp, 8
lea ecx, [esp + 0x28]
lea eax, [esi + 1]
push 0xffffffffffffffff
push eax
call fcn.12ee5ef0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
shl esi, 4
add esi, edx
inc edi
mov dword [esi], ecx
mov edx, dword [esp + 0x3c]
mov dword [esi + 4], edx
mov eax, dword [esp + 0x40]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x44]
mov dword [esi + 0xc], ecx
mov eax, dword [esp + 0x4c]
cmp edi, eax
jl 0x12ee4b52
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x48]
shl edx, 4
mov dword [esp + 0x20], edx
mov byte [esp + 0x70], 2
call fcn.12f4cbb0
mov edi, dword [esp + 0x10]
jmp 0x12ee4c53
push 0x13135cf8
call fcn.12f5c44d
push eax
push esi
push 0x13135cf8
call fcn.12f5e2b3
add esp, 0x10
test eax, eax
jne 0x12ee4c1c
push 0x13135cf8
call fcn.12f5c44d
add esp, 4
lea eax, [esi + eax*2]
lea ecx, [esp + 0x78]
push eax
call fcn.12f474a0
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx - 8]
mov dword [esp + 0x24], edx
jmp 0x12ee4c53
push 0x131566f4
call fcn.12f5c44d
push eax
push esi
push 0x131566f4
call fcn.12f5e2b3
add esp, 0x10
test eax, eax
jne 0x12ee4c53
push 0x131566f4
call fcn.12f5c44d
lea eax, [esi + eax*2]
push eax
call fcn.12f5d959
add esp, 8
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x5c]
inc edi
cmp edi, eax
mov dword [esp + 0x10], edi
jl 0x12ee4a95
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x12ee4c72
mov dword [ebp + 0x30], eax
jmp 0x12ee4cb4
cmp eax, 2
je 0x12ee4c7c
cmp dword [ebp + 0x30], ebx
je 0x12ee4cb1
call fcn.12d91a00
test eax, eax
je 0x12ee4cb1
mov ecx, ebp
call fcn.12ee5360
test eax, eax
je 0x12ee4cb1
lea esi, [ebp + 0x3c]
push 0x131566c8
push esi
call fcn.12f5c46a
add esp, 8
test eax, eax
je 0x12ee4cb1
push ebx
push 4
push esi
call fcn.12f84df0
add esp, 0xc
mov dword [ebp + 0x30], ebx
cmp dword [esp + 0x1c], 1
jne 0x12ee4d57
mov eax, dword [esp + 0x20]
cmp eax, ebx
jbe 0x12ee4d57
mov ecx, dword [esp + 0x24]
lea esi, [eax + ecx*2 + 0x13]
lea edx, [esi + 1]
push edx
call fcn.12f5bf8b
mov edi, eax
add esp, 4
cmp edi, ebx
mov dword [ebp + 0x34], edi
je 0x12ee4d57
mov ecx, esi
xor eax, eax
mov edx, ecx
mov dword [ebp + 0x38], 1
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x34]
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x24]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 0x34]
mov esi, dword [esp + 0x28]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
lea edi, [eax + edx*2 + 0x12]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp + 0x34]
mov edx, dword [esp + 0x78]
push ecx
add eax, 0x10
push edx
push eax
call fcn.12f5c4ab
add esp, 0xc
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 1
call fcn.12f4cbb0
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], bl
call fcn.12f47220
mov eax, dword [esp + 0x28]
mov dword [esp + 0x70], 0xffffffff
cmp eax, ebx
pop edi
je 0x12ee4d8c
push eax
call fcn.12f5bf80
add esp, 4
mov ecx, dword [esp + 0x64]
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 4