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

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
call fcn.004067c0
mov edi, dword [esi + 0x78]
push 1
and edi, 0xfffffdff
push 0
mov edx, edi
mov dword [esi + 0x78], edi
and dh, 0xfb
mov dword [esi + 0x78], edx
mov eax, dword [0x72d944]
mov ecx, dword [eax + 0x18]
call fcn.00453ec0
mov ecx, dword [0x72d944]
push 0x70d1e0
mov edi, dword [ecx + 0x18]
mov ecx, edi
call fcn.00454000
mov byte [esp + 8], al
mov eax, dword [esp + 8]
and eax, 0xff
cmp eax, 0xffffffff
je 0x5091ee
mov edx, dword [edi + 0x40]
mov eax, dword [edx + eax*4]
jmp 0x5091f0
xor eax, eax
mov dword [esi + 0x190], eax
mov eax, dword [0x72d944]
push 0
mov ecx, dword [eax + 0x6c]
call fcn.0047b5a0
mov ecx, dword [0x72d944]
push 0
mov ecx, dword [ecx + 0x80]
mov edx, dword [ecx]
call dword [edx + 0x94]
mov eax, dword [0x72d944]
push 0
mov ecx, dword [eax + 0x7c]
mov edx, dword [ecx]
call dword [edx + 0x90]
mov eax, dword [0x72d944]
push 1
mov ecx, dword [eax + 0x3c]
call fcn.0043dfd0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xcc]
test eax, eax
mov eax, dword [0x72d944]
mov ecx, dword [eax + 0x1c]
je 0x509269
mov edi, dword [ecx + 4]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xcc]
push eax
mov ecx, edi
call fcn.00455ee0
jmp 0x509273
mov ecx, dword [ecx + 4]
push 1
call fcn.00455f00
mov edx, dword [0x72d944]
push 1
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + 4]
call fcn.00455f20
mov ecx, esi
call fcn.0050a660
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1f4]
and eax, 0xff
mov edi, eax
je 0x5092c9
mov eax, dword [esi]
mov ecx, esi
dec edi
call dword [eax + 0x1f8]
cmp dword [eax + edi*4], 0
je 0x5092c5
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1f8]
mov eax, dword [eax + edi*4]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x6c]
test edi, edi
jne 0x5092a0
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x1ec]
mov edx, dword [esi]
mov bl, al
mov ecx, esi
mov byte [esp + 0xc], bl
call dword [edx + 0x1f0]
mov byte [esi + 0x1c4], al
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esi + 0x1ac]
call fcn.005094c0
mov dword [esi + 0x1c0], 0
mov ecx, dword [esi + 0x1c0]
mov byte [esi + ecx + 0x1b8], bl
mov edx, dword [esi + 0x1c0]
inc edx
mov ecx, esi
mov dword [esi + 0x1c0], edx
mov edx, dword [esi]
call dword [edx + 0x1fc]
and eax, 0xff
mov edi, eax
je 0x50935a
mov eax, dword [esi]
mov ecx, esi
dec edi
call dword [eax + 0x200]
cmp dword [eax + edi*4], 0
je 0x509356
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x200]
mov eax, dword [eax + edi*4]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x6c]
test edi, edi
jne 0x509331
mov ebx, dword [esi + 0x78]
and bh, 0xfe
mov edi, ebx
mov dword [esi + 0x78], ebx
and edi, 0xffffff7f
mov dword [esi + 0x78], edi
mov ecx, dword [esi + 0x80]
mov dword [esi + 0x1c8], 0x7f7fffff
call fcn.00414980
mov ecx, dword [esi + 0x180]
pop ebx
test ecx, ecx
je 0x509442
cmp ecx, eax
jne 0x509442
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x188]
mov eax, dword [esi + 0x1a4]
test eax, eax
mov al, byte [esi + 0x19d]
jne 0x5093fd
cmp al, 0xff
je 0x5093d2
mov edx, dword [esi + 0x198]
mov ecx, dword [esi + 0x194]
and eax, 0xff
push 0
push 2
call dword [edx + eax*4]
mov al, byte [esi + 0x19d]
mov edx, dword [esi + 0x198]
mov ecx, dword [esi + 0x194]
mov byte [esp + 8], al
mov eax, dword [esp + 8]
mov byte [esi + 0x19d], 0
push eax
push 1
call dword [edx]
jmp 0x509499
cmp al, 0xff
je 0x509419
mov edx, dword [esi + 0x198]
mov ecx, dword [esi + 0x194]
and eax, 0xff
push 5
push 2
call dword [edx + eax*4]
mov al, byte [esi + 0x19d]
mov edx, dword [esi + 0x198]
mov ecx, dword [esi + 0x194]
mov byte [esp + 8], al
mov eax, dword [esp + 8]
mov byte [esi + 0x19d], 5
push eax
push 1
call dword [edx + 0x14]
jmp 0x509499
mov al, byte [esi + 0x19d]
cmp al, 0xff
je 0x509464
mov edx, dword [esi + 0x198]
mov ecx, dword [esi + 0x194]
and eax, 0xff
push 6
push 2
call dword [edx + eax*4]
mov al, byte [esi + 0x19d]
mov edx, dword [esi + 0x198]
mov ecx, dword [esi + 0x194]
mov byte [esp + 8], al
mov eax, dword [esp + 8]
mov byte [esi + 0x19d], 6
push eax
push 1
call dword [edx + 0x18]
push 0
push 0x3f800000
mov ecx, esi
call fcn.00509510
lea edx, [esi + 0x338]
xor ecx, ecx
xor eax, eax
add esi, 0x340
mov dword [edx], ecx
pop edi
mov dword [edx + 4], ecx
mov dword [esi], eax
mov dword [esi + 4], eax
pop esi
pop ecx
ret