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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [ecx + 0x1b8]
or dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
push ebx
push esi
mov ebx, edx
mov dword [esp + 0x1c], ecx
test byte [eax + 0x44], 1
push edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], eax
jne 0x181207d2
imul edx, dword [ebp + 8], 0x50
mov edi, dword [ebx + 0x1c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], edx
mov ecx, dword [edx + edi + 0x1c]
mov eax, dword [edx + edi + 0x38]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0x38]
mov esi, dword [ecx + 0x1c]
test eax, eax
je 0x18120360
cmp dword [ebx + 0x38], 0
jne 0x181207d2
cmp dword [eax + 0x10], 0
jne 0x181207d2
test dword [ebx + 8], 0x100
je 0x18120371
test eax, eax
jne 0x181207d2
cmp dword [esi], 0
je 0x181207d2
test byte [ecx + 8], 1
jne 0x181207d2
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x1812039c
cmp dword [edi], 1
jg 0x181207d2
test esi, esi
jne 0x181207d2
cmp dword [ebx + 0x2c], 0
je 0x181203ac
cmp dword [ecx + 0x2c], 0
jne 0x181207d2
test esi, esi
je 0x181203ba
cmp dword [ecx + 0x2c], 0
jne 0x181207d2
test eax, eax
je 0x181203d3
xor eax, eax
cmp dword [ebx + 0x20], eax
jne 0x181207d2
test byte [ebx + 8], 1
jne 0x181207d2
test dword [ecx + 8], 0x2000
jne 0x181207d2
test byte [edx + edi + 0x2c], 0x20
je 0x1812040f
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x28], 1
cmp dword [eax], 1
jg 0x181207d2
test esi, esi
jne 0x181207d2
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x38], esi
jne 0x181207d2
lea eax, [ecx + 0x30]
cmp dword [eax], 0
mov dword [esp + 0x34], eax
je 0x18120497
xor eax, eax
cmp dword [ecx + 0x2c], eax
jne 0x181207d2
test esi, esi
jne 0x181207d2
test byte [ebx + 8], 1
jne 0x181207d2
cmp dword [edi], 1
jne 0x181207d2
test byte [ecx + 8], 9
jne 0x181207d2
mov esi, dword [ecx + 0x30]
test esi, esi
je 0x1812045c
cmp byte [ecx + 4], 0x74
jne 0x181207d2
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 1
jl 0x181207d2
mov ecx, esi
test ecx, ecx
jne 0x18120441
mov esi, dword [ebx + 0x2c]
test esi, esi
je 0x18120497
xor eax, eax
mov ecx, eax
cmp dword [esi], eax
jle 0x18120497
lea eax, [esi + 0x18]
xor edx, edx
cmp word [eax], dx
mov edx, dword [esp + 0x18]
je 0x181207d2
inc ecx
add eax, 0x18
cmp ecx, dword [esi]
jl 0x18120480
mov esi, dword [esp + 0x20]
mov ecx, esi
mov eax, dword [edx + edi + 0x10]
mov dword [esi + 0x1b8], eax
xor eax, eax
push eax
push eax
push eax
push 0x15
pop edx
call fcn.1810d188
mov eax, dword [esp + 0x48]
add esp, 0xc
mov dword [esi + 0x1b8], eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
jmp 0x18120533
mov eax, dword [ebx + 0x30]
mov edx, ebx
mov edi, dword [ebx + 0x2c]
mov esi, dword [ebx + 0x38]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
xor eax, eax
push eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x38], eax
call fcn.1810701c
pop ecx
mov ecx, eax
mov dword [ebx + 0x2c], edi
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x1c], edi
mov byte [ebx + 4], 0x74
test ecx, ecx
je 0x1812051b
mov dword [ecx + 0x30], eax
test eax, eax
je 0x18120516
mov dword [eax + 0x34], ecx
mov dword [ecx + 0x34], ebx
mov eax, ecx
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x49], 0
jne 0x181207cd
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x181204c9
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + edi + 0x1c]
mov esi, ecx
mov edx, dword [eax + edi + 0xc]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], esi
test edx, edx
je 0x18120562
mov ecx, dword [esp + 0x14]
call fcn.180dfba4
mov eax, dword [esp + 0x18]
mov edx, dword [eax + edi + 0x10]
test edx, edx
je 0x18120577
mov ecx, dword [esp + 0x14]
call fcn.180dfba4
mov eax, dword [esp + 0x18]
mov edx, dword [eax + edi + 0x14]
test edx, edx
je 0x1812058c
mov ecx, dword [esp + 0x14]
call fcn.180dfba4
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [eax + edi + 0xc], ecx
mov dword [eax + edi + 0x10], ecx
mov dword [eax + edi + 0x14], ecx
mov dword [eax + edi + 0x1c], ecx
mov ecx, dword [eax + edi + 0x18]
test ecx, ecx
je 0x181205dc
mov eax, dword [ecx + 0x20]
cmp eax, 1
jne 0x181205cc
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x78]
test edx, edx
jne 0x181205bb
mov edx, eax
mov eax, dword [edx + 0x1c8]
mov dword [ecx + 0x4c], eax
mov dword [edx + 0x1c8], ecx
jmp 0x181205d0
dec eax
mov dword [ecx + 0x20], eax
mov edx, dword [esp + 0x18]
xor eax, eax
mov dword [edx + edi + 0x18], eax
jmp 0x181205e2
mov edx, dword [esp + 0x18]
xor eax, eax
mov ecx, dword [ebx + 0x1c]
mov byte [esp + 0x13], al
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], ecx
mov edi, dword [eax]
mov dword [esp + 0x40], edi
test ecx, ecx
je 0x1812060c
mov eax, dword [esp + 0x30]
mov al, byte [edx + eax + 0x2c]
mov byte [esp + 0x13], al
jmp 0x1812062e
mov ecx, dword [esp + 0x14]
xor eax, eax
push eax
push eax
xor edx, edx
call fcn.1811110e
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x1c], ecx
mov dword [ebx + 0x1c], ecx
test ecx, ecx
je 0x181207b7
cmp edi, 1
jle 0x18120660
mov eax, dword [ebp + 8]
mov edx, ecx
mov ecx, dword [esp + 0x14]
inc eax
push eax
lea eax, [edi - 1]
push eax
call fcn.18111029
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x1c], ecx
mov dword [esp + 0x1c], ecx
cmp byte [eax + 0x49], 0
jne 0x181207b3
test edi, edi
jle 0x181206cd
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
add esi, 8
mov ebx, dword [esp + 0x40]
add edi, 8
add edi, ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], edi
mov edx, dword [edi + 0x38]
mov ecx, dword [esp + 0x14]
call fcn.18110fa6
push 0x14
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x34]
push 0x50
mov eax, dword [esi + 0x30]
mov dword [esp + 0x28], eax
xor eax, eax
push eax
push esi
call fcn.181620e0
mov edi, dword [esp + 0x38]
add esi, 0x50
add edi, 0x50
mov dword [esp + 0x40], esi
add esp, 0xc
mov dword [esp + 0x2c], edi
sub ebx, 1
jne 0x18120680
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dl, byte [esp + 0x13]
mov byte [eax + ecx + 0x2c], dl
xor ecx, ecx
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x18120700
mov edx, ecx
cmp dword [eax], ecx
jle 0x181206fa
lea ecx, [eax + 0x18]
xor edi, edi
inc edx
mov word [ecx], di
lea ecx, [ecx + 0x18]
cmp edx, dword [eax]
jl 0x181206eb
xor ecx, ecx
mov dword [ebx + 0x2c], eax
mov dword [esi + 0x2c], ecx
mov edx, dword [esi + 0x20]
test edx, edx
je 0x18120718
push ecx
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.18106a28
pop ecx
pop ecx
mov edi, eax
jmp 0x1812071a
mov edi, ecx
cmp dword [esp + 0x28], 0
jbe 0x1812072c
mov edx, dword [esp + 0x24]
mov ecx, edi
call fcn.1811d042
push dword [ebx + 0x20]
mov edx, edi
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.181066d0
mov dword [ebx + 0x20], eax
cmp byte [edi + 0x49], 0
pop ecx
jne 0x1812077b
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], eax
mov edx, ebx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x58], eax
mov eax, dword [esi]
mov dword [esp + 0x5c], eax
xor eax, eax
push eax
call fcn.18120251
pop ecx
mov eax, dword [esi + 8]
and eax, 1
or dword [ebx + 8], eax
mov eax, dword [esi + 0x38]
test eax, eax
je 0x18120795
mov dword [ebx + 0x38], eax
xor eax, eax
mov dword [esi + 0x38], eax
jmp 0x18120797
xor eax, eax
mov ebx, dword [ebx + 0x30]
mov esi, dword [esi + 0x30]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], esi
test ebx, ebx
jne 0x181205e2
jmp 0x181207bb
mov edi, eax
jmp 0x181207bb
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
test edx, edx
je 0x181207cd
push 1
mov ecx, edi
call fcn.1811ccbd
pop ecx
xor eax, eax
inc eax
jmp 0x181207d4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret