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

Disassembly:
sub esp, 0xc
push edi
mov edi, dword [esp + 0x14]
cmp dword [edi + 0xa8], 0x44695277
je 0x1519e
push 2
jmp 0x151d8
mov eax, dword [edi + 8]
cmp eax, 0x80000
ja 0x151d6
mov ecx, dword [edi + 4]
xor edx, edx
inc edx
cmp ecx, edx
jae 0x151b6
push 0xc
jmp 0x151d8
cmp ecx, 0x10
jbe 0x151bf
push 8
jmp 0x151d8
mov ecx, dword [edi + 0xa4]
cmp ecx, 0x1000
ja 0x151d6
cmp dword [edi + 0x1c], 0x80000000
jbe 0x151de
push 0xb
pop eax
jmp 0x158f6
add eax, 0x1ff
shr eax, 9
shl eax, 9
mov dword [edi + 8], eax
jne 0x151f5
mov dword [edi + 8], 0x200
push ebx
push ebp
xor ebp, ebp
cmp dword [edi + 0x3c], ebp
push esi
jne 0x15205
mov eax, dword [edi + 8]
mov dword [edi + 0x3c], eax
mov esi, dword [edi + 0x3c]
mov eax, 0x1ff
add esi, eax
shr esi, 9
shl esi, 9
mov dword [edi + 0x3c], esi
mov esi, dword [edi + 0xbc]
add esi, eax
shr esi, 9
shl esi, 9
cmp ecx, ebp
mov dword [edi + 0xbc], esi
jne 0x15236
mov dword [edi + 0xa4], edx
push 0x6000
push 0x22f40
call fcn.00010f98
mov esi, eax
cmp esi, ebp
jne 0x15253
push 3
pop eax
jmp 0x158f3
cmp dword [edi + 4], ebp
mov dword [esp + 0x20], ebp
jbe 0x152c1
lea eax, [edi + 0xc0]
lea ebp, [esi + 0xf8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ebx, dword [eax]
push ebx
mov dword [ebp - 0x40], ebx
call fcn.00013502
test eax, eax
mov dword [esp + 0x10], eax
je 0x1541e
mov dword [ebp], eax
mov ecx, dword [edi + 8]
cmp ecx, dword [eax + 0x78]
jbe 0x152aa
test ebx, 0x400000
je 0x1542d
cmp ecx, 0x180000
ja 0x1542d
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add dword [esp + 0x14], 4
add ebp, 4
cmp eax, dword [edi + 4]
jb 0x1526c
xor ebp, ebp
mov eax, dword [edi + 0x1c]
shr eax, 3
add eax, 0x101f
mov ebx, 0xfffff000
and eax, ebx
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x1c]
cmp eax, ebp
mov dword [esi + 0x54], eax
je 0x152f8
push dword [esi + 0x60]
push 0x22f40
call fcn.00010f98
cmp eax, ebp
mov dword [esi + 0x5c], eax
je 0x1541a
mov eax, dword [edi + 8]
add eax, 0xfff
and eax, ebx
add eax, 0x2000
mov dword [esi + 0x1138], eax
cmp dword [edi + 0x10], ebp
jne 0x15317
cmp dword [edi + 0x14], ebp
je 0x15322
add eax, 0x1000
mov dword [esi + 0x1138], eax
cmp dword [edi + 0xa4], ebp
mov dword [esp + 0x20], ebp
jbe 0x15410
lea eax, [esi + 0x1148]
mov dword [esp + 0x14], eax
push dword [esi + 0x1138]
push 0x22f40
call fcn.00010f98
mov ebp, eax
test ebp, ebp
je 0x15410
mov eax, dword [esp + 0x14]
mov dword [eax], ebp
mov ebx, ebp
add ebp, 0x2000
mov dword [ebx + 0x148], ebp
mov byte [ebp], 0x6b
mov byte [ebp + 1], 0x61
mov byte [ebp + 2], 0x69
mov byte [ebp + 3], 0x6c
mov byte [ebp + 4], 0x61
mov byte [ebp + 5], 0x73
mov byte [ebp + 6], 0x68
mov byte [ebp + 7], 0x20
mov eax, dword [edi + 8]
sub eax, 8
push eax
lea eax, [ebp + 8]
push eax
push ebp
call fcn.00010ee4
push ebx
push dword [esp + 0x14]
call fcn.00010536
push ebp
push dword [esp + 0x14]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
call fcn.00010512
mov dword [ebx + 0x64], eax
mov eax, dword [esi + 0x1138]
shr eax, 0xc
add ebp, 0x1000
add ebx, 0x188
sub eax, 3
je 0x153f1
mov dword [esp + 0x18], eax
push ebp
push dword [esp + 0x14]
call fcn.00010512
mov dword [ebx], eax
add ebx, 8
add ebp, 0x1000
dec dword [esp + 0x18]
jne 0x153d6
inc dword [esi + 0x113c]
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add dword [esp + 0x14], 4
cmp eax, dword [edi + 0xa4]
jb 0x1533c
xor ebx, ebx
cmp dword [esi + 0x113c], ebx
jne 0x15435
push 3
jmp 0x1542f
push esi
push 0
call fcn.00013574
push 8
jmp 0x1524d
push 0xb
pop edi
jmp 0x158e7
mov dword [esi], 0x44694f73
mov eax, dword [edi + 0x18]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0xb8]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x30]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x1140], eax
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x80]
mov dword [esi + 0x90], eax
mov eax, dword [edi + 0x84]
mov dword [esi + 0x94], eax
mov eax, dword [edi + 0xa4]
and cl, 1
mov dword [esi + 0x1144], eax
neg cl
mov eax, 0x100
sbb ecx, ecx
and ecx, eax
add ecx, eax
mov eax, dword [edi + 0xa0]
and eax, 0xfffffcff
or ecx, eax
mov dword [esi + 0x64], ecx
mov eax, dword [edi + 0x88]
mov dword [esi + 0x74], eax
mov ecx, dword [edi + 0x10]
mov eax, 0xfff
and ecx, eax
mov dword [esi + 0x78], ecx
mov ecx, dword [edi + 0x14]
and ecx, eax
mov dword [esi + 0x7c], ecx
mov eax, dword [edi + 8]
shr eax, 9
mov dword [esi + 8], eax
mov eax, dword [edi + 4]
mov dword [esi + 0xb0], eax
mov eax, dword [esi + 8]
imul eax, dword [edi + 4]
mov dword [esi + 0xb4], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x48], eax
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0xbc]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x88], eax
mov eax, 0x4b61496c
cmp dword [edi + 0x28], eax
jne 0x15521
cmp dword [0x1b470], 5
je 0x15523
xor eax, eax
push 0x22f38
mov dword [esi + 0x84], eax
call fcn.00010328
mov dword [esi + 0x68], ebx
mov dword [edi + 0x40], ebx
call fcn.0001099e
mov dword [esi + 0x6c], eax
mov dword [edi + 0x44], eax
cmp dword [esi + 0x113c], ebx
mov dword [esp + 0x14], ebx
jbe 0x15757
lea eax, [esi + 0x1148]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov ebp, dword [eax]
mov eax, dword [esp + 0x24]
mov dword [ebp + 0x80], eax
mov dword [ebp + 0x70], esi
mov eax, dword [esi + 0x78]
add dword [ebp + 0x148], eax
push esi
call fcn.00013492
xor ebx, ebx
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x10], 0x14e38
cmp dword [esi + 0x54], ebx
je 0x1559d
push esi
call fcn.000133e2
imul eax, dword [esi + 8]
jmp 0x155a0
mov eax, dword [esi + 0x10]
mov dword [ebp + 0x60], eax
cmp dword [esi + 0xb0], 1
jne 0x155bd
mov eax, dword [ebp + 0x68]
shr eax, 9
add dword [esi + 0x10], eax
test byte [esi + 0x64], 0x80
je 0x155d7
jmp 0x155d4
mov eax, dword [esi + 8]
add dword [esi + 0x10], eax
test byte [esi + 0x64], 0x80
mov eax, dword [esi + 0x10]
je 0x155d7
cmp eax, dword [esi + 0xb4]
jb 0x155d7
mov dword [esi + 0x10], ebx
mov ebx, dword [ebp + 0x60]
mov ecx, dword [esi + 8]
xor edx, edx
mov eax, ebx
div ecx
xor edx, edx
div dword [esi + 0xb0]
cmp dword [esi + 0xb0], 1
mov eax, ebx
mov ecx, edx
je 0x15604
xor edx, edx
div dword [esi + 0xb4]
imul eax, dword [esi + 8]
mov dword [ebp + 0x60], eax
mov eax, dword [esi + ecx*4 + 0xf8]
mov dword [ebp + 0x28], eax
mov eax, dword [esi + ecx*4 + 0xb8]
mov ecx, eax
shr ecx, 0x18
mov byte [ebp + 0x50], cl
mov ecx, eax
shr ecx, 0x10
mov byte [ebp + 0x51], cl
mov ecx, eax
mov dword [ebp + 0x84], eax
mov byte [ebp + 0x53], al
shr ecx, 8
mov byte [ebp + 0x52], cl
mov eax, dword [esi + 0x90]
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x68]
shr eax, 2
add dword [esi + 0x90], eax
mov eax, dword [esi + 0x78]
add eax, dword [esi + 0x7c]
inc dword [esi + 0xc]
dec dword [esi + 0x70]
and eax, 0xfff
push 0x22f38
mov dword [esi + 0x78], eax
call fcn.00010304
cmp dword [esi + 0x74], 0
jne 0x15678
test byte [esi + 0x67], 1
je 0x1569c
test byte [ebp + 0x80], 1
jne 0x1569c
mov eax, dword [ebp + 0x68]
shr eax, 2
push eax
push dword [esi + 0x94]
push dword [ebp + 0x4c]
push dword [ebp + 0x148]
call fcn.00010474
mov eax, dword [esi + 0x38]
add dword [ebp + 0x60], eax
mov ebx, 0x400000
test dword [ebp + 0x84], ebx
jne 0x15722
push ebp
call fcn.0001364c
test dword [ebp + 0x84], ebx
jne 0x15722
push ebp
call fcn.000136d6
test dword [ebp + 0x84], ebx
jne 0x15722
mov eax, dword [ebp + 0x28]
inc dword [eax + 0x140]
test byte [ebp + 0x80], 1
mov eax, dword [ebp + 0x28]
je 0x156f7
inc dword [eax + 0x170]
mov ecx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x28]
shr ecx, 9
add dword [eax + 0x174], ecx
jmp 0x1570c
inc dword [eax + 0x178]
mov ecx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x28]
shr ecx, 9
add dword [eax + 0x17c], ecx
test byte [ebp + 0x86], 0x80
push ebp
je 0x1571d
call fcn.000128d0
jmp 0x15722
call fcn.00018430
push 0x22f38
call fcn.00010328
test byte [esi + 4], 0xf
jne 0x15757
cmp dword [esi + 0x70], 0
je 0x15753
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
add dword [esp + 0x20], 4
cmp eax, dword [esi + 0x113c]
jb 0x1555e
jmp 0x15757
or dword [esi + 4], 1
xor ebp, ebp
xor eax, eax
cmp dword [eax*4 + 0x1f800], ebp
je 0x1576e
inc eax
cmp eax, 0x80
jb 0x1575b
jmp 0x15775
mov dword [eax*4 + 0x1f800], esi
cmp dword [esi + 0x84], ebp
je 0x157d0
push 0x22f38
call fcn.00010304
mov ebx, dword [str.lltV5CdYHfNo1GnitiD2p8K2IKE9N3YNFIBZ_n32cPoBwXsCpXX9_QhxLFGjgqERD3atoP7E3boMfiDvSNCj5ZbVeQnWB3zaNRp4rYg9qfCtiChPTd2DRCVhf10Gi3DFgy9zc6nwg30IcSxRo4KhNL039MEqfmUZ3PUn9_aLaWW1XkJ1gd82jUaeK2IPanwrYgoT03dg2ALg2OABjMojBJbDh6DghAlwhyIAKG0njDE7z21ED9g5L8Wsi3SzLcaEL2jyjDjsPE11tfS0Tww5oIUziHs0En4CCAmgAD13JEKUOoWvyemygXV6ce8oojpe_BuiiYgnVqzVQL0pyRAEevXmZKDTHBrqHGFJbLf0thQFkhZ2sOaQ_xJHB1cj4KhaZLq1x3_B99XyIbzYv30xkTcdUxr2Bqrz_aXxoUceYhJmY0TTov0rx_29bpxkAScZVU8mAXwj1JX12c85imGcgXDfQdb8LnySHDKrDkxsYeU4EGOraUJEdakInu]
call ebx
mov ecx, dword [0x1b464]
mov ebp, dword [0x1b184]
movzx eax, al
cmp eax, ecx
jae 0x157ab
call ebp
jmp 0x157ab
call fcn.00010390
cmp dword [esi + 0xc], 0
jne 0x157a6
call ebx
mov ecx, dword [0x1b464]
movzx eax, al
cmp eax, ecx
jae 0x157c2
call ebp
push 0x22f38
call fcn.00010328
xor ebp, ebp
jmp 0x157f9
cmp dword [esi + 0xc], ebp
je 0x157f9
lea ebx, [esi + 0x80]
mov eax, dword [esi + 4]
shr eax, 1
not eax
and eax, 1
push eax
push ebx
call fcn.00010a9e
test eax, eax
je 0x157f4
or dword [esi + 4], 2
cmp dword [esi + 0xc], ebp
jne 0x157db
mov dword [edi + 0x48], ebp
call fcn.0001099e
mov dword [edi + 0x4c], eax
xor ecx, ecx
lea eax, [ecx + 0x1f800]
cmp dword [eax], esi
jne 0x15812
mov dword [eax], ebp
add ecx, 4
cmp ecx, 0x200
jb 0x15806
push 0x22f38
call fcn.00010304
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x54], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0xb0], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0xb4], eax
mov eax, dword [esi + 0x70]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x58]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x5c], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0xb8], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x9c]
mov dword [edi + 0x8c], eax
mov eax, dword [esi + 0xa0]
mov dword [edi + 0x90], eax
mov eax, dword [esi + 0xa4]
mov dword [edi + 0x94], eax
mov eax, dword [esi + 0xa8]
mov dword [edi + 0x98], eax
mov eax, dword [esi + 0xac]
mov dword [edi + 0x9c], eax
cmp dword [esi + 0x84], ebp
je 0x158cf
push 0x20000000
push 0x1000
push dword [edi + 0x24]
lea eax, [esi + 0x138]
push eax
call fcn.000109e4
test byte [esi + 4], 2
je 0x158e5
push 0x140
push 0x39ba0
push edi
call fcn.00010ee4
xor edi, edi
push esi
push dword [esp + 0x14]
call fcn.00013574
mov eax, edi
pop esi
pop ebp
pop ebx
pop edi
add esp, 0xc
ret 8