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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x130683c0
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [esp + 0x50]
push ebx
push ebp
mov ebp, dword [esp + 0x54]
push esi
push edi
xor edi, edi
test ebp, ebp
mov esi, ecx
je 0x12ee6e51
cmp eax, 0xc
jb 0x12ee6e51
mov eax, dword [ebp + 8]
xor ebx, ebx
test eax, eax
lea edi, [ebp + 0xc]
jbe 0x12ee68a6
mov ax, word [edi + 0x18]
push 1
push eax
lea ecx, [esp + 0x64]
call fcn.12f46c50
mov eax, dword [0x13198f68]
mov dword [esp + 0x54], 0
test eax, eax
je 0x12ee6887
mov ecx, dword [edi]
mov edx, dword [esp + 0x5c]
push ecx
push edx
push 0xc5
push 0x13157760
push 0x13157738
push 4
call fcn.12dad750
add esp, 0x18
lea ecx, [esp + 0x5c]
mov dword [esp + 0x54], 0xffffffff
call fcn.12f47220
mov eax, dword [ebp + 8]
inc ebx
add edi, 0x52c
cmp ebx, eax
jb 0x12ee6845
mov eax, dword [0x13198f68]
mov edi, dword [esi + 8]
test eax, eax
je 0x12ee68cc
push edi
push 0xdc
push 0x13157660
push 0x1315762c
push 4
call fcn.12dad750
add esp, 0x14
push edi
push ebp
mov ecx, esi
call fcn.12ee6e90
test eax, eax
jne 0x12ee6acc
lea ecx, [esp + 0x2c]
call fcn.12f4cba0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x5c], 1
call fcn.12f4cc10
lea eax, [esp + 0x2c]
push edi
push eax
push ebp
mov ecx, esi
call fcn.12ee7000
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.12ee7570
lea edx, [esi + 0x14]
push 1
push edx
lea ecx, [esp + 0x18]
call fcn.12f560a0
lea ebp, [esi + 0x94]
push 0xffffffffffffffff
push 0
mov ecx, ebp
mov byte [esp + 0x5c], 2
call fcn.12f4cc10
lea eax, [esp + 0x2c]
mov ecx, ebp
push eax
call fcn.12f4cdf0
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ee696f
mov eax, dword [esi + 0x98]
push eax
push 0xfa
push 0x131575c0
push 0x13157598
push 4
call fcn.12dad750
add esp, 0x14
mov eax, dword [esi + 0x98]
xor edi, edi
test eax, eax
jle 0x12ee69ab
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ee69a0
mov ecx, dword [ebp]
mov edx, dword [ecx + edi*4]
push edx
push edi
push 0x13157534
push 0x13157598
push 4
call fcn.12dad750
add esp, 0x14
mov eax, dword [esi + 0x98]
inc edi
cmp edi, eax
jl 0x12ee697b
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 1
call fcn.12f56100
lea eax, [esi + 0x34]
push 1
push eax
lea ecx, [esp + 0x18]
call fcn.12f560a0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x74]
mov byte [esp + 0x5c], 3
call fcn.12f4cc10
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ee69ff
mov eax, dword [esi + 0x78]
push eax
push 0x107
push 0x131574c4
push 0x13157598
push 4
call fcn.12dad750
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 1
call fcn.12f56100
lea ecx, [esi + 0x54]
push 1
push ecx
lea ecx, [esp + 0x18]
call fcn.12f560a0
lea ebp, [esi + 0x84]
push 0xffffffffffffffff
push 0
mov ecx, ebp
mov byte [esp + 0x5c], 4
call fcn.12f4cc10
lea edx, [esp + 0x2c]
mov ecx, ebp
push edx
call fcn.12f4cdf0
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ee6a67
mov eax, dword [esi + 0x88]
push eax
push 0x110
push 0x13157454
push 0x13157598
push 4
call fcn.12dad750
add esp, 0x14
mov eax, dword [esi + 0x88]
xor edi, edi
test eax, eax
jle 0x12ee6aa3
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ee6a98
mov eax, dword [ebp]
mov ecx, dword [eax + edi*4]
push ecx
push edi
push 0x131573ec
push 0x13157598
push 4
call fcn.12dad750
add esp, 0x14
mov eax, dword [esi + 0x88]
inc edi
cmp edi, eax
jl 0x12ee6a73
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 1
call fcn.12f56100
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 0xffffffff
call fcn.12f4cbb0
mov eax, 1
jmp 0x12ee6e78
lea ecx, [esp + 0x2c]
call fcn.12f4cba0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x5c], 5
call fcn.12f4cc10
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ee6b0d
push edi
push 0x121
push 0x1315731c
push 0x1315762c
push 4
call fcn.12dad750
add esp, 0x14
lea edx, [esp + 0x2c]
push edi
push edx
push ebp
mov ecx, esi
call fcn.12ee6ed0
lea ecx, [esp + 0x1c]
call fcn.12f4cba0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 6
call fcn.12f4cc10
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ee6b59
push edi
push 0x12c
push 0x1315724c
push 0x1315762c
push 4
call fcn.12dad750
add esp, 0x14
lea eax, [esp + 0x1c]
push edi
push eax
push ebp
mov ecx, esi
call fcn.12ee7000
lea ecx, [esp + 0x3c]
call fcn.12f4cba0
mov bl, 7
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0x5c], bl
call fcn.12f4cc10
mov eax, dword [esp + 0x20]
xor edi, edi
test eax, eax
jle 0x12ee6c01
push edi
lea ecx, [esp + 0x20]
call fcn.12e1e4f0
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
call fcn.12f46820
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], bl
push ecx
mov ecx, esi
call fcn.12ee7130
test eax, eax
jne 0x12ee6bf8
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
lea eax, [edx + edi*4]
push eax
mov eax, dword [esp + 0x44]
push eax
call fcn.12f4d1b0
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ee6bf8
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + edi*4]
push edx
push 0x13b
push 0x131571d4
push 0x1314ab94
push 4
call fcn.12dad750
add esp, 0x14
mov eax, dword [esp + 0x20]
inc edi
cmp edi, eax
jl 0x12ee6b8d
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x24]
call fcn.12f4cc10
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x1c]
push eax
call fcn.12f4cf30
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.12ee7570
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
call fcn.12ee7570
lea eax, [esi + 0x14]
push 1
push eax
lea ecx, [esp + 0x18]
call fcn.12f560a0
lea ebp, [esi + 0x94]
push 0xffffffffffffffff
push 0
mov ecx, ebp
mov byte [esp + 0x5c], 9
call fcn.12f4cc10
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.12f4cdf0
lea edx, [esp + 0x1c]
mov ecx, ebp
push edx
call fcn.12f4cdf0
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ee6c9a
mov eax, dword [esi + 0x98]
push eax
push 0x16c
push 0x131575c0
push 0x13157598
push 4
call fcn.12dad750
add esp, 0x14
mov eax, dword [esi + 0x98]
xor edi, edi
test eax, eax
jle 0x12ee6cd6
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ee6ccb
mov eax, dword [ebp]
mov ecx, dword [eax + edi*4]
push ecx
push edi
push 0x13157534
push 0x13157598
push 4
call fcn.12dad750
add esp, 0x14
mov eax, dword [esi + 0x98]
inc edi
cmp edi, eax
jl 0x12ee6ca6
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], bl
call fcn.12f56100
lea edx, [esi + 0x34]
push 1
push edx
lea ecx, [esp + 0x18]
call fcn.12f560a0
lea ebp, [esi + 0x74]
push 0xffffffffffffffff
push 0
mov ecx, ebp
mov byte [esp + 0x5c], 0xa
call fcn.12f4cc10
lea eax, [esp + 0x2c]
mov ecx, ebp
push eax
call fcn.12f4cdf0
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ee6d37
mov eax, dword [esi + 0x78]
push eax
push 0x17a
push 0x131574c4
push 0x13157598
push 4
call fcn.12dad750
add esp, 0x14
mov eax, dword [esi + 0x78]
xor edi, edi
test eax, eax
jle 0x12ee6d6d
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ee6d65
mov ecx, dword [ebp]
mov edx, dword [ecx + edi*4]
push edx
push edi
push 0x1315716c
push 0x13157598
push 4
call fcn.12dad750
add esp, 0x14
mov eax, dword [esi + 0x78]
inc edi
cmp edi, eax
jl 0x12ee6d40
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], bl
call fcn.12f56100
lea eax, [esi + 0x54]
push 1
push eax
lea ecx, [esp + 0x18]
call fcn.12f560a0
lea ebp, [esi + 0x84]
push 0xffffffffffffffff
push 0
mov ecx, ebp
mov byte [esp + 0x5c], 0xb
call fcn.12f4cc10
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.12f4cdf0
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ee6dd4
mov eax, dword [esi + 0x88]
push eax
push 0x188
push 0x13157454
push 0x13157598
push 4
call fcn.12dad750
add esp, 0x14
mov eax, dword [esi + 0x88]
xor edi, edi
test eax, eax
jle 0x12ee6e10
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ee6e05
mov edx, dword [ebp]
mov eax, dword [edx + edi*4]
push eax
push edi
push 0x131573ec
push 0x13157598
push 4
call fcn.12dad750
add esp, 0x14
mov eax, dword [esi + 0x88]
inc edi
cmp edi, eax
jl 0x12ee6de0
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], bl
call fcn.12f56100
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 6
call fcn.12f4cbb0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 5
call fcn.12f4cbb0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 0xffffffff
call fcn.12f4cbb0
mov eax, 1
jmp 0x12ee6e78
mov ecx, dword [0x13198f68]
test ecx, ecx
je 0x12ee6e76
push eax
push ebp
push 0xb4
push 0x131570dc
push 0x1314ab94
push 4
call fcn.12dad750
add esp, 0x18
mov eax, edi
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret 8